aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/routing/replacehop/services.xml
blob: fe8292410bb496292b393aaed15f40f0a87ab790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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>

    <admin version="2.0">
        <adminserver hostalias="node1" />
        <logserver hostalias="node1" />
        <slobroks>
            <slobrok hostalias="node1" />
        </slobroks>
    </admin>

    <content id="music" version="1.0">
        <redundancy>1</redundancy>
        <nodes>
            <node hostalias="node1" distribution-key="0"/>
        </nodes>
        <documents>
            <document type="music" mode="index"/>
        </documents>
    </content>

    <routing version="1.0">
        <routingtable protocol="document">
            <hop name="search/cluster.music" selector="foo" />
        </routingtable>
        <services protocol="document">
            <service name="foo" />
        </services>
    </routing>

</services>