summaryrefslogtreecommitdiffstats
path: root/node-admin/node-admin-zone-app
diff options
context:
space:
mode:
authorvalerijf <valerijf@yahoo-inc.com>2017-05-16 13:11:53 +0200
committervalerijf <valerijf@yahoo-inc.com>2017-05-16 13:11:53 +0200
commit264fb12009f391b0e5b6578af3d0fde2e21dd424 (patch)
tree6e76729c21830cc5180bf978110c0eef2dd7eb9f /node-admin/node-admin-zone-app
parent61f57c7168f723d01b2cdd7fecb3fcabc9b0eb03 (diff)
Make it possible to run local zone locally again
Diffstat (limited to 'node-admin/node-admin-zone-app')
-rw-r--r--node-admin/node-admin-zone-app/services.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/node-admin/node-admin-zone-app/services.xml b/node-admin/node-admin-zone-app/services.xml
new file mode 100644
index 00000000000..2538778e8b3
--- /dev/null
+++ b/node-admin/node-admin-zone-app/services.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<services version="1.0" application-type="hosted-infrastructure" xmlns:deploy="vespa" xmlns:preprocess="properties">
+
+ <jdisc id="node-admin" jetty="true" version="1.0">
+ <handler id="com.yahoo.vespa.hosted.node.admin.restapi.RestApiHandler" bundle="node-admin">
+ <binding>http://*/rest/*</binding>
+ </handler>
+ <component id="node-admin" class="com.yahoo.vespa.hosted.node.admin.provider.ComponentsProviderImpl" bundle="node-admin"/>
+ <component id="docker-api" class="com.yahoo.vespa.hosted.dockerapi.DockerImpl" bundle="docker-api"/>
+ <component id="metrics-wrapper" class="com.yahoo.vespa.hosted.dockerapi.metrics.MetricReceiverWrapper" bundle="docker-api"/>
+
+ <config name='vespa.hosted.dockerapi.docker'>
+ <isRunningLocally>true</isRunningLocally>
+ </config>
+
+ <config name='vespa.hosted.node.admin.node-admin'>
+ <isRunningLocally>true</isRunningLocally>
+ </config>
+
+ <nodes jvmargs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=localhost:5555 -Dvespa.freezedetector.disable=true" type="host"/>
+ </jdisc>
+
+</services>