To try out the edge server, we perform the following steps:
- First, build the Docker images with the following commands:
cd $BOOK_HOME/Chapter10
./gradlew build && docker-compose build
- Next, start the system landscape in Docker and run the usual tests with the following command:
./test-em-all.bash start
Expect output similar to what we have seen in previous chapters:
With the system landscape including the edge server, let's explore the following topics:
- Examine what is exposed by the edge server outside of the system landscape running in the Docker engine.
- Try out some of the most frequently used routing rules as follows:
- Use URL-based routing to call our APIs through the edge server.
- Use URL-based routing to call Netflix Eureka through the edge server, both using its API and web-based UI.
- Use header-based routing to see...