Commit 54517775 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

slapos_jio_api_style: Can update instance with Compute Node and Compute Partition IDs

parent c0c88df9
......@@ -68,12 +68,51 @@
"title": "Software Instance",\n
"description": "Software Instance",\n
"type": "object",\n
"oneOf": [\n
{\n
"properties": {\n
"reference": {\n
"title": "Software Instance Id/Reference",\n
"type": "string",\n
"description": "The unique reference of the Software Instance, example: SOFTINST-1234"\n
},\n
"portal_type": {\n
"title": "Portal Type",\n
"const": "Software Instance",\n
"type": "string"\n
}\n
},\n
"required": [\n
"reference",\n
"portal_type"\n
]\n
},\n
{\n
"properties": {\n
"compute_node_id": {\n
"title": "Compute Node Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Node, used by Slap Client when an instance is requesting an instance"\n
},\n
"compute_partition_id": {\n
"title": "Compute Partition Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Partition, used by Slap Client when an instance is requesting an instance"\n
},\n
"portal_type": {\n
"title": "Portal Type",\n
"const": "Software Instance",\n
"type": "string"\n
}\n
},\n
"required": [\n
"compute_node_id",\n
"compute_partition_id",\n
"portal_type"\n
]\n
}\n
],\n
"properties": {\n
"connection_parameters": {\n
"title": "Connections Parameters",\n
"type": "object",\n
......@@ -109,8 +148,7 @@
"description": "Use this to change the name of your instance. Very dangerous. DO NOT USE IF YOU DO NOT KNOW WHAT YOU ARE DOING",\n
"maxLength": 200\n
}\n
},\n
"required": ["reference", "portal_type"]\n
}\n
}\n
</string> </value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment