Storage Layer ConfigRepository section
The ConfigRepository section of the Storage Layer configuration file, cd_storage_conf.xml, configures the storage of the configuration itself.
Overall structure of section
The section has the following basic structure:
<ConfigRepository>
<Roles>
<Role>
<Targets>
<Target/>
...
</Targets>
...
<Urls>
<Url/>
...
</Urls>
...
</Role>
...
</Roles>
</ConfigRepository>
ConfigRepository element
This element has the following attributes:
| Attribute name | Required? | Type | Description of value |
|---|---|---|---|
ServiceURI | URI | The URL of the Discovery Service endpoint. This endpoint is used as a default source of configuration. | |
ConnectionTimeout | integer | The connection timeout (in milliseconds) for the Discovery Service endpoint | |
CacheEnabled | Boolean | Whether to enable caching of the configuration | |
CacheExpirationDuration | integer | The cache expiration period (in seconds) | |
ServiceAvailabilityCheck | Boolean | Whether to disable cache expiration if the service is unavailable | |
ServiceMonitorPollDuration | integer | The polling period (in seconds) for the Discovery Service Monitor | |
ServiceProxyHostName | string | The HTTP proxy host for OData client connections | |
ServiceProxyPort | short | The HTTP proxy port for OData client connections | |
ClientId | string | The client ID for the token service | |
ClientSecret | string | The client secret for the token service | |
TokenServiceUrl | string | The URL of the Token Service |
The ConfigRepository element has one optional child section, Roles.
Roles child section
The
Roles container element contains zero or more Role child sections, to specify and configure the list of roles enabled for this application. Each Role element has the following attributes:
| Attribute name | Required? | Type | Description of value |
|---|---|---|---|
Name | string | The name of the role | |
Strategy | string | One of the following values:
| |
Url | URI | The URL of the role |
Each
Role section can have zero or more of the following:
Targetschild section-
Each
Targetscontainer element has aNameattribute to give this list of Capability targets a name, and zero or moreTargetchild elements for the individual Capability targets. EachTargetchild item has the following optional string attributes:Attribute name Description of value NameThe name of the Capability target UrlThe URL of the Capability target TrackingUrlThe tracking URL of the Capability target ActiveThe active status of the Capability target Urlschild section-
As explained in the
Roleattributes table, this container element is only necessary if you have set yourStrategyattribute set to the valueMIRROR, meaning that the role has multiple Capability URLs. In that scenario, create oneUrlchild element for each Capability URL, and set the URL in itsValueattribute. You can also specify a name for the URL in the optionalDestinationNameattribute. Propertychild element-
Specify any number of
Propertyelements to specify named properties and their values in each element'sNameandValueattributes.