Commit graph

296 commits

Author SHA1 Message Date
Ace Nassri
296841756d Add caching 2018-06-25 13:16:40 -07:00
Ahmet Alp Balkan
7063092393 frontend: more organization
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 11:18:08 -07:00
Simon Zeltser
ef92ddc351 Merge remote-tracking branch 'origin' into createCartService 2018-06-25 09:49:39 -07:00
Simon Zeltser
c3c76effea Fixing cache implementation 2018-06-25 09:44:56 -07:00
Ahmet Alp Balkan
3cbda5fc65 frontend: add home template
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-24 23:37:28 -07:00
Ahmet Alp Balkan
11ba676828 frontend: connect to productcatalog, currencysvc
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-24 23:37:28 -07:00
Ahmet Alp Balkan
f734e96733 frontend: initial prototype
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-24 23:37:28 -07:00
Simon Zeltser
3262ff82b0 Updating docker file to not include ports. Added scripts folder and script to run docker with env vars passed via command line. Also now the build and packaging is happening in container 2018-06-22 17:17:34 -07:00
Ahmet Alp Balkan
60efbc0f9e integrate currencyservice to k8s deployment
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 16:11:21 -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
Ahmet Alp Balkan
a1b141d5b3 git rm binary
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 12:15:40 -07:00
Ahmet Alp Balkan
ea974982bd rm redundant leftover comment
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 11:52:13 -07:00
Ahmet Alp Balkan
31adf1400c test-cli: add smoke test for cartservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 11:50:36 -07:00
Ahmet Alp Balkan
73a662cf83 add prototype of redis k8s deployment
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 11:43:55 -07:00
Ahmet Alp Balkan
2d5dcfb3f6 currencyservice: fix test, add test for fractional result
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 11:43:41 -07:00
Ahmet Alp Balkan
3ae9448346 k8s: add resource limits to deployments
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 09:35:30 -07:00
Ahmet Alp Balkan
7d1d1d6614 checkoutservice: activate cartservice link
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-22 09:12:41 -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
fa46e85220 currencyservicefake: temp replacement for currencysvc
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 22:34:46 -07:00
Ahmet Alp Balkan
5b3530c021 test-cli: refactor currencyservice smoke test
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 22:34:17 -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
Ahmet Alp Balkan
08144db10a checkoutservice prototype!!1
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 21:36:01 -07:00
Simon Zeltser
4646d528b7 Merge branch 'master' of sso://user/ahmetb/microservices-demo into createCartService 2018-06-21 15:45:40 -07:00
Jonathan Lui
d37c0841ce return v4 uuid for paymentservice 2018-06-21 15:04:37 -07:00
Simon Zeltser
bd7da5fe89 Merge branch 'master' of sso://user/ahmetb/microservices-demo into createCartService 2018-06-21 14:54:12 -07:00
Simon Zeltser
5d44d019b3 Fixing docker issues. Now the server can run in linux docker container but doesn't work with real redis yet 2018-06-21 14:53:07 -07:00
Jonathan Lui
cb6a105b51 PaymentService: use genproto.sh to cp proto to paymentservice 2018-06-21 14:40:14 -07:00
Ahmet Alp Balkan
9f1bc5a69c Integrate paymentservice to skaffold/k8s
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 14:22:09 -07:00
Ahmet Alp Balkan
25dd31952c checkoutservice: change port to 5050
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 14:07:08 -07:00
Ahmet Alp Balkan
98ac7e3a10 add kubernetes manifets and skaffold.yaml
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 14:03:04 -07:00
Ahmet Alp Balkan
28956fb240 unify ENTRYPOINTS in dockerfiles (no /bin/sh)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 14:03:04 -07:00
Jonathan Lui
91663aa541 Merge branch 'master' of sso://user/ahmetb/microservices-demo 2018-06-21 13:03:40 -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
Ahmet Alp Balkan
4ade7ddb29 remove -v from go-build dockerfiles
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 12:40:07 -07:00
Ahmet Alp Balkan
f06818db0c checkoutservice: partial implementation
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 12:15:53 -07:00
Ahmet Alp Balkan
95ed2f3b64 Merge branch 'master' of sso://user/ahmetb/microservices-demo 2018-06-21 11:45:06 -07:00
Ahmet Alp Balkan
164e52fa44 checkoutservice: add code stubs, TODO implement
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 11:44:47 -07:00
Simon Zeltser
238197008c Merge branch 'master' of sso://user/ahmetb/microservices-demo into createCartService 2018-06-21 11:22:43 -07:00
Simon Zeltser
b91d97f673 remove .gitignore changes for cart service - they should be in cart service folder 2018-06-21 11:22:23 -07:00
Simon Zeltser
d7d9165da6 added gitignore file for .net proj 2018-06-21 11:19:48 -07:00
Jonathan Lui
c7e7692057 indents 2018-06-21 11:19:28 -07:00
Ahmet Alp Balkan
af9db7b021 recommendationsvc: compile_proto.sh -> genproto.sh
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-21 11:12:17 -07:00
Simon Zeltser
0ce195bb80 command line arguments handling 2018-06-21 11:10:13 -07:00
Simon Zeltser
8860d8bfdd added redis integration and command line arguments handling to cart service. Didn't test in the cloud yet 2018-06-21 11:09:12 -07:00