Commit graph

323 commits

Author SHA1 Message Date
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
1d266bfdcf
Merge pull request #24 from ocervell/patch-1
Update skaffold.yaml to add gcb build
2018-08-21 10:29:32 -07:00
Ahmet Alp Balkan
074048ef5a
skaffold.yaml: annotate gcb profile 2018-08-21 10:27:35 -07:00
Olivier Cervello
0d6e54f812
Increaes GCB VM disk space to avoid build failure
Default VM disk size is 200 for Cloud Build, we need at least 300 to build all services.
2018-08-20 12:17:54 -05:00
Ahmet Alp Balkan
3c86418822
Merge pull request #25 from ahmetb/frontend-ads
frontend: add integration for adservice
2018-08-17 09:10:50 -07:00
Ahmet Alp Balkan
3e90b73464
frontend: add integration for adservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-16 18:01:52 -07:00
Ahmet Alp Balkan
c9cd627453
Merge pull request #23 from ahmetb/proto-fix
pb: fix style issue in Ads message
2018-08-16 13:44:37 -07:00
Olivier Cervello
a7a3bb7e03
Update skaffold.yaml
`skaffold run` will fail while building the `cartservice` with a 'No Space Left on Device Error'
Increasing the disk allocated for the build (default 200GB) to get rid of this error.
2018-08-16 15:26:34 -05: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
Ahmet Alp Balkan
fad711b2db
update readme with detailed gke instructions
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-16 12:49:17 -07:00
Ahmet Alp Balkan
2cbe4b6f01
Merge pull request #22 from rghetia/ads_proto
Add proto for Ads Service.
2018-08-16 09:21:15 -07:00
rahulpa
24aaa3e376 Add proto for Ads Service. 2018-08-16 09:11:26 -07:00
Ahmet Alp Balkan
4e9d46c8e7
img: make the screenshot sizes equal
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-14 12:00:20 -07:00
Ahmet Alp Balkan
00fc397eca
README: add screenshots, diagrams, features list
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-13 11:28:15 -07:00
Ahmet Alp Balkan
98885b8776
Update README.md 2018-08-09 14:40:43 -07:00
Ahmet Alp Balkan
e5a04449a0
Merge pull request #15 from dgageot/d4d-stable-supports-k8s
Docker for Desktop stable supports k8s now
2018-08-06 16:16:42 -07:00
David Gageot
5bdfe5dfc7 Docker for Desktop stable supports k8s now
Signed-off-by: David Gageot <david@gageot.net>
2018-08-05 09:35:35 +02:00
Ahmet Alp Balkan
db40889ad0
Change gcr projectID in images
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-04 11:23:35 -07:00
Ahmet Alp Balkan
427f13fcd3
go: use dep in builds, remove relative imports
Fixes #11.
Fixes #12.
Fixes #13.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-04 11:21:03 -07:00
Ahmet Alp Balkan
c7dd0cbf31
test-cli: remove
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-04 11:12:21 -07:00
Ahmet Alp Balkan
4572974c88
use dep to lock Go dependencies (without vendor/)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-30 19:18:05 -07:00
Ahmet Alp Balkan
58e1879e33
rm .vscode/ directory
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-30 19:11:53 -07:00
Ahmet Alp Balkan
c8aed3e804
recommendationservice: add import traceback
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-30 10:48:46 -07:00
Ahmet Alp Balkan
3493cc1cb4
Add more license headers
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 21:25:27 -07:00
Ahmet Alp Balkan
08a62d81fc
add LICENSE, CONTRIBUTING.md
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 21:17:04 -07:00
Ahmet Alp Balkan
d0128060e4
Add LICENSE headers to source files
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 09:54:28 -07:00
michaelawyu
05381b3626 Add emailservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-24 21:08:29 -07:00
Ahmet Alp Balkan
432c5462a0 frontend: add BANNER_COLOR to control jumbotron bg
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-19 11:28:14 -07:00
Matthew DeLio
1bc817a013 add named port for frontend-external so that istio metrics aren't blocked 2018-07-19 09:53:28 -07:00
Ahmet Alp Balkan
f149cc050b productcatalogservice: fix build
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:50:54 -07:00
Ahmet Alp Balkan
316db889aa recomendationservice: disable tracing b/c memleak
enabling the tracing interceptor/sampler causes an unbounded memory leak
eventually OOMing the container.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:49:27 -07:00
Ahmet Alp Balkan
2c8681d324 k8s: bump recommendationservice memory limit
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:49:23 -07:00
Ahmet Alp Balkan
ee935d48e9 recommendationservice: fully freeze pip
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:49:01 -07:00
Ahmet Alp Balkan
6cedeb1317 recommendationservice: use requirements.txt
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:48:33 -07:00
Ahmet Alp Balkan
b943dda1b7 go services: fix bug that starts profiling 3 times
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:36:17 -07:00
Ahmet Alp Balkan
ab32b5f954 skaffold: remove unused gcb profile
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:26:02 -07:00
Ahmet Alp Balkan
d5394b4041 productcatalog: read products from json, fix tests
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 22:24:59 -07:00
morganmclean
e389c40416 Test 2018-07-17 21:58:45 -07:00
morganmclean
dbc9523cea Changed product catalog to use json, so that it slows down and generates nice profiles 2018-07-17 21:35:11 -07:00
Ahmet Alp Balkan
3ac12b862f go services: fix bug that starts profiling 3 times
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 21:33:49 -07:00
Ahmet Alp Balkan
38cd08e1ad recomendationservice: disable tracing b/c memleak
enabling the tracing interceptor/sampler causes an unbounded memory leak
eventually OOMing the container.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 21:01:21 -07:00
Ahmet Alp Balkan
03f928f17a k8s: bump recommendationservice memory limit
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 16:38:53 -07:00
Ahmet Alp Balkan
86db083d87 recommendationservice: fully freeze pip
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-17 16:33:37 -07:00
morganmclean
2713f47bbb Fixed package imports in recommendations 2018-07-17 16:21:53 -07:00
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