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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos.core
Commits
26b9968d
Commit
26b9968d
authored
Sep 19, 2023
by
Cédric Le Ninivin
Committed by
Titouan Soulard
Sep 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_api_style: Remove id option in get Compute Node and Software Installation
parent
5846952c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
68 deletions
+35
-68
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/ComputeNode_getFromJSON.xml
...TemplateItem/portal_callables/ComputeNode_getFromJSON.xml
+14
-31
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/SoftwareInstallation_getFromJSON.xml
...tem/portal_callables/SoftwareInstallation_getFromJSON.xml
+21
-37
No files found.
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/ComputeNode_getFromJSON.xml
View file @
26b9968d
...
@@ -45,40 +45,23 @@
...
@@ -45,40 +45,23 @@
"title": "Get Compute Node",\n
"title": "Get Compute Node",\n
"description": "Data necessary to get Compute Node",\n
"description": "Data necessary to get Compute Node",\n
"type": "object",\n
"type": "object",\n
"oneOf": [\n
"properties": {\n
{\n
"compute_node_id": {\n
"properties": {\n
"title": "Compute Node ID",\n
"compute_node_id": {\n
"type": "string",\n
"title": "Compute Node ID",\n
"description": "The Id of the compute node, example: COMP-1234"\n
"type": "string",\n
"description": "The Id of the compute node, example: COMP-1234"\n
},\n
"portal_type": {\n
"title": "Portal Type",\n
"const": "Compute Node",\n
"type": "string"\n
}\n
},\n
"required": [\n
"compute_node_id",\n
"portal_type"\n
]\n
},\n
},\n
{\n
"portal_type": {\n
"properties": {\n
"title": "Portal Type",\n
"id": {\n
"const": "Compute Node",\n
"title": "ID",\n
"type": "string"\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
},\n
"required": [\n
"compute_node_id",\n
"portal_type"\n
]\n
]\n
}\n
}
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
...
...
master/bt5/slapos_jio_api_style/PathTemplateItem/portal_callables/SoftwareInstallation_getFromJSON.xml
View file @
26b9968d
...
@@ -43,43 +43,27 @@
...
@@ -43,43 +43,27 @@
"title": "Software Installation",\n
"title": "Software Installation",\n
"description": "Software Installation",\n
"description": "Software Installation",\n
"type": "object",\n
"type": "object",\n
"oneOf": [\n
"properties": {\n
{\n
"software_release_uri": {\n
"properties": {\n
"title": "Software Release URI",\n
"software_release_uri": {\n
"type": "string"\n
"title": "Software Release URI",\n
},\n
"type": "string"\n
"compute_node_id": {\n
},\n
"title": "Compute Node ID",\n
"compute_node_id": {\n
"type": "string",\n
"title": "Compute Node ID",\n
"description": "The Id of the compute node, example: COMP-1234"\n
"type": "string",\n
},\n
"description": "The Id of the compute node, example: COMP-1234"\n
"portal_type": {\n
},\n
"title": "Portal Type",\n
"portal_type": {\n
"const": "Software Installation",\n
"title": "Portal Type",\n
"type": "string"\n
"const": "Software Installation",\n
}\n
"type": "string"\n
},\n
}\n
"required": [\n
},\n
"software_release_uri",\n
"required": [\n
"compute_node_id",\n
"software_release_uri",\n
"portal_type"\n
"compute_node_id",\n
]\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
}\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