summaryrefslogtreecommitdiffstats
path: root/configserver/src/main/resources/configserver-app/services.xml
diff options
context:
space:
mode:
Diffstat (limited to 'configserver/src/main/resources/configserver-app/services.xml')
-rw-r--r--configserver/src/main/resources/configserver-app/services.xml129
1 files changed, 129 insertions, 0 deletions
diff --git a/configserver/src/main/resources/configserver-app/services.xml b/configserver/src/main/resources/configserver-app/services.xml
new file mode 100644
index 00000000000..1b86aed3983
--- /dev/null
+++ b/configserver/src/main/resources/configserver-app/services.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<services version="1.0" xmlns:preprocess="properties">
+ <jdisc id="configserver" jetty="true" version="1.0">
+ <accesslog type="vespa" fileNamePattern="logs/vespa/configserver/access.log.%Y%m%d%H%M%S" rotationScheme="date" symlinkName="access.log" />
+ <component id="com.yahoo.vespa.config.server.ConfigServerBootstrap" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.monitoring.Metrics" bundle="configserver" />
+ <component id="com.yahoo.vespa.zookeeper.ZooKeeperServer" bundle="zkfacade" />
+ <component id="com.yahoo.vespa.config.server.RpcServer" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.ConfigServerDB" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.session.FileDistributionFactory" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.modelfactory.ModelFactoryRegistry" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.SuperModelGenerationCounter" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.session.SessionPreparer" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.SuperModelController" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.StaticConfigDefinitionRepo" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.provision.HostProvisionerProvider" bundle="configserver" />
+ <component id="com.yahoo.vespa.curator.Curator" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.InjectedGlobalComponentRegistry" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.Tenants" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.application.PermanentApplicationPackage" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.HostRegistries" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.deploy.Deployer" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.version.VersionState" bundle="configserver" />
+ <component id="com.yahoo.vespa.config.server.zookeeper.ConfigCurator" bundle="configserver" />
+ <component id="com.yahoo.container.jdisc.metric.state.StateMetricConsumerFactory" bundle="container-disc" />
+ <component id="com.yahoo.config.provision.Zone" bundle="config-provisioning" />
+ <component id="com.yahoo.vespa.config.server.application.ApplicationConvergenceChecker" bundle="configserver" />
+
+ <component id="com.yahoo.vespa.serviceview.ConfigServerLocation" bundle="configserver" />
+
+ <components>
+ <include dir="config-models" />
+ </components>
+
+ <preprocess:include file='config-models.xml' required='false' />
+ <preprocess:include file='node-repository.xml' required='false' />
+ <preprocess:include file='hosted-vespa/routing-status.xml' required='false' />
+ <component id="com.yahoo.vespa.service.monitor.SlobrokAndConfigIntersector" bundle="orchestrator" />
+ <component id="com.yahoo.vespa.orchestrator.ServiceMonitorInstanceLookupService" bundle="orchestrator" />
+ <component id="com.yahoo.vespa.orchestrator.status.ZookeeperStatusService" bundle="orchestrator" />
+ <component id="com.yahoo.vespa.orchestrator.controller.RetryingClusterControllerClientFactory" bundle="orchestrator" />
+ <component id="com.yahoo.vespa.orchestrator.OrchestratorImpl" bundle="orchestrator" />
+
+ <rest-api path="orchestrator" jersey2="true">
+ <components bundle="orchestrator" />
+ </rest-api>
+
+ <rest-api path="serviceview" jersey2="true">
+ <components bundle="configserver">
+ <package>com.yahoo.vespa.serviceview</package>
+ </components>
+ </rest-api>
+
+ <rest-api path="status" jersey2="true">
+ <components bundle="configserver">
+ <package>com.yahoo.vespa.config.server.restapi.impl</package>
+ <package>com.yahoo.vespa.config.server.restapi.resources</package>
+ </components>
+ </rest-api>
+
+ <handler id='com.yahoo.vespa.config.server.http.HttpGetConfigHandler' bundle='configserver'>
+ <binding>http://*/config/v1/*/*</binding>
+ <binding>http://*/config/v1/*</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.HttpListConfigsHandler' bundle='configserver'>
+ <binding>http://*/config/v1/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.HttpListNamedConfigsHandler' bundle='configserver'>
+ <binding>http://*/config/v1/*/</binding>
+ <binding>http://*/config/v1/*/*/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.ListTenantsHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.TenantHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.SessionCreateHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/session</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.SessionPrepareHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/session/*/prepared</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.SessionActiveHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/session/*/active</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.SessionContentHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/session/*/content/*</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.ListApplicationsHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/application/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.ApplicationHandler' bundle='configserver'>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/content/*</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/restart</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/log</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/converge</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/serviceconverge</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*/serviceconverge/*</binding>
+ <binding>http://*/application/v2/tenant/*/application/*/environment/*/region/*/instance/*</binding>
+ <binding>http://*/application/v2/tenant/*/application/*</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.HttpGetConfigHandler' bundle='configserver'>
+ <binding>http://*/config/v2/tenant/*/application/*/*</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/*/*</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/environment/*/region/*/instance/*/*</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/environment/*/region/*/instance/*/*/*</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.HttpListConfigsHandler' bundle='configserver'>
+ <binding>http://*/config/v2/tenant/*/application/*/</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/environment/*/region/*/instance/*/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.HttpListNamedConfigsHandler' bundle='configserver'>
+ <binding>http://*/config/v2/tenant/*/application/*/*/</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/*/*/</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/environment/*/region/*/instance/*/*/</binding>
+ <binding>http://*/config/v2/tenant/*/application/*/environment/*/region/*/instance/*/*/*/</binding>
+ </handler>
+ <handler id='com.yahoo.vespa.config.server.http.v2.HostHandler' bundle='configserver'>
+ <binding>http://*/application/v2/host/*</binding>
+ </handler>
+
+ <http>
+ <server port="19071" id="configserver" />
+ <preprocess:include file='hosted-vespa/http-server.xml' required='false' />
+ </http>
+ </jdisc>
+</services>