Skip to content

Files

Latest commit

3709195 · Mar 19, 2020

History

History
This branch is 65 commits ahead of, 1932 commits behind GoogleCloudPlatform/microservices-demo:main.

adservice

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 23, 2018
Feb 11, 2020
Mar 19, 2020
May 9, 2019
Oct 22, 2018
Jan 30, 2020
Aug 23, 2018
Aug 23, 2018
Aug 23, 2018
Aug 23, 2018

Ad Service

The Ad service provides advertisement based on context keys. If no context keys are provided then it returns random ads.

Building locally

The Ad service uses gradlew to compile/install/distribute. Gradle wrapper is already part of the source code. To build Ad Service, run:

./gradlew installDist

It will create executable script src/adservice/build/install/hipstershop/bin/AdService

Upgrading gradle version

If you need to upgrade the version of gradle then run

./gradlew wrapper --gradle-version <new-version>

Building docker image

From the repository root, run:

docker build --file src/adservice/Dockerfile .