summaryrefslogtreecommitdiffstats
path: root/node-repository/src/main/config
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /node-repository/src/main/config
Publish
Diffstat (limited to 'node-repository/src/main/config')
-rw-r--r--node-repository/src/main/config/node-repository.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/node-repository/src/main/config/node-repository.xml b/node-repository/src/main/config/node-repository.xml
new file mode 100644
index 00000000000..de9d5da1eef
--- /dev/null
+++ b/node-repository/src/main/config/node-repository.xml
@@ -0,0 +1,21 @@
+<!-- services.xml snippet for the node repository. Included in config server services.xml if the package is installed-->
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<component id="com.yahoo.vespa.hosted.provision.provisioning.NodeRepositoryProvisioner" bundle="node-repository" />
+<component id="NodeRepository" class="com.yahoo.vespa.hosted.provision.NodeRepository" bundle="node-repository"/>
+<component id="com.yahoo.vespa.hosted.provision.maintenance.NodeRepositoryMaintenance" bundle="node-repository"/>
+<component id="com.yahoo.vespa.hosted.provision.monitoring.ProvisionMetrics" bundle="node-repository" />
+<component id="com.yahoo.vespa.hosted.provision.node.NodeFlavors" bundle="node-repository" />
+
+<rest-api path="hack" jersey2="true">
+ <components bundle="node-repository" />
+</rest-api>
+
+<handler id="com.yahoo.vespa.hosted.provision.restapi.v1.NodesApiHandler" bundle="node-repository">
+ <binding>http://*/nodes/v1/</binding>
+</handler>
+
+<handler id="com.yahoo.vespa.hosted.provision.restapi.v2.NodesApiHandler" bundle="node-repository">
+ <binding>http://*/nodes/v2/*</binding>
+</handler>
+
+<preprocess:include file="node-flavors.xml" required="false" />