Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCD-3928: Move surveillance endpoints under certified-products controller #1776

Open
wants to merge 10 commits into
base: staging
Choose a base branch
from

Conversation

kekey1
Copy link
Contributor

@kekey1 kekey1 commented Jan 15, 2025

  • Also get rid of certifiedProduct field usage in Surveillance object and deprecate that field
  • Get rid of the long-deprecated /collections/certified-products endpoint. The surveillance page was the only place remaining using this endpoint.

The surveillance PUT, POST, and DELETE endpoints are being moved to the
certified product controller. The new endpoint will have the format
/certified-products/<id>/surveillance/<id>. Since the certified product
ID will be part of the URL path, it does not need to be included as part
of the Surveillance object. That design was always a little weird. This
commit also removes use of the certifiedProduct field as much as
possible.

[#OCD-3928]
Breaking Change

Hallelujah!!

[#OCD-3928]
@kekey1 kekey1 requested a review from tmy1313 as a code owner January 15, 2025 11:59
@kekey1 kekey1 requested a review from andlar January 15, 2025 11:59
andlar
andlar previously approved these changes Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants