This documentation is for WSO2 Stratos 2.0.0. View the latest Apache Stratos documentation.

||
Skip to end of metadata
Go to start of metadata

 

Carbon Service XML

 

Non-Carbon Service XML

 

Element Definitions

Click the respective element link for in-depth information.


service

CriteriaDescription
XML Syntax
<service>
Description

Represents a service cluster in the Stratos 2 environment.

Mandatory/Optional

Mandatory

Attribute
domain
DescriptionService cluster domain.
TypeString
Mandatory/OptionalMandatory
Attribute
subDomain
DescriptionMandatory
TypeString 
Mandatory/OptionalService cluster sub-domain.
Attribute
tenantRange
DescriptionRange of tenant IDs. This can either be one digit or a range such as 1-2
TypeString 
Mandatory/OptionalMandatory

 

cartridge

CriteriaDescription
XML Syntax
<cartridge/>
DescriptionReference to the Cartridge.
Mandatory/Optional Optional
Attribute
type
DescriptionUsed to uniquely identify a Cartridge in the Stratos 2 environment. The type should be unique among all the Cartridge definitions.
TypeString 
Mandatory/OptionalMandatory

 

host

CriteriaDescription
XML Syntax
<host>
DescriptionHost name of this service instance.
TypeString
Mandatory/OptionalOptional

 

payload

CriteriaDescription
XML Syntax
<payload>
DescriptionPath to the payload file.
TypeString
Mandatory/OptionalOptional

 

property

CriteriaDescription
XML Syntax
<property>
DescriptionDefines the property of the service cluster.
Mandatory/Optional Optional
Attribute
name
TypeString
Mandatory/OptionalMandatory
Attributevalue
TypeString 
Mandatory/OptionalMandatory


  • No labels