All Downloads are FREE. Search and download functionalities are using the official Maven repository.

configserver-app.services.xml Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0" xmlns:preprocess="properties">
  <container id="configserver" version="1.0">
    <config name="container.jdisc.config.health-monitor">
      <initialStatus>initializing</initialStatus>
    </config>

    <accesslog type="vespa" fileNamePattern="logs/vespa/configserver/access.log.%Y%m%d%H%M%S" compressOnRotation="true" symlinkName="access.log" />
    <accesslog type="json"  fileNamePattern="logs/vespa/configserver/access-json.log.%Y%m%d%H%M%S" symlinkName="access-json.log" compressOnRotation="true" />

    <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.ConfigServerZooKeeperServer" bundle="zookeeper-server" />
    <component id="com.yahoo.vespa.config.server.rpc.RpcServer" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.ConfigServerDB" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.filedistribution.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.SuperModelManager" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.SuperModelRequestHandler" 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.config.server.deploy.InfraDeployerProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.curator.Curator" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.tenant.TenantRepository" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.host.HostRegistry" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.ApplicationRepository" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.FallbackOnnxModelCostProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.HealthCheckerProviderProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.version.VersionState" bundle="configserver" />
    <component id="com.yahoo.config.provision.Zone" bundle="config-provisioning" />
    <component id="com.yahoo.vespa.config.server.application.ConfigConvergenceChecker" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.application.HttpProxy" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.filedistribution.FileServer" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.filedistribution.FileDirectory" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.rpc.RpcRequestHandlerProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.rpc.security.DummyNodeIdentifierProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.rpc.security.DummyNodeHostnameVerifierProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.rpc.security.DefaultRpcAuthorizerProvider" bundle="configserver" />
    <component id="com.yahoo.vespa.config.server.http.TesterClient" bundle="configserver" />

    <components>
      <include dir="config-models" />
    </components>

    <preprocess:include file='config-models.xml' required='false' />
    <preprocess:include file='model-integration.xml' required='true' />

    <component id="com.yahoo.vespa.configserver.flags.ConfigServerFlagSource" bundle="configserver-flags"/>
    <component id="com.yahoo.vespa.configserver.flags.db.FlagsDbImpl" bundle="configserver-flags"/>

    <component id="com.yahoo.vespa.service.slobrok.SlobrokMonitorManagerImpl" bundle="service-monitor" />
    <component id="com.yahoo.vespa.service.health.HealthMonitorManager" bundle="service-monitor" />
    <component id="com.yahoo.vespa.service.manager.UnionMonitorManager" bundle="service-monitor" />
    <component id="com.yahoo.vespa.service.model.ServiceMonitorImpl" bundle="service-monitor" />
    <component id="com.yahoo.vespa.service.duper.DuperModelManager" bundle="service-monitor" />
    <component id="com.yahoo.vespa.orchestrator.status.ZkStatusService" bundle="orchestrator" />
    <component id="com.yahoo.vespa.orchestrator.controller.RetryingClusterControllerClientFactory" bundle="orchestrator" />
    <component id="com.yahoo.vespa.orchestrator.OrchestratorImpl" bundle="orchestrator">
      <preprocess:include file="orchestrator-config.xml" required="false" />
    </component>
    
    <handler id="com.yahoo.vespa.orchestrator.resources.ApplicationSuspensionRequestHandler" bundle="orchestrator">
      <binding>http://*/orchestrator/v1/suspensions/applications</binding>
      <binding>http://*/orchestrator/v1/suspensions/applications/*</binding>
    </handler>
    <handler id="com.yahoo.vespa.orchestrator.resources.HealthRequestHandler" bundle="orchestrator">
      <binding>http://*/orchestrator/v1/health</binding>
      <binding>http://*/orchestrator/v1/health/*</binding>
    </handler>
    <handler id="com.yahoo.vespa.orchestrator.resources.HostRequestHandler" bundle="orchestrator">
      <binding>http://*/orchestrator/v1/hosts</binding>
      <binding>http://*/orchestrator/v1/hosts/*</binding>
    </handler>
    <handler id="com.yahoo.vespa.orchestrator.resources.HostSuspensionRequestHandler" bundle="orchestrator">
      <binding>http://*/orchestrator/v1/suspensions/hosts</binding>
      <binding>http://*/orchestrator/v1/suspensions/hosts/*</binding>
    </handler>
    <handler id="com.yahoo.vespa.orchestrator.resources.InstanceRequestHandler" bundle="orchestrator">
      <binding>http://*/orchestrator/v1/instances</binding>
      <binding>http://*/orchestrator/v1/instances/*</binding>
    </handler>
    <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.status.StatusHandler' bundle='configserver'>
      <binding>http://*/status</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.ApplicationApiHandler' bundle='configserver'>
      <binding>http://*/application/v2/tenant/*/prepareandactivate</binding>
      <binding>http://*/application/v2/tenant/*/prepareandactivate/*</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/*</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">
        <config name="jdisc.http.connector">
          <!-- Limit max request content size accepted -->
          <maxContentSize>0</maxContentSize> <!-- 0 => scale based on max heap size -->
          <maxContentSizeErrorMessageTemplate>Application package is too large (%1$d > %2$d bytes). Try increasing config server heap size by setting VESPA_CONFIGSERVER_JVMARGS. See https://docs.vespa.ai/en/performance/container-tuning.html#config-server-and-config-proxy</maxContentSizeErrorMessageTemplate>
        </config>
      </server>
      <preprocess:include file='http-server.xml' required='false' />
    </http>

    <preprocess:include file='configserver-config.xml' required='false' />

    <preprocess:include file='configserver-components.xml' required='false' />

  </container>
</services>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy