This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
v3.0.2
Pre-release
Pre-release
Release v3.0.2 [PR #1031](https://github.com/joyent/conch-api/pull/1031) - `no longer return the full validation state+result on device report submission` === * Branch: ether/no-results-with-report-submission * Revision: a6b220896 * Labels: api, breaking, device reports, needs-reporter > Instead, we return the URL that can be used to fetch it in the Location header > of the response. This is much cheaper for the database, given 99% of the time it > is an automated system submitting reports and the response is not used. > > (this effectively reverses #685. sorry sungo.) People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - APPROVED](https://github.com/joyent/conch-api/pull/1031#pullrequestreview-500778354) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-01T23:30:36Z Commits --- * [c9b46c](https://github.com/joyent/conch-api/commit/c9b46c76e09c37c6e30dde92ec19cd711cd47c0d) - `no longer return the full validation state+result on device report submission` - - - [PR #1032](https://github.com/joyent/conch-api/pull/1032) - `remove deprecated "rack_id" parameter when modifying a layout` === * Branch: ether/create-layout-no-rack_id * Revision: baf72944d * Labels: api, breaking > affects endpoints: > POST /layout/:layout_id > POST /rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_start > POST /room/:datacenter_room_id_or_alias/rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_start People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - DISMISSED](https://github.com/joyent/conch-api/pull/1032#pullrequestreview-500800249) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-02T16:00:00Z Commits --- * [e10371](https://github.com/joyent/conch-api/commit/e1037166ab4e77aa0456e6e999e8eddc64856c78) - `v3.1: remove deprecated "rack_id" parameter when modifying a layout` - - - [PR #1030](https://github.com/joyent/conch-api/pull/1030) - `return the proper canonical URL when creating a hardware_vendor` === * Branch: ether/fix-create-hardware_vendor * Revision: 403f3260b * Labels: api, breaking People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - APPROVED](https://github.com/joyent/conch-api/pull/1030#pullrequestreview-500471324) * Reviewed By: [perigrin - DISMISSED](https://github.com/joyent/conch-api/pull/1030#pullrequestreview-500799776) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-02T16:10:53Z Commits --- * [8f3cb3](https://github.com/joyent/conch-api/commit/8f3cb379eaca66b1844d63ffc722e1cddbfd92b4) - `return the proper canonical URL when creating a hardware_vendor` - - - [PR #1029](https://github.com/joyent/conch-api/pull/1029) - `drop unused column device_nic.iface_driver` === * Branch: ether/remove-iface_driver * Revision: dd630b75f * Labels: api, breaking, database People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - APPROVED](https://github.com/joyent/conch-api/pull/1029#pullrequestreview-500467749) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-02T16:13:43Z Commits --- * [6bea60](https://github.com/joyent/conch-api/commit/6bea602779b31e52c17f07aff9c536d723837c35) - `drop unused column device_nic.iface_driver` * [199404](https://github.com/joyent/conch-api/commit/1994047c205487e54fb9664e755a3991cc6d0f2e) - `update version and date in schema diagrams` - - - [PR #1036](https://github.com/joyent/conch-api/pull/1036) - `fix validation result result order` === * Branch: ether/fix-validation_result-result_order * Revision: ff4a6f41a * Labels: database > fix queries used in updating v2 validation results to v3 format. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-05T20:02:32Z Commits --- * [eecfcb](https://github.com/joyent/conch-api/commit/eecfcb88bb348b3a877153096f01ffae35837f63) - `fix validation_state_member.result_order uniquification` * [dd698a](https://github.com/joyent/conch-api/commit/dd698ae8261626f839752cb29dd9d663c4603a23) - `comment out the bits that we do not run on the historical database` - - - [PR #1033](https://github.com/joyent/conch-api/pull/1033) - `simplify validation states and results endpoints` === * Branch: ether/one-validation_state-result * Revision: fa8188a63 * Labels: api, breaking, needs-shell, needs-ui > * simplify GET /device/*/validation_state to only return one result > > Previously, it returned the latest (with matching status(es)) validation_state > per plan, but we have never in practice been switching validation_plans on a > single device, so practically speaking we never returned more than one result, > and all the existing clients only display the last result anyway. > > Note that HTTP 404 will now be returned if there is no suitable validation_state > to be returned, as opposed to a previous response of 200 + "[]". > > > * denormalize legacy validation data into validation results > > ..in preparation for removing the GET /validation/* endpoints > This also eliminates the need for calling GET /validation repeatedly. > > affects endpoints: > POST /device/:device_id_or_serial_number/validation/:validation_id > POST /device/:device_id_or_serial_number/validation_plan/:validation_plan_id > POST /device_report?no_update_db=1 > GET /device/:device_id_or_serial_number/validation_state?status=<pass|fail|error>&status=... > GET /validation_state/:validation_state_id People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - DISMISSED](https://github.com/joyent/conch-api/pull/1033#pullrequestreview-500801548) * Reviewed By: [dustinryerson - DISMISSED](https://github.com/joyent/conch-api/pull/1033#pullrequestreview-503219664) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-07T22:21:10Z Commits --- * [4bb7dd](https://github.com/joyent/conch-api/commit/4bb7dd3492996050b8e929dae31eec3313d0c41f) - `simplify GET /device/*/validation_state to only return one result` * [a7a2e2](https://github.com/joyent/conch-api/commit/a7a2e20e31d73fd150e0b39a0a6b16a175ff5323) - `denormalize legacy validation data into validation results` - - - [PR #1038](https://github.com/joyent/conch-api/pull/1038) - `infrastructure and doc fixes` === * Branch: ether/infrastructure-and-doc-fixes * Revision: 79e376b90 * Labels: docs > - fix some project documentation > - fix some small details of internal and route documentation > - add an override option to the migration script > - tweak the script used to populate tags/releases People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-07T22:25:37Z Commits --- * [220354](https://github.com/joyent/conch-api/commit/2203543ad0ad3116f297d0ee67985f46b219d6b6) - `update README` * [0ff56c](https://github.com/joyent/conch-api/commit/0ff56cb318170b01941181419811aad2c4ab6a76) - `the repository is now at github.com/joyent/conch-api` * [f830f2](https://github.com/joyent/conch-api/commit/f830f2d7023ecdcae5af4f723c20f9f9a2ab85ce) - `more doc clarifications` * [eed888](https://github.com/joyent/conch-api/commit/eed888bfa427e14b91b4d0057a013f65908f1686) - `allow overriding the target database when running migrations` * [8c02a7](https://github.com/joyent/conch-api/commit/8c02a75a2e743a0f86ec25024de8298126a2d61a) - `skip the Labels: section if there are none` - - - [PR #1034](https://github.com/joyent/conch-api/pull/1034) - `inflate hardware_product.specification in requests and responses` === * Branch: ether/inflate-hardware_product-specification * Revision: 3d03ac3b6 * Labels: api, breaking, needs-shell, needs-ui > affects endpoints: > - GET /hardware_product/:id_or_name_or_alias_or_sku > - POST /hardware_product > - POST /hardware_product/:id_or_name_or_alias_or_sku > > Previously it was json-encoded, but this complicated validating request > payload verification, and also clients will want to render the specification > contents anyway, so just pass them around as inflated structures. > > Also note that in api v4.0, this field will be removed entirely. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [dustinryerson - DISMISSED](https://github.com/joyent/conch-api/pull/1034#pullrequestreview-503234976) * Reviewed By: [perigrin - APPROVED](https://github.com/joyent/conch-api/pull/1034#pullrequestreview-504330315) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-07T23:26:22Z Commits --- * [cb411f](https://github.com/joyent/conch-api/commit/cb411fcbfd569eaeb47cdc091b6ad56131ca0d3a) - `inflate hardware_product.specification in requests and responses` - - - [PR #1039](https://github.com/joyent/conch-api/pull/1039) - `also log the exception when email sending fails` === * Branch: ether/fix-email-errors * Revision: 67d79eb42 * Labels: bug > ..which will help us see that our previous attempts to send email errors to > rollbar were also failing People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-10-07T23:35:59Z Commits --- * [132a8a](https://github.com/joyent/conch-api/commit/132a8a709c531fe4508d95332099576793e796f0) - `also log the exception when email sending fails` - - -