/usr/share/ice/templates.xml is in zeroc-icegrid 3.7.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | <!--
**********************************************************************
Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
This copy of Ice is licensed to you under the terms described in the
ICE_LICENSE file included in this distribution.
**********************************************************************
-->
<icegrid>
<application name="Templates">
<server-template id="Glacier2">
<parameter name="instance-name" default="${application}.Glacier2"/>
<parameter name="client-endpoints"/>
<parameter name="server-endpoints" default=""/>
<parameter name="session-timeout" default="0"/>
<server id="${instance-name}" exe="glacier2router" activation="always">
<properties>
<property name="Glacier2.Client.Endpoints" value="${client-endpoints}"/>
<property name="Glacier2.Server.Endpoints" value="${server-endpoints}"/>
<property name="Glacier2.InstanceName" value="${instance-name}"/>
<property name="Glacier2.SessionTimeout" value="${session-timeout}"/>
</properties>
</server>
</server-template>
<service-template id="IceStorm">
<parameter name="instance-name" default="${application}.IceStorm"/>
<parameter name="topic-manager-endpoints" default="default"/>
<parameter name="publish-endpoints" default="default"/>
<parameter name="flush-timeout" default="1000"/>
<service name="${instance-name}" entry="IceStormService,37:createIceStorm">
<adapter name="${service}.TopicManager"
id="${instance-name}.TopicManager"
endpoints="${topic-manager-endpoints}">
<object identity="${instance-name}/TopicManager" type="::IceStorm::TopicManager"/>
</adapter>
<adapter name="${service}.Publish" id="${instance-name}.Publish" endpoints="${publish-endpoints}"/>
<properties>
<property name="${service}.LMDB.Path" value="${service.data}"/>
<property name="${service}.InstanceName" value="${instance-name}"/>
<property name="${service}.Flush.Timeout" value="${flush-timeout}"/>
</properties>
</service>
</service-template>
<server-template id="IceStorm">
<parameter name="instance-name" default="${application}.IceStorm"/>
<parameter name="topic-manager-endpoints" default="default"/>
<parameter name="publish-endpoints" default="default"/>
<parameter name="flush-timeout" default="1000"/>
<icebox id="${instance-name}" exe="icebox" activation="on-demand">
<service-instance template="IceStorm"
instance-name="${instance-name}"
topic-manager-endpoints="${topic-manager-endpoints}"
publish-endpoints="${publish-endpoints}"
flush-timeout="${flush-timeout}"/>
</icebox>
</server-template>
<service-template id="IceStorm-HA">
<parameter name="instance-name" default="${application}.IceStorm"/>
<parameter name="node-id"/>
<parameter name="topic-manager-endpoints" default="default"/>
<parameter name="publish-endpoints" default="default"/>
<parameter name="node-endpoints" default="default"/>
<parameter name="flush-timeout" default="1000"/>
<parameter name="publish-replica-group"/>
<parameter name="topic-manager-replica-group"/>
<service name="${instance-name}${node-id}" entry="IceStormService,37:createIceStorm">
<adapter name="${service}.TopicManager"
id="${instance-name}${node-id}.TopicManager"
endpoints="${topic-manager-endpoints}"
replica-group="${topic-manager-replica-group}"/>
<adapter name="${service}.Publish"
id="${instance-name}${node-id}.Publish"
endpoints="${publish-endpoints}"
replica-group="${publish-replica-group}"/>
<adapter name="${service}.Node" id="${instance-name}${node-id}.Node" endpoints="${node-endpoints}"/>
<properties>
<property name="${service}.LMDB.Path" value="${service.data}"/>
<property name="${service}.InstanceName" value="${instance-name}"/>
<property name="${service}.NodeId" value="${node-id}"/>
<property name="${service}.Flush.Timeout" value="${flush-timeout}"/>
</properties>
</service>
</service-template>
<server-template id="IceStorm-HA">
<parameter name="instance-name" default="${application}.IceStorm"/>
<parameter name="node-id"/>
<parameter name="topic-manager-endpoints" default="default"/>
<parameter name="publish-endpoints" default="default"/>
<parameter name="node-endpoints" default="default"/>
<parameter name="flush-timeout" default="1000"/>
<parameter name="publish-replica-group"/>
<parameter name="topic-manager-replica-group"/>
<icebox id="${instance-name}${node-id}" exe="icebox" activation="on-demand">
<service-instance template="IceStorm-HA"
instance-name="${instance-name}"
node-id="${node-id}"
topic-manager-endpoints="${topic-manager-endpoints}"
publish-endpoints="${publish-endpoints}"
node-endpoints="${node-endpoints}"
flush-timeout="${flush-timeout}"
publish-replica-group="${publish-replica-group}"
topic-manager-replica-group="${topic-manager-replica-group}"/>
</icebox>
</server-template>
</application>
</icegrid>
|