-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): Use a rest controller for status endpoints (#388)
* test(core): Update tests to test statusHandler The status endpoint tests are currently testing AllStatusEndpoint and InstanceStatusEndpoint which are pass-through classes that will be removed; update the tests to directly test StatusHandler. * refactor(core): Use a rest controller for status endpoints The Endpoint classes that are used to implement the status endpoint have significantly changed in Spring Boot 2. Instead of creating and exposing an endpoint, just use a rest controller. * fix(core): Remove package from componentscan The prior commit moved everything out of the endpoints package into other packages, so we should remove it from the component scan.
- Loading branch information
Showing
8 changed files
with
41 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
rosco-web/src/main/groovy/com/netflix/spinnaker/rosco/endpoints/AllStatusEndpoint.groovy
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...o-web/src/main/groovy/com/netflix/spinnaker/rosco/endpoints/InstanceStatusEndpoint.groovy
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
...web/src/main/groovy/com/netflix/spinnaker/rosco/endpoints/mvc/AllStatusMvcEndpoint.groovy
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
...rc/main/groovy/com/netflix/spinnaker/rosco/endpoints/mvc/InstanceStatusMvcEndpoint.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.