Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

deprecate legacy validation endpoints #1056

Merged
merged 7 commits into from
Nov 10, 2020

Conversation

karenetheridge
Copy link
Contributor

Nothing is removed yet, but clients should be getting off these endpoints/relying on these properties ASAP.

  • deprecate GET /validation and GET /validation/:id, to be removed by v3.1
  • deprecate old "test validation" endpoints, to be removed by v3.3
  • hardware_product.validation_plan_id is deprecated and will be removed soon
  • validation_plan_id will be removed from validation results by v3.1
  • deprecate all /validation_plan routes, to be removed in v4.0

@karenetheridge karenetheridge added api breaking needs-shell needs accompanying changes in conch-shell needs-ui needs accompanying changes in conch-ui labels Oct 29, 2020
@karenetheridge karenetheridge added this to the v3.0.5 milestone Oct 29, 2020
@karenetheridge karenetheridge force-pushed the ether/legacy-validation-endpoints branch 6 times, most recently from 432ba4c to d50cc1d Compare October 31, 2020 00:04
dustinryerson
dustinryerson previously approved these changes Nov 2, 2020
All relevant information is already denormalized into GET /device/:id/validation_state.

..and rename associated json schemas to s/^/Legacy/.
Database tables will be renamed in v3.3.
- POST /device/:device_id/validation/:validation_id
- POST /device/:device_id/validation_plan/:validation_plan_id
… in v3.1

in endpoints:
- POST /device_report
- POST /device/:id_or_serial_number/validation_plan/:validation_plan_id
- POST /device/:id_or_serial_number/validation/:validation_id
- GET /device/:id_or_serial_number/validation_state

It is redundant information as all the validation_ids are included with the
individual results.
..and rename schemas to s/^/Legacy/.
Database tables will be renamed in v3.3.
They are not deprecated as we will likely still be returning them in
responses some of the time, even after v4.0, when considering devices that
have not seen recent device reports.
@karenetheridge karenetheridge modified the milestones: v3.0.5, v3.0.6 Nov 4, 2020
perigrin
perigrin previously approved these changes Nov 10, 2020
@karenetheridge karenetheridge force-pushed the ether/legacy-validation-endpoints branch from d50cc1d to db2e313 Compare November 10, 2020 19:21
@karenetheridge karenetheridge merged commit f1aa60d into master Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api breaking needs-shell needs accompanying changes in conch-shell needs-ui needs accompanying changes in conch-ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants