summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin/src/test/rest-api-application/services.xml
blob: df178e109c3deb141bb8da7b8003e154f39eada3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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. -->
<jdisc version="1.0" jetty="true">

    <handler id="com.yahoo.document.restapi.resource.RestApiWithTestDocumentHandler" bundle="integration-test">
        <binding>http://*/document/v1/*</binding>
    </handler>

    <component id="injected" class="com.yahoo.document.restapi.resource.MockedOperationHandler" bundle="integration-test">
    </component>


    <http>
        <!-- This indicates that we want JDisc to allocate a port for us -->
        <server id="mainServer" port="0" />
    </http>
</jdisc>