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

slapos_jio_api_style: update offers various options to find the software installation

parent c656fe38
......@@ -45,6 +45,8 @@
"title": "Software Installation",\n
"description": "Software Installation",\n
"type": "object",\n
"oneOf": [\n
{\n
"properties": {\n
"software_release_uri": {\n
"title": "Software Release URI",\n
......@@ -56,11 +58,32 @@
"type": "string",\n
"description": "The Id of the compute node, example: COMP-1234"\n
},\n
"portal_type": {\n
"title": "Portal Type",\n
"default": "Software Installation",\n
"type": "string"\n
}\n
},\n
"required": [\n
"software_release_uri",\n
"compute_node_id",\n
"portal_type"\n
]\n
},\n
{\n
"properties": {\n
"id": {\n
"title": "ID",\n
"type": "string",\n
"description": "Unique Id of the object. This ID is defined by KD Portal. It is not editable."\n
}\n
},\n
"required": [\n
"id"\n
]\n
}\n
],\n
"properties": {\n
"state": {\n
"title": "Requested State",\n
"type": "string",\n
......@@ -78,14 +101,8 @@
"title": "Error Status",\n
"description": "Used to inform master of an Error in the local processing of the Software Installation",\n
"type": "string"\n
},\n
"portal_type": {\n
"title": "Portal Type",\n
"const": "Software Installation",\n
"type": "string"\n
}\n
},\n
"required": ["portal_type", "software_release_uri", "compute_node_id"]\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