Ahmet Alp Balkan
16b1ebe95c
recommendationservice: fix entrypoint
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 15:54:08 -07:00
morganmclean
73ef09c64d
Merge branch 'master' of sso://user/ahmetb/microservices-demo
2018-07-17 15:05:24 -07:00
morganmclean
bfb740c079
Fixed Debugger config for node services
2018-07-17 15:04:25 -07:00
Ahmet Alp Balkan
0a9382976f
recommendationservice: use requirements.txt
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 14:59:25 -07:00
Ahmet Alp Balkan
0a1054c75d
shippingservice: prevent crash on profiler init
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 11:56:55 -07:00
Ahmet Alp Balkan
71c47b0869
fix frontend build yet again
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 11:49:50 -07:00
Ahmet Alp Balkan
f69fd6b0e2
frontend: fix build
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 11:48:43 -07:00
Ahmet Alp Balkan
5bb1a3f400
go services: do not fail (+retry) profiler init
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 11:45:09 -07:00
Ahmet Alp Balkan
cca50463ee
recommendationservice: add init message
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 08:39:23 -07:00
Ahmet Alp Balkan
c602594c37
fix emailservice dockerfile, rm ports helper script
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 17:02:31 -07:00
Ahmet Alp Balkan
e4664c22ea
refactor fix after profiler patch
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 15:17:59 -07:00
morganmclean
9486bc24fd
Fixed recommendations instrumentation
2018-07-16 14:34:22 -07:00
morganmclean
6e1bbe46e2
partly fixed python
2018-07-16 14:29:14 -07:00
morganmclean
99ce1f84c2
Instrumented everything but Python
2018-07-16 14:29:14 -07:00
Ahmet Alp Balkan
e53b2956a2
Revert "frontend: temporarily add a port 8090 for healthz in mTLS"
...
This reverts commit 9c8b4bcad2c9cc4405a2a15b430e9823ebfd0a3e.
2018-07-16 11:02:02 -07:00
Ahmet Alp Balkan
b486251773
Revert "frontend: use LISTEN_ADDR, refactor Listen code"
...
This reverts commit 894c0e2a8dbcc76623c7d3ddf589e30e6b9985a9.
2018-07-16 11:01:58 -07:00
Ahmet Alp Balkan
ab2b15723c
frontend: use LISTEN_ADDR, refactor Listen code
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-16 10:21:41 -07:00
Ahmet Alp Balkan
7b35fb1291
frontend: temporarily add a port 8090 for healthz in mTLS
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 21:28:55 -07:00
Ahmet Alp Balkan
021660bb95
loadgenerator: exit faster on SIGTERM
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 16:34:41 -07:00
Ahmet Alp Balkan
457e2edbdf
frontend/static: fix product image aspect ratios
...
use film-camera.jpg (1331 × 854) as the base aspect ratio
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 16:30:18 -07:00
Ahmet Alp Balkan
afee0d099c
loadgenerator: switch to python 3.6
...
python3.7 is causing lockup in locust.
See https://github.com/locustio/locust/issues/843
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 12:22:38 -07:00
Ahmet Alp Balkan
ba5bf6d4eb
loadgenerator: kill periodically to prevent lockup
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-15 11:14:35 -07:00
Ahmet Alp Balkan
a3740aa7b5
shippingservice: add ca-certificates to image
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 16:17:47 -07:00
Ahmet Alp Balkan
d08a58cc21
add retries for stackdriver exporters in go
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 15:44:56 -07:00
Ahmet Alp Balkan
d01f525453
refactor initTrace -> initTracing()
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-13 10:47:42 -07:00
Ahmet Alp Balkan
5a32ddf0ff
shippingservice: move initTrace() to a func
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 14:56:51 -07:00
Ahmet Alp Balkan
555c8a4c05
frontend/checkoutservice: add tracing
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 10:46:43 -07:00
Ahmet Alp Balkan
89618dbeb6
payment & productcatalog: sample rate 1.0
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-12 10:22:36 -07:00
Ahmet Alp Balkan
1799f36dc6
shippingsercice: export traces to stackdriver
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-11 19:55:36 -07:00
Ahmet Alp Balkan
6065e871a9
productcatalog: export traces to stackdriver
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-11 19:19:00 -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
af71f8f9b0
frontend: refactor http.Handler decoration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-10 21:49:06 -07:00
Ahmet Alp Balkan
61cf05844d
fix go builds after deleting pkg internal
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-10 20:11:30 -07:00
JBD
4a82b21b5e
add OpenCensus Go support for HTTP and gRPC
2018-07-10 17:36:55 -07:00
Simon Zeltser
7101b6b4fe
Changing the order of redis and cart service starting
...
This should help monitoring probe for cart service to succeed at first run
2018-07-09 21:02:27 -07:00
Ahmet Alp Balkan
0be5e7b1e2
cartservice: rm initContainer, fix probe query ip
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-09 12:56:54 -07:00
Ahmet Alp Balkan
0c1068aec6
cartservice: add an exec probe written in Go
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-07 16:56:52 -07:00
Ahmet Alp Balkan
684c6020cb
frontend: whitelist currencies two more currencies
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 12:10:52 -07:00
Ahmet Alp Balkan
0b192fa95c
frontend: small fixes for form controls
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 09:56:42 -07:00
Ahmet Alp Balkan
6c8d06428f
frontend: recommendations widget is responsive
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:34:21 -07:00
Ahmet Alp Balkan
96ffafe0c5
frontend: error tpl invokes header/footer with vals
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:16:30 -07:00
Ahmet Alp Balkan
2f5cbd5eee
frontend: add footer (session id + request id)
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:11:58 -07:00
Ahmet Alp Balkan
6a5ba2a51d
frontend: fix checkout form mb
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 15:44:25 -07:00
Ahmet Alp Balkan
39169ca498
frontend: remove footer text
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 15:20:23 -07:00
Simon Zeltser
d457f7ec28
Making cartservice more reliable
...
1. Making sure we re-create redis connection upon disconnect
2. Fixed local cart store implementation to handle updates (useful for testing w/o redis)
3. Fixed windows scripts to work against redis correctly
2018-07-02 13:26:37 -07:00
Simon Zeltser
11c208a9f4
Merge remote-tracking branch 'origin' into createCartService
2018-07-02 13:25:34 -07:00
Ahmet Alp Balkan
85d04fc0b5
frontend: proper ensureSess middleware, add req id
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 10:13:02 -07:00
Ahmet Alp Balkan
2dcd7b6221
frontend: remove sessionid from log
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 10:00:10 -07:00
Ahmet Alp Balkan
b7404e3500
frontend: use logrus structured logger
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-01 21:21:26 -07:00
Ahmet Alp Balkan
257cbdf98b
loadgenerator: complete implementation
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 17:10:28 -07:00
Ahmet Alp Balkan
08aa1cce26
shippingservice: add logs indicating rpc calls
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 16:37:01 -07:00
Ahmet Alp Balkan
8c3d36d81e
loadgenerator prototype
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 16:37:01 -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
Simon Zeltser
989fad7f76
Merge remote-tracking branch 'origin' into createCartService
2018-06-29 11:41:08 -07:00
Simon Zeltser
17ffcb9a6e
Merge conflict fix for redis cache exception handling
2018-06-29 11:16:10 -07:00
Ahmet Alp Balkan
84ff69147e
frontend: use pkg/errors, show full stacktrace
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:11 -07:00
Ahmet Alp Balkan
307404714b
cartservice: add try catch to GetCartAsync
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:10 -07:00
Ahmet Alp Balkan
977c2e5ffd
cartservice: dockerfile optimizations
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:10 -07:00
Ahmet Alp Balkan
92274f4ff4
frontend: optimize dockerfile
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:10 -07:00
Simon Zeltser
f2ee88a9a2
Changed redis connection opening to be synchronous call
...
Also added exception handling for GetCartAsync
2018-06-29 11:08:10 -07:00
Ahmet Alp Balkan
86b45cd8ff
currencyservice: less logs
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:10 -07:00
Ahmet Alp Balkan
e3a9580c76
frontend: add liveness/readiness probes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:10 -07:00
Simon Zeltser
4ac66b072a
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-29 11:08:10 -07:00
Ahmet Alp Balkan
4e57b1e0aa
optimize dockerfile caching for go builds
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
e2c48c58d7
frontend/handlers: wrap err
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
b68f6a0324
k8s: add frontend dockerfile + skaffold
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
878be040e4
cartservice: add net-tools to build
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
6c8162eb3d
k8s: fix emailservice port mapping
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -07:00
Ahmet Alp Balkan
382314bb57
checkoutservice: empty cart after order
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-29 11:08:09 -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
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
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
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
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
1ae5e7737a
frontend: add liveness/readiness probes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 18:15:05 -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
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
Ahmet Alp Balkan
f5dc3dd056
checkoutservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:17 -07:00
Ahmet Alp Balkan
3d22afac72
delete currencyservicetemp implementation
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:17 -07:00
Ahmet Alp Balkan
129eb9be66
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-27 13:30:17 -07:00
Ahmet Alp Balkan
c2b08f0793
shippingservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:17 -07:00
Ahmet Alp Balkan
8a07a97872
recommendationservice: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:17 -07:00
Ahmet Alp Balkan
bc87db4601
test-cli: money proto migration
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:16 -07:00
Ahmet Alp Balkan
c43dcd7c90
productcatalog: regenerate protos
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:16 -07:00
Ahmet Alp Balkan
8ca3593635
frontend/money: add money utilities
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:16 -07:00
Ahmet Alp Balkan
3144c87e21
frontend: ui tweaks
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:16 -07:00
Simon Zeltser
22762b28bd
Fixing AddItem and adding more tests/cartservice/CartServiceTests
...
Updated AddItem functionality so it handles update quantities scenario.
Added tests
2018-06-27 10:33:18 -07:00
Simon Zeltser
6891793b4e
Merge remote-tracking branch 'origin' into createCartService
2018-06-26 14:47:41 -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
908df8d331
frontend: integrate recommmendationservice
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 14:19:22 -07:00
Ahmet Alp Balkan
9634693f37
recommendationservice: exclude input ids
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 14:01:05 -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