-
Notifications
You must be signed in to change notification settings - Fork 0
Service definition
drakehutner edited this page Apr 23, 2013
·
3 revisions
A service is defined by a XML-document. The service's dependencies are listed by their names. The document can hold a nested configuration with service specific configuration options.
The name of the service is a string without any whitespaces.
The version of the service is composed by a major and a minor version, separated by a dot. It can have an additional suffix like "alpha","beta","nightly"
<?xml version="1.0" encoding="utf-8"?>
<hydra:service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:hydra="http://www.gethydrated.org/schema/service"
xsi:schemaLocation="http://www.gethydrated.org/schema/service.xsd">
<name>www</name>
<version>1.0alpha</version>
<dependencies>
<dependency name="network" />
</dependencies>
<configuration name="hostname" value="localhost" />
</hydra:service>