Commit Graph

32 Commits

Author SHA1 Message Date
dependabot[bot] 27bbcfd089
Bump lodash from 4.17.14 to 4.17.19 in /src/currencyservice (#370) 2020-10-05 23:47:09 +00:00
Daniel Sanche c4d86703c5
Add licenses (#367) 2020-07-15 11:56:37 -07:00
dependabot[bot] 5aa38ad5d6
Bump https-proxy-agent from 2.2.2 to 2.2.4 in /src/currencyservice (#326)
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:47:13 -07:00
dependabot[bot] f948037ac6
Bump extend from 3.0.1 to 3.0.2 in /src/currencyservice (#312) 2020-04-08 15:29:04 -07:00
Megan O'Keefe 90f9287f3a
Adds option to disable Stackdriver Export (#293) 2020-02-20 15:26:44 -05:00
Megan O'Keefe bb41c7fe02
Updates stackdriver agents for node.js services (#236) 2019-07-11 11:47:31 -04:00
Dinesh Nagar ce03eb3c36 removed left-pad module (#218) 2019-05-22 10:16:09 +02: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
Ace Nassri f7580958cc Switch currencyservice to static JSON file (#173) 2019-03-06 16:42:08 -08: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
Colin Nelson 34227a64a6 currencyservice: Optimized Docker image with multi stage builds, and using alpine as a base image. (#70) 2018-10-09 10:43:06 -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
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 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 88b29516fb Added node.js client tracing 2018-07-11 15:40:38 -07:00
morganmclean 59430d5854 Added node.js tracing 2018-07-11 15:19:17 -07:00
Ahmet Alp Balkan ab045ae6e7 currencyservice: change port to 7000
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 13:45:03 -07:00
Ahmet Alp Balkan 4f631ce4f6 currencyservice: less logs
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 18:38:51 -07:00
Ahmet Alp Balkan 05cb7ecfb9 currencyservice: fix nanos overflow due to rounding
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 16:24:26 -07:00
Ace Nassri 6f1a3d79e1 Move to new proto + add magic of left-pad 2018-06-27 13:51:08 -07:00
Ahmet Alp Balkan 51d5e9a3ed currencyservice: [WIP] money proto migration
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:18 -07:00
Ace Nassri f6ab191e2f Add logs 2018-06-25 15:47:39 -07:00
Ace Nassri 296841756d Add caching 2018-06-25 13:16:40 -07:00
Ace Nassri 97a36a6374 Fix math bug 2018-06-22 15:44:50 -07:00
Ace Nassri 1fa7b44c83 Fix bugs 2018-06-22 14:51:01 -07:00
Ace Nassri 9620c9bb1c Actually add protos 2018-06-22 14:35:37 -07:00
Ace Nassri 057d8ae35a Switch to genproto.sh 2018-06-22 14:14:43 -07:00
Ace Nassri ab5fb7bde4 Fix nit 2018-06-22 13:54:40 -07:00
Ace Nassri 28a6fbb8f1 Initial commit 2018-06-22 13:43:39 -07:00