You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Console upsert on repeat device POST instead of returning 409 #675
Description:
RPS posts the same device to the device API more than once - once from the CIRA configuration flow, and again at the end of activation to
record the provisioning status. MPS handles this as an upsert: it returns 201 for a new GUID and 200 after merging into an existing one. Console returns 409 instead.
The CIRA flow does not handle the error, so the device never gets registered. The activation status write logs it and carries on.
Expected:
Console should do what MPS does. A POST for a GUID it already has should merge the fields the caller sent, keep the ones it did not send, and return 200.
Acceptance criteria:
Second POST for the same GUID returns 200
Fields not sent are left alone
OpenAPI shows the 200 response
CIRA configuration from RPS completes against Console
Activity
feat: upsert on duplicate device POST for console + rps (device-manag…
feat: upsert on duplicate device POST for console + rps (device-manag…