joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

fix: hardware_product.specification must be a json string #1015

Closed karenetheridge closed 4 years ago

karenetheridge commented 4 years ago

validate hardware_product.specification on creation and update

The specification property must be null, or a properly json-encoded string. Note that this will be changing in v3.1: specification will be passed as a fully inflated document rather than as an encoded string.

resolves rollbar notifications: https://rollbar.com/joyent_buildops/conch/items/3502 https://rollbar.com/joyent_buildops/conch/items/3503