-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Problem description
As part of the Release Management review for SimpleEdgeDiscovery, TSC Chair @hdamker commented that SED uses request headers rather than a request object to pass device identifiers. Although that is supported by the current API design guidelines, SimpleEdgeDiscovery is the only stable CAMARA API using request headers for device identifiers. For consistency, SimpleEdgeDiscovery (SED), OptimalEdgeDiscovery (OED), EdgeApplicationManagement (EAM), ApplicationEndpointDiscovery (AED) should refactor any discovery operations requiring device identifiers from GET to POST.
Expected behavior
For Edge Cloud Zone discovery operations that require a device identifier:
- Change the operation method from GET to POST.
- Agree a new resource verb structure for the operation path resource name.
- Agree the request device object, aiming for consistency across the APIs.
- Create PRs of the YAML for each API.
For Edge Cloud Zone discovery operations that do not require a device identifier, we can keep GET /edge-cloud-zones
Alternative solution
Additional context