September 2019
Intermediate to advanced
668 pages
15h 59m
English
To test the deployment we will, as usual, run the test script, that is, test-em-all.bash. To work with Kubernetes, the circuit breaker tests have been slightly modified. Take a look at the testCircuitBreaker() function for more details. The circuit breaker tests call the actuator endpoints on the product-composite service to check their health state and get access to circuit breaker events. The actuator endpoints are not exposed externally, so the test script needs to use different techniques to access the internal endpoints when using Docker Compose and Kubernetes: