Composition Endpoints
Composition Endpoints
How can a composition facilitate an increased range of consumer
requirements?
|
Problem
Service compositions are
often created to automate a specific parent task. When variations of this
task emerge, new compositions are assembled, leading to a potentially bloated
composition inventory.
|
|
Solution
A single composition can be
equipped with multiple endpoints that accommodate a range of consumers and
input values.
|
|
Application
Several design techniques
can be employed to incorporate new endpoints. The Concurrent Contracts or
Denormalized Contract patterns may need to be applied to the composition.
|
Consequences
To facilitate a range of
input values increases the complexity of the composition logic and further
increases the governance effort of the composition.
|
|
Related Patterns
Capability Recomposition
|
Related Principles
Service Reusability,
Service Composability
|
|
Status
Under Consideration
|
Contributor
Thomas Erl
|
Contributor Notes
This design pattern has been
successfully applied, but not yet widely enough to be considered a proven
pattern. It will remain a candidate for some time until it has been fully
validated and there is a clear need for it.
- Thomas Erl
|