Commit graph

12 commits

Author SHA1 Message Date
sebright
86c8c06cc1 pb: add "categories" field to Product (#60)
This field can be used as the context keys to look up relevant ads in the ad
service.

/cc @rghetia 

I also ran the genproto.sh scripts for the Java and Go services and included those changes in the second commit.  I encountered an issue when I ran genproto.sh for the recommendation service, and I'm still looking into it.
2018-10-01 21:33:25 -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
rghetia
f35fdbcac3 Initial commit for Ads Service. (#21)
* Initial commit for Ads Service.

* update comments for AdsService and AdsServiceClient

* Refactor Ads to Ad
Move building AdService to Docker
Use default setting for Stackdriver Exporter.
Add license text.

* Revert the projectId

- also remove commented code from frontend/rpc.go

* Add adservie to skaffold.yaml

* Remove skaffold-adservice.yaml

* Replace personal projectId with demo projectId.

* Fix the crash in adservice when ran in locally.

* Ignore .skaffold*yaml file and .kubernetes-manifests-*/ dir for easy ProjectID switch.

* Fixed review comments.
1. Changed Ad redirect urls to products.
2. Removed leftovers from Dockerfile/kub*manifests*yaml
3. Added retry for StackDriver.
4. Added log for Ad request.
5. Added comment for gradle caching.
6. Added README.md to src/adservice.

* Added GRPC Health service to Ad Service
Also added
1. timeout to getAd RPC call in frontend.
2. Async thread for stackdriver init.
2018-08-22 17:02:46 -07:00
Ahmet Alp Balkan
390e489cd7
pb: fix style issue in Ads message
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-16 12:50:32 -07:00
rahulpa
24aaa3e376 Add proto for Ads Service. 2018-08-16 09:11:26 -07:00
Ahmet Alp Balkan
ed942a91fe checkoutservice: remove PrepareOrder rpc
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
6f10ac9794 breaking changes to Address in proto
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
e20ed325f1 pb: breaking change to Money, remove MoneyAmount
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
22f6fccaf7 pb: breaking change to currencyservice protos
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-20 16:58:26 -07:00
Ahmet Alp Balkan
2316e25504 change Product.id to string
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-20 12:20:39 -07:00
Dan Sanche
0cf418df99 recommender now returns ids instead of products 2018-06-14 16:10:11 -07:00
Ahmet Alp Balkan
e926f33910 Import proto
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-13 14:26:03 -07:00