RestController throws 503 Service Unavailable, if the remote-server fails
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 23:58:26 +0000 (00:58 +0100)
committerKai Moritz <kai@juplo.de>
Thu, 16 Jan 2020 10:18:03 +0000 (11:18 +0100)
commitd254e8fa52ab3897c7d7a95e36d9b93635d7d7c6
treeb8158bc2858dac08d8edb60ebb1a8332d6933204
parentb7dc861910bd43020ff91c8f9f51fe4c32a66aec
RestController throws 503 Service Unavailable, if the remote-server fails

* Added unit-test RestControllerTest.testResponseOtherErrors()
* Fixed the behavior of the RestController accordingly
src/main/java/de/juplo/demo/RestController.java
src/test/java/de/juplo/demo/RestControllerTest.java