/usr/share/arc/examples/echo/echo_service.xml.example is in nordugrid-arc-hed 5.3.0~rc1-1.
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 | <?xml version="1.0"?>
<ArcConfig
xmlns="http://www.nordugrid.org/schemas/ArcConfig/2007"
xmlns:tcp="http://www.nordugrid.org/schemas/ArcMCCTCP/2007"
xmlns:arex="http://www.nordugrid.org/schemas/a-rex/Config"
xmlns:echo="http://www.nordugrid.org/schemas/echo/2009/08"
>
<!-- Common configuration of the daemon -->
<Server>
<Pidfile>/var/run/arched.pid</Pidfile>
<Logger level="DEBUG"><File>/var/log/arc/arched.log<File></Logger>
</Server>
<!-- Where to find plugins -->
<ModuleManager>
<Path>/usr/lib/arc/</Path>
</ModuleManager>
<!-- Simply load all needed plugins -->
<Plugins><Name>mcctcp</Name></Plugins>
<Plugins><Name>mcctls</Name></Plugins>
<Plugins><Name>mcchttp</Name></Plugins>
<Plugins><Name>mccsoap</Name></Plugins>
<Plugins><Name>arcshc</Name></Plugins>
<Plugins><Name>echo</Name></Plugins>
<!-- Create a chain -->
<Chain>
<!-- TCP listening socket -->
<Component name="tcp.service" id="tcp">
<next id="tls"/>
<!-- If id="tcp" then service will be HTTP instead of HTTPS -->
<tcp:Listen><tcp:Port>60000</tcp:Port></tcp:Listen>
</Component>
<!-- Transport-level security -->
<Component name="tls.service" id="tls">
<next id="http"/>
<!-- Location of server's security keys -->
<KeyPath>/etc/grid-security/hostkey.pem</KeyPath>
<CertificatePath>/etc/grid-security/hostcert.pem</CertificatePath>
<CACertificatesDir>/etc/grid-security/certificates</CACertificatesDir>
<!--delegation.collector must be inside tls MCC. It will extract delegation policy from
peer proxy certificate-->
<SecHandler name="delegation.collector" id="delegation" event="incoming"></SecHandler>
</Component>
<!-- HTTP processing is done here -->
<Component name="http.service" id="http">
<next id="soap">POST</next>
</Component>
<!-- This one parses content into XML tree -->
<Component name="soap.service" id="soap">
<next id="plexer"/>
</Component>
<!-- Directing messages to proper service -->
<Plexer name="plexer.service" id="plexer">
<next id="echo">^/Echo$</next>
</Plexer>
<!-- Echo service -->
<Service name="echo" id="echo">
<echo:prefix>[ </echo:prefix>
<echo:suffix> ]</echo:suffix>
<echo:serviceid>echo_service_id</echo:serviceid>
<echo:endpoint>127.0.0.1</echo:endpoint>
<echo:expiration>P15M</echo:expiration>
</Service>
</Chain>
</ArcConfig>
|