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
8d1d967d93
frontend: also log error
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
3089712084
frontend: error page
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
91493bf0a3
frontend: order result screen
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
19aeb032b5
k8s: new env vars for cartservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
83333c9f6b
k8s: cartservice listen addr
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
6040585996
fix cartservice listen addr
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Simon Zeltser
edf1553be9
Renaming cart service env vars
...
Renaming Cart service environment variables:
CART_SERVICE_ADDR => LISTEN_ADDR
CART_SERVICE_PORT => PORT
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
0d07d08b4a
frontend: place order
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
06321e24f6
frontend/templates: reenable empty cart
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
076819d009
currencyservice: fix nanos overflow due to rounding
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -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
e9826f5f69
frontend: checkout form
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
75135e6c7f
frontend/templates: fix money rendering
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:08 -07:00
Ahmet Alp Balkan
fc272ffb7b
frontend: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan
33fae5d1d1
checkoutservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ace Nassri
b5b6d255ba
Move to new proto + add magic of left-pad
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan
98d9c87e72
currencyservice: [WIP] money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan
a128ab02ef
checkoutservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan
e966fb8c02
delete currencyservicetemp implementation
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -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
a656bb8288
shippingservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:07 -07:00
Ahmet Alp Balkan
a3b8e2828d
recommendationservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
320787124a
test-cli: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
7e732dee6c
productcatalog: regenerate protos
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -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
920ab6c13c
frontend/money: add money utilities
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
e86353f6ca
frontend: ui tweaks
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Simon Zeltser
546562fe53
Fixing AddItem and adding more tests/cartservice/CartServiceTests
...
Updated AddItem functionality so it handles update quantities scenario.
Added tests
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
400d51a9fe
frontend: integrate recommmendationservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:06 -07:00
Ahmet Alp Balkan
9889e4904d
recommendationservice: exclude input ids
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:05 -07:00
Simon Zeltser
2041bdcb48
Fixing GetCart for non-existing user
...
Now GetCart returns an empty cart for non-existing user
(user that haven't added anything to the cart before)
Added test to cover that
Also enhanced windows script for running cart service locally.
Now we have two options:
- Running the service and redis locally (assuming redis emulator is installed)
This is good for easier local debugging and troubleshooting
docker_setup local
- Running the service and redis in two separate docker containers
This is good for better simulation of what will happen in the cloud
2018-06-26 14:41:00 -07:00
Ahmet Alp Balkan
289bd4db13
frontend: view cart, add to cart, empty cart
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 12:55:07 -07:00
Ahmet Alp Balkan
f3fe6d42ad
connect cartservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 11:01:24 -07:00
Ahmet Alp Balkan
36b7b9eb65
frontend: stop refreshing cookies
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 23:26:26 -07:00
Ahmet Alp Balkan
e16172c14a
frontend: product page
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 22:47:33 -07:00
Ahmet Alp Balkan
8a6be04035
productcatalog: longer product IDs
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 22:47:21 -07:00
Ahmet Alp Balkan
6268802ab5
frontend: homepage template showing products
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 21:55:09 -07:00
Ahmet Alp Balkan
4ccf44582f
frontend/productservice: add product inventory
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 21:51:48 -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
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