img
Home > Candidate Patterns > Composition Endpoints

Composition Endpoints

How can a service composition facilitate an increased range of service 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 collection of service compositions.

Solution

A single service composition can be equipped with multiple endpoints that accommodate a range of service consumers and input values.

Application

Several design techniques can be employed to incorporate new endpoints. The Concurrent Contracts or Contract Denormalization patterns may need to be applied to the composition.

Impacts

To facilitate a range of input values increases the complexity of the composition logic and further increases the governance effort of the composition.


Architecture

Composition

Status

Under Review

Contributors

Thomas Erl

Contributor Notes

This is one of several complex composition governance patterns that I'm working on. It's been successfully applied many times, but I have not yet received a wide enough validation to classify it as a mature and fully provenn pattern.

- Thomas Erl