SRM Refactor: deployment_unit_id in GET Service Specification

Description

Expose persisted deployment unit identifiers in the service specification GET response.

This updates the REST response shape so callers receive service_deployment_units[].id and service_capability_requirements[].deployment_unit_id.

The create request remains unchanged and still accepts deployment_unit_ref. SRM resolves that reference to the persisted deployment_unit_id, and GET now returns the resolved relationship explicitly.

Changes

  • Added ServiceDeploymentUnitResponseSchema with id.
  • Added deployment_unit_id to ServiceCapabilityRequirementResponseSchema.
  • Updated _build_get_response to populate both fields.
  • Extended the catalog REST test to assert the returned capability requirement points to the returned deployment unit ID.

Merge request reports

Loading
Loading