PR #1056 - deprecate legacy validation endpoints
-
Branch: ether/legacy-validation-endpoints
-
Revision: f1aa60d
-
Labels: api, breaking, needs-shell, needs-ui
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
People
- Author: karenetheridge
- Reviewed By: dustinryerson - DISMISSED
- Reviewed By: perigrin - DISMISSED
- Merged By: karenetheridge
- Merged: 2020-11-10T19:21:31Z
Commits
- 5d63aa -
move /validation_plan and /validation_state routes off to their own files
- 2a7454 -
deprecate GET /validation and GET /validation/:id, to be removed in v3.1
- 9860ff -
deprecate old "test validation" endpoints, to be removed in v4.0
- 7cf1f5 -
hardware_product.validation_plan_id is deprecated and will be removed soon
- 3eba9b -
"validation_plan_id" property will be removed from validation results in v3.1
- 201263 -
deprecate all /validation_plan routes, to be removed in v4.0
- db2e31 -
rename validation result json schemas as s/^/Legacy/.
PR #1058 - endpoint improvements
-
Branch: ether/simplified-users
-
Revision: 7661949
-
Labels: api, breaking, enhancement
- remove organization and build data from from GET /user
- fix query parameter specification -- allow ?ids_only=0&serials_only=0
- add ?phase=value option to GET /build/:id_or_name/device
- add ?phase=value, ?ids_only options to GET /build/:id_or_name/rack
People
- Author: karenetheridge
- Reviewed By: perigrin - DISMISSED
- Reviewed By: dustinryerson - DISMISSED
- Merged By: karenetheridge
- Merged: 2020-11-12T16:23:17Z
Commits
- 794484 -
remove organization and build data from from GET /user
- 8d5473 -
fix query parameter specification -- allow ?ids_only=0&serials_only=0
- 7f1017 -
add ?phase=value option to GET /build/:id_or_name/device
- 3508bf -
add ?phase=value, ?ids_only options to GET /build/:id_or_name/rack
PR #1059 - Add completed_status to build table
-
Branch: ether/build-completed_status
-
Revision: 163dd8c
-
Labels: api, database, enhancement
add build.completed_status
..to be returned in payloads for
GET /build/:id_or_name
GET /buildNow a build can be completed even if it has unhealthy devices.
build.completed_status = 'success' iff all devices are healthy,
and 'failure' otherwise.
People
- Author: karenetheridge
- Reviewed By: perigrin - APPROVED
- Reviewed By: dustinryerson - APPROVED
- Merged By: karenetheridge
- Merged: 2020-11-12T19:47:13Z
Commits
- ff3797 -
use a separate json schema for each action in the route chain
- f952b2 -
include database constraints in Build json schema
- 0fa781 -
add build.completed_status
PR #1060 - delete old device reports
-
Branch: ether/thin-device-reports
-
Revision: 9efc2c2
-
Labels: database, device reports
We will delete all device reports (and associated validation_state records,
and then orphaned validation_results) that are older than 6 months, except we
retain the most recent report of each state (error, fail, pass).Due to the amount of time to run (6+ hours), it is implemented mainly as a
command that can be run in parallel with normal operations, rather than as a
database migration that is run in between system restarts.
People
-
Author: karenetheridge
-
Merged By: karenetheridge
-
Merged: 2020-11-12T19:53:23Z
Commits
- 569c62 -
delete old device reports
PR #1061 - fix migration for build.completed_status
-
Branch: ether/fix-completed-builds
-
Revision: 4077281
-
Labels: bug, database
People
-
Author: karenetheridge
-
Merged By: karenetheridge
-
Merged: 2020-11-12T20:40:47Z
Commits
- 668d2a -
fix migration for build.completed_status