Make all API samples valid JSON

As part of the migration to pre-commit for CI, we will begin linting
JSON files in the repo. These were all invalid JSON and are being
updated in anticipation of that update.

Change-Id: Ib6c7581fb20211d2b7134f506286c73e5c2cd6bb
This commit is contained in:
Jay Faulkner 2024-10-29 13:24:21 -07:00
parent e8d29df979
commit a72aad5354
4 changed files with 17 additions and 21 deletions

View File

@ -16,12 +16,12 @@
"value": "Enabled", "value": "Enabled",
"attribute_type": "Enumeration", "attribute_type": "Enumeration",
"allowable_values": ["Enabled", "Disabled"], "allowable_values": ["Enabled", "Disabled"],
"lower_bound": None, "lower_bound": null,
"max_length": None, "max_length": null,
"min_length": None, "min_length": null,
"read_only": false, "read_only": false,
"reset_required": None, "reset_required": null,
"unique": None, "unique": null,
"upper_bound": None "upper_bound": null
} }
} }

View File

@ -17,13 +17,13 @@
"value": "Enabled", "value": "Enabled",
"attribute_type": "Enumeration", "attribute_type": "Enumeration",
"allowable_values": ["Enabled", "Disabled"], "allowable_values": ["Enabled", "Disabled"],
"lower_bound": None, "lower_bound": null,
"max_length": None, "max_length": null,
"min_length": None, "min_length": null,
"read_only": false, "read_only": false,
"reset_required": None, "reset_required": null,
"unique": None, "unique": null,
"upper_bound": None "upper_bound": null
} }
] ]
} }

View File

@ -4,13 +4,11 @@
"name": "system", "name": "system",
"links": [ "links": [
{ {
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/ "href": "http://127.0.0.1:6385/v1/nodes/Compute0/management/indicators/system",
management/indicators/system",
"rel": "self" "rel": "self"
}, },
{ {
"href": "http://127.0.0.1:6385/nodes/Compute0/ "href": "http://127.0.0.1:6385/nodes/Compute0/management/indicators/system",
management/indicators/system",
"rel": "bookmark" "rel": "bookmark"
} }
] ]
@ -19,13 +17,11 @@
"name": "chassis", "name": "chassis",
"links": [ "links": [
{ {
"href": "http://127.0.0.1:6385/v1/nodes/Compute0/ "href": "http://127.0.0.1:6385/v1/nodes/Compute0/management/indicators/chassis",
management/indicators/chassis",
"rel": "self" "rel": "self"
}, },
{ {
"href": "http://127.0.0.1:6385/nodes/Compute0/ "href": "http://127.0.0.1:6385/nodes/Compute0/management/indicators/chassis",
management/indicators/chassis",
"rel": "bookmark" "rel": "bookmark"
} }
] ]

View File

@ -2,7 +2,7 @@
"shards": [ "shards": [
{ {
"count": 47, "count": 47,
"name": "example_shard1", "name": "example_shard1"
}, },
{ {
"count": 46, "count": 46,