Skip to content

rodrigocprates/zuul-api-gateway-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway POC using Zuul and a simple REST service

See https://github.com/Netflix/zuul.

apigatewaypoc-service - simple REST service running on port 9000

Build & Run

mvn install

run MovieApplication.java

access http://localhost:9000/ghostbusters

apigatewaypoc-zuul - a Zuul service running on port 8080

What's going on?

Check out apigatewaypoc-zuul/src/main/resources/application.properties:

server.port=8080 - runs zuul on port 8080

zuul.routes.book.url=http://localhost:9000 - route to our rest service at port 9000

zuul.routes.book.path=/movies/** - tells that every call over /movies will be redirected to our rest service api on port

Build & Run

mvn install

run ApiGatewayApplication.java

access http://localhost:8080/movies/ghostbusters

* under the hood it is mapped to http://localhost:9000/ghostbusters

About

API Gateway POC using Zuul and a simple REST service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages