Petals-BC-Gateway 0.0.5-SNAPSHOT

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (13)

View Page History
{tip}The elements defined inside {{provider-domain}} in an SU accept placeholder values.{tip}

h2. Examples of Service Propagations

If we start with one container for A and one container for B without anything on them and after:
h2. Consumes SU

{petalslink}explain coherence/ambiguity consumes{petalslink}
In a Consumes SU, one must declare at least one {{consumer-domain}} and some {{consumes}} element to determine the services to be propagated to one or several of these consumer domains.

The {{consumes}} element can't override each other for the same {{consumer-domain}}:
* If there is a {{consumes}} of type {{Interface:Service:endpoint}}, then there can't be another {{consumes}} of type {{Interface:Service:endpoint}}, {{Interface:Service:}} or {{Interface::}} defined for the same {{consumer-domain}}.
* If there is a {{consumes}} of type {{Interface:Service:}}, then there can't be another {{consumes}} of type {{Interface:Service:}} or {{Interface::}} defined for the same {{consumer-domain}}.
* If there is a {{consumes}} of type {{Interface::}}, then there can't be another {{consumes}} of type {{Interface::}} defined for the same {{consumer-domain}}.

h3. Consumer Domain Element

{petalslink}explain polling delay mechanism{petalslink}

{center}{*}Configuration of a consumer domain*{center}
{center}{*}Configuration of a {{consumer-domain}} element *{center}
{table-plus:columnAttributes=,,style="text-align:center;",style="text-align:center;"}
|| Parameter or +Attribute+ || Description || Default || Required ||
h3. Consumes Element

{petalslink}explain the recommended values for mep and operation (i.e. null)...{petalslink}
Note that in {{consumes}} elements for the Gateway BC, it has no meaning to specify a {{mep}} or an {{operation}}: they will be ignored, thus it is recommended to always set the {{mep}} to {{nil}} (because it is required to specify it):
{code:lang=xml}
<cdk:mep xsi:nil="true" />
{code}

{include:0 CDK SU Consume Configuration}
h2. Provides SU

{petalslink}explain coherence/ambiguity provides{petalslink}
In a Provides SU, one must declare at least one {{provider-domain}} and optionally some {{provides}} element to determine how the services are being propagated from one of the provider domain.

The {{provides}} element must have a {{provider}} element and these can't override each other for the same {{provider-domain}}:
* If there is a {{provides}} with a {{provider}} of type {{Interface:Service:endpoint}}, then there can't be another {{provides}} with a {{provider}} of type {{Interface:Service:endpoint}} or {{Interface:Service:}} defined for the same {{provider-domain}}.
* If there is a {{provides}} with a {{provider}} of type {{Interface:Service:}}, then there can't be another {{provides}} with a {{provider}} of type {{Interface:Service:}} defined for the same {{provider-domain}}.

h3. Provider Domain Element

The component configuration includes the configuration of the CDK. The following parameters correspond to the CDK configuration.

{petalslink}change the default values for the CDK thread pools...{petalslink}

{include:0 CDK Component Configuration Table 5.6.0}

{info}Note that the parameters {{processor-pool-size}} and {{processor-max-pool-size}} defaults respectively to {{1}} and {{6}} in the Gateway BC.{info}

{center}{*}Configuration of the component, Gateway part*{center}
{table-plus:columnAttributes=,,style="text-align:center;",style="text-align:center;"}