Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
9c7bcd5c
Commit
9c7bcd5c
authored
Oct 10, 2022
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Mar 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_api_style: Can update instance with Compute Node and Compute Partition IDs
parent
01bf1c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
7 deletions
+45
-7
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/SoftwareInstance_updateFromJSON.xml
...Item/portal_callables/SoftwareInstance_updateFromJSON.xml
+45
-7
No files found.
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/SoftwareInstance_updateFromJSON.xml
View file @
9c7bcd5c
...
@@ -68,12 +68,51 @@
...
@@ -68,12 +68,51 @@
"title": "Software Instance",\n
"title": "Software Instance",\n
"description": "Software Instance",\n
"description": "Software Instance",\n
"type": "object",\n
"type": "object",\n
"properties": {\n
"oneOf": [\n
"reference": {\n
{\n
"title": "Software Instance Id/Reference",\n
"properties": {\n
"type": "string",\n
"reference": {\n
"description": "The unique reference of the Software Instance, example: SOFTINST-1234"\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
{\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
"connection_parameters": {\n
"title": "Connections Parameters",\n
"title": "Connections Parameters",\n
"type": "object",\n
"type": "object",\n
...
@@ -109,8 +148,7 @@
...
@@ -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
"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
"maxLength": 200\n
}\n
}\n
},\n
}\n
"required": ["reference", "portal_type"]\n
}\n
}\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment