Skip to content

feat: tell 409 conflicts apart #247

Closed

Description

@uniqueg

Why?

PUT /services/{serviceId} returns 409 both for a duplicate service (sometimes without naming it, if the existing service is hidden) and for a non-admin's update of a pending service (#238). Clients can only tell them apart by the detail text (elixir-cloud-aai/cloud-registry-ui#46).

What?

  • Give each 409 problem response a stable discriminator, e.g. the RFC 9457 type URI or a code member (duplicate-service, pending-service, service-type-in-use, …), documented in the API spec.
  • Keep detail and the existing members unchanged.

Acceptance criteria

  • Every 409 the registry returns carries a documented discriminator, covered by tests.

Activity

  1. added
    priority: medium
    status: triage
    type: feature
    workload: hours
    on Oct 25, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Oct 26, 2026
  3. removed
    status: in progress
    on Oct 26, 2026
  4. added a commit that references this issue on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions