Commit Graph

26 Commits

Author SHA1 Message Date
dependabot[bot] 9bdf169845
Bump lodash from 4.17.14 to 4.17.19 in /src/paymentservice (#371) 2020-10-05 23:46:55 +00:00
Daniel Sanche c4d86703c5
Add licenses (#367) 2020-07-15 11:56:37 -07:00
dependabot[bot] 42651b5d6e
Bump https-proxy-agent from 2.2.2 to 2.2.4 in /src/paymentservice (#325)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-16 17:46:37 -07:00
Ben Wells a95997be94 Remove deps files from node paymentservice (#252) 2019-10-16 13:45:55 -07:00
Megan O'Keefe bb41c7fe02
Updates stackdriver agents for node.js services (#236) 2019-07-11 11:47:31 -04:00
Abhilash Gnan 55f5061532 Use env in service manifests for PORT (#212)
* fix shipping service ports

* fix product catalog servicde ports

* fix paymentservice ports

* fix currenservice ports

* fix checkoutservice ports

* fix emailservice ports

* fix frontend app ports

* fix recommendationservice ports

* fix indentation in service yaml files
2019-05-08 19:39:14 -07:00
Ahmet Alp Balkan 3b6d3864a0
grpc: bump health-probe to v0.2.0 (#71)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-10-09 15:54:55 -07:00
Yoshi Yamaguchi 7f40378ecc log: change log format to JSON payload for better log in Stackdriver (#66)
change the log format in Python and Node.js services.

Effected services are currencyservice, emailservice, paymentservice,
and recommendationservice. Loadgenerator is left as is because of
the diffculty to change the log format and log target in locust.

ref. #47
2018-10-05 11:23:45 -07:00
sebright dc7effd601 adservice: find relevant ads by category (#61)
The ad service now returns ads matching the categories of the product that is
currently displayed.  Changes in this commit:

- List all products' categories in products.json.

- Pass the current product's categories from the frontend to the ad service when
  looking up ads.

- Store a statically initialized multimap from product category to ad in the ad
  service.

- Return all ads matching the given categories when handling an ads request.
  The ad service continues to return random ads when no categories are given or
  no ads match the categories.
2018-10-01 22:44:56 -07:00
Colin Nelson 7ced638e2f paymentservice: Docker image size optimization (#53)
Reduced docker image size to ~153MB (was ~781MB). 
* Uses alpine linux and multi stage builds. 
* Changed `CMD` to `ENTRYPOINT`
2018-09-26 10:58:33 -07:00
Ace Nassri 6c37a96f3a Add health checks to Node.js services (#26)
* Move Node healthchecks to gRPC

* gitignore proto files

* Switch to standard health RPC

* Fix lint

* Update client.js

* Add protos back + update them

* node services: fix & run genproto.sh

this gets currencyservice to work but paymentservice is still crashing
in the docker container.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Fix docker breaking

* update dockerfiles with released health probe

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-09-19 12:35:22 -07:00
Ahmet Alp Balkan 4572974c88
use dep to lock Go dependencies (without vendor/)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-30 19:18:05 -07:00
Ahmet Alp Balkan d0128060e4
Add LICENSE headers to source files
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 09:54:28 -07:00
morganmclean bfb740c079 Fixed Debugger config for node services 2018-07-17 15:04:25 -07:00
morganmclean 99ce1f84c2 Instrumented everything but Python 2018-07-16 14:29:14 -07:00
morganmclean 59430d5854 Added node.js tracing 2018-07-11 15:19:17 -07:00
Ahmet Alp Balkan ddfa0bf0c6 paymentservice: money proto migration
the logs will reflect full nanos representation, I'm not sure how to
divide this by 10000000 and left pad a zero (%02d).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan 9deb87d62f remove unused .gitkeep
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 22:35:54 -07:00
Ahmet Alp Balkan 1c00f04e1e paymentservice: check in proto/
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 22:33:38 -07:00
Jonathan Lui d37c0841ce return v4 uuid for paymentservice 2018-06-21 15:04:37 -07:00
Jonathan Lui cb6a105b51 PaymentService: use genproto.sh to cp proto to paymentservice 2018-06-21 14:40:14 -07:00
Jonathan Lui 47669a51f7 copy over proto into payment-service; add Dockerfile and .dockerignore node_modules 2018-06-21 13:02:41 -07:00
Jonathan Lui 88ac6d8fc1 more validation on credit card info; change smoke test for payment service to have a valid credit card 2018-06-21 12:48:53 -07:00
Jonathan Lui c7e7692057 indents 2018-06-21 11:19:28 -07:00
Jonathan Lui 7a6edd751d finish up PaymentService 2018-06-21 10:52:34 -07:00
Jonathan Lui c4c7799f25 create src/paymentservice dir 2018-06-13 15:00:54 -07:00