* The "supportedLocations" attribute is defined as an array of strings.
* The "capabilities" and "capacity" attributes are defined as a set of
key/value pairs which are represented at the API as an object rather than
a string.
* All of the above fields are mandatory attributes
Issue-ID: INT-164
Change-Id: I62db7297dfeaf2c94b8ce4c77754e5f214dd11e4
Signed-off-by: Allain Legacy <alegacy@redhat.com>
"type": "string",
"default": "A DMS"
},
+ "supportedLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "capabilities": {
+ "type": "object"
+ },
+ "capacity": {
+ "type": "object"
+ },
"oCloudId": {
"type": "string",
"default": "ce2eec13-24b0-4cca-aa54-548be6cc985b"
"required": [
"deploymentManagerId",
"description",
- "extensions",
"name",
"oCloudId",
- "serviceUri"
+ "serviceUri",
+ "supportedLocations",
+ "capabilities",
+ "capacity"
]
-}
\ No newline at end of file
+}
"type": "string",
"default": ""
},
+ "supportedLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "capabilities": {
+ "type": "object"
+ },
+ "capacity": {
+ "type": "object"
+ },
"oCloudId": {
"type": "string",
"default": ""
"description",
"name",
"oCloudId",
- "serviceUri"
+ "serviceUri",
+ "supportedLocations",
+ "capabilities",
+ "capacity"
]
-}
\ No newline at end of file
+}
"type": "string"
},
"supportedLocations": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
},
"capabilities": {
- "type": "string"
+ "type": "object"
},
"capacity": {
- "type": "string"
+ "type": "object"
},
"oCloudId": {
"type": "string"
"description",
"name",
"oCloudId",
- "serviceUri"
+ "serviceUri",
+ "supportedLocations",
+ "capabilities",
+ "capacity"
]
}
}