SOA Patterns > Inventory Implementation Patterns > Inventory Endpoint
Inventory Endpoint (Erl)
How can a service inventory be shielded from external access while still offering service capabilities to external consumers?
A group of services delivered for a specific inventory may provide capabilities that are useful to services outside of that inventory. However, for security and governance reasons, it may not be desirable to expose all services or all service capabilities to external consumers.
Abstract the relevant capabilities into an endpoint service that acts as a the official inventory entry point dedicated to a specific set of external consumers.
The endpoint service can expose a contract with the same capabilities as its underlying services, but augmented with policies or other characteristics to accommodate external consumer interaction requirements.
Endpoint services can increase the governance freedom of underlying services but can also increase governance effort by introducing redundant service logic and contracts into an inventory.
A new service introduced to facilitate external consumer requirements can ensure that other native inventory services are not affected.