Home > Design Patterns > Inventory Endpoint
Inventory Endpoint

Inventory Endpoint (Erl)

How can a service inventory be shielded from external access while still offering service capabilities to external consumers?

Problem

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.

Solution

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.

Application

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.

Impacts

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.

Inventory Endpoint: A new service introduced to facilitate external consumer requirements can ensure that other native inventory services are not affected.

A new service introduced to facilitate external consumer requirements can ensure that other native inventory services are not affected.