<!-- services.xml snippet for the node repository. Included in config server services.xml if the package is installed-->
<!-- Copyright 2017 Yahoo Holdings. 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.config.provision.NodeFlavors" bundle="config-provisioning" />

<rest-api path="hack" jersey2="true">
    <components bundle="node-repository" />
</rest-api>

<handler id="com.yahoo.vespa.hosted.provision.restapi.v2.NodesApiHandler" bundle="node-repository">
    <binding>http://*/nodes/v2/*</binding>
    <binding>https://*/nodes/v2/*</binding>
</handler>

<preprocess:include file="node-flavors.xml" required="false" />
<preprocess:include file="node-repository-config.xml" required="false" />

<!-- services.xml snippet for the node repository. Included in config server services.xml if the package is installed-->
<!-- Copyright 2017 Yahoo Holdings. 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.config.provision.NodeFlavors" bundle="config-provisioning" />

<handler id="com.yahoo.vespa.hosted.provision.restapi.v2.NodesApiHandler" bundle="node-repository">
    <binding>http://*/nodes/v2/*</binding>
    <binding>https://*/nodes/v2/*</binding>
</handler>

<preprocess:include file="node-flavors.xml" required="false" />
<preprocess:include file="node-repository-config.xml" required="false" />

Remove binding for non-existent API
Remove binding for non-existent API
