Skip to content

SED | OED | EAM | AED discovery operations: move device identifiers from request headers to request object #336

@Kevsy

Description

@Kevsy

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:

  1. Change the operation method from GET to POST.
  2. Agree a new resource verb structure for the operation path resource name.
  3. Agree the request device object, aiming for consistency across the APIs.
  4. 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

Metadata

Metadata

Labels

Fall25correctionSuggesting corrections of API specification or indicating misalignment with API design guidelines

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions