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
Ahmet Alp Balkan
ca3ace3f65
frontend: use pkg/errors, show full stacktrace
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 22:03:39 -07:00
Ahmet Alp Balkan
f8ddac9c52
cartservice: add try catch to GetCartAsync
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 21:46:48 -07:00
Ahmet Alp Balkan
386f497553
cartservice: dockerfile optimizations
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 21:45:57 -07:00
Ahmet Alp Balkan
fdc946ad32
skaffold: set tag policy gitCommit
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 20:18:53 -07:00
Ahmet Alp Balkan
7e252c7d8f
k8s: add termination grace to recommendationservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 20:10:06 -07:00
Ahmet Alp Balkan
319e9478c0
frontend: optimize dockerfile
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 18:46:58 -07:00
Simon Zeltser
c84c5b028b
Changed redis connection opening to be synchronous call
...
Also added exception handling for GetCartAsync
2018-06-28 18:40:22 -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
59063ff44a
k8s: add terminationGracePeriodSeconds to some
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 18:34:48 -07:00
Ahmet Alp Balkan
1ae5e7737a
frontend: add liveness/readiness probes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 18:15:05 -07:00
Ahmet Alp Balkan
ecba29655a
k8s: add liveness/readiness probes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 17:55:51 -07:00
Simon Zeltser
ca6e6647ef
Refactored the cart service to add more telemetry
...
1. Added more telemetry around starting redis cache
2. Now if you don't specify redis cache address via command line
or environment variable, it will run with local cart (no redis).
This is useful for debugging purposes
2018-06-28 17:12:33 -07:00
Ahmet Alp Balkan
07bb077c10
optimize dockerfile caching for go builds
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 17:09:22 -07:00
Ahmet Alp Balkan
9728803877
frontend/handlers: wrap err
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 16:54:24 -07:00
Ahmet Alp Balkan
92eb76c1db
k8s: add frontend dockerfile + skaffold
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 16:53:56 -07:00
Ahmet Alp Balkan
c9f2c89b9c
cartservice: add net-tools to build
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 11:42:12 -07:00
Ahmet Alp Balkan
39fd019343
k8s: fix emailservice port mapping
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 01:05:12 -07:00
Ahmet Alp Balkan
f9fa569d41
checkoutservice: empty cart after order
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:57:12 -07:00
Ahmet Alp Balkan
99cefc46c9
checkoutservice: remove PrepareOrder rpc
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:48:46 -07:00
Ahmet Alp Balkan
7db573230b
frontend: also log error
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:41:20 -07:00
Ahmet Alp Balkan
b2ca0868a5
frontend: error page
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:20:26 -07:00
Ahmet Alp Balkan
7f4319ae54
frontend: order result screen
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:15:16 -07:00
Ahmet Alp Balkan
795fb3f80e
k8s: new env vars for cartservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 22:49:12 -07:00
Ahmet Alp Balkan
21909b4674
k8s: cartservice listen addr
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 22:31:50 -07:00
Ahmet Alp Balkan
7c83802b9e
fix cartservice listen addr
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 22:31:50 -07:00
Simon Zeltser
4373f02025
Merge remote-tracking branch 'origin' into createCartService
2018-06-27 22:30:06 -07:00
Simon Zeltser
f06bc11dd4
Renaming cart service env vars
...
Renaming Cart service environment variables:
CART_SERVICE_ADDR => LISTEN_ADDR
CART_SERVICE_PORT => PORT
2018-06-27 22:28:04 -07:00
Ahmet Alp Balkan
483e113643
frontend: place order
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 22:16:03 -07:00
Ahmet Alp Balkan
3eb02c0679
frontend/templates: reenable empty cart
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 16:28:16 -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
Ahmet Alp Balkan
0dc4055b82
breaking changes to Address in proto
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 15:51:33 -07:00
Ahmet Alp Balkan
2ec570c507
frontend: checkout form
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 15:43:24 -07:00
Ahmet Alp Balkan
10748d6b0a
frontend/templates: fix money rendering
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 14:55:19 -07:00
Ahmet Alp Balkan
6c2336b21e
frontend: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 14:31:38 -07:00
Ahmet Alp Balkan
71c27ccea0
checkoutservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 14:27:17 -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