camara / original /ApplicationEndpointRegistration /documentation /API_documentation /application-endpoint-registration-User-Story.md
Application Endpoint Registration API User Story
| Item | Details |
|---|---|
| Summary | As an application developer who has deployed my application across multiple Edge Cloud Zones, I need a way to register and manage the endpoints of my application instances. The Application Endpoint Registration API allows me to register my application endpoints across different Edge Cloud Zones, update their information when necessary, retrieve endpoint details, and remove endpoints when they are decommissioned. This registration process enables the discovery of these endpoints through the Application Endpoint Discovery API, ensuring users can connect to the optimal instance of my application. |
| Roles, Actors and Scope | Roles: API Consumer:Developer Actors: Application service providers, hyperscalers, application developers Scope:
|
| Pre-conditions | The preconditions are listed below:
|
| Activities/Steps | Starts when: 1. The API consumer application server makes requests to: - Register a new application endpoint by providing endpoint details. - Retrieve information about a specific registered endpoint. - Update the details of an existing registered endpoint. - Delete a registered endpoint that is no longer active. Ends when: 1. The API endpoint successfully processes the registration, update, retrieval, or deletion request. |
| Post-conditions | 1. For registration: A new application endpoint is registered and available for discovery. 2. For update: The application endpoint information is updated with the latest details. 3. For retrieval: The current information about the application endpoint is provided. 4. For deletion: The application endpoint is removed from the registration system and will no longer be discoverable. |
| Exceptions | Several exceptions might occur - Unauthorized: Not valid credentials (e.g. use of already expired access token). - Invalid input: Not valid input data to register or update an endpoint (e.g. malformed URI). - Conflict: An endpoint with the same identifier already exists during registration. - Not Found: The requested endpoint doesn't exist during retrieval, update, or deletion operations. |