Gateway service is an edge service that provides dynamic routing, monitoring, resiliency, security, and more, based on Zuul. Check the repository Zuul from Netflix for more information.
To get you started you can simply clone the gateway-service
repository and install the dependencies:
You need git to clone the gateway-service
repository.
You will need Java™ SE Development Kit 8 and Maven.
Clone the gateway-service
repository using git:
git clone https://github.com/systelab/gateway-service.git
cd gateway-service
In order to install the dependencies and generate the Uber jar you must run:
mvn clean install
To launch the server, simply run with java -jar the generated jar file.
cd target
java -jar gateway-service-1.0.jar
Or with the maven plugin:
mvn spring-boot:run
Head to http://localhost:8761 in order to see the Gateway Daskboard
There is an Automated Build Task in Docker Cloud in order to build the Docker Image. This task, triggers a new build with every git push to your source code repository to create a 'latest' image. There is another build rule to trigger a new tag and create a 'version-x.y.z' image
You can always manually create the image with the following command:
docker build -t systelab/gateway-service .
docker run -p 8761:8761 systelab/gateway-service
The app will be available at http://localhost:8761