aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/main/resources/configserver-app
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2021-04-09 19:08:10 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2021-04-09 19:08:10 +0200
commitdb4b33f7241b6b43e2bf5b6ba6dd7b0712f6c525 (patch)
tree51ea7956de936ab14ce5d404a2b6f6a75800625f /configserver/src/main/resources/configserver-app
parenta16b5e42e5e1b5fac43983375145b08328f65f8c (diff)
Rewrite HealthResource as request handler
Diffstat (limited to 'configserver/src/main/resources/configserver-app')
-rw-r--r--configserver/src/main/resources/configserver-app/services.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/configserver/src/main/resources/configserver-app/services.xml b/configserver/src/main/resources/configserver-app/services.xml
index 8c792089810..811edd05e94 100644
--- a/configserver/src/main/resources/configserver-app/services.xml
+++ b/configserver/src/main/resources/configserver-app/services.xml
@@ -68,11 +68,10 @@
<package>com.yahoo.vespa.orchestrator.resources.appsuspension</package>
</components>
</rest-api>
- <rest-api path="orchestrator/v1/health" jersey2="true">
- <components bundle="orchestrator">
- <package>com.yahoo.vespa.orchestrator.resources.health</package>
- </components>
- </rest-api>
+ <handler id="com.yahoo.vespa.orchestrator.resources.HealthRequestHandler" bundle="orchestrator">
+ <binding>http://*/orchestrator/v1/health</binding>
+ <binding>http://*/orchestrator/v1/health/*</binding>
+ </handler>
<rest-api path="orchestrator/v1/hosts" jersey2="true">
<components bundle="orchestrator">
<package>com.yahoo.vespa.orchestrator.resources.host</package>