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
Jérome Perrin
slapos.core
Commits
beef407c
Commit
beef407c
authored
Jun 23, 2023
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Include more use cases entries for tests
parent
06c91260
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
134 additions
and
4 deletions
+134
-4
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_json_in_xml_demo/instance-input-schema.json.json
.../minimal_json_in_xml_demo/instance-input-schema.json.json
+48
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_xml_demo/instance-input-schema-required.json.json
...minimal_xml_demo/instance-input-schema-required.json.json
+4
-4
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_xml_demo/instance-input-schema.json.json
...e-schema/minimal_xml_demo/instance-input-schema.json.json
+17
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-json-in-xml-schema.json.json
...ma/simpledemo/instance-input-json-in-xml-schema.json.json
+48
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-schema.json.json
...oftware-schema/simpledemo/instance-input-schema.json.json
+17
-0
No files found.
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_json_in_xml_demo/instance-input-schema.json.json
View file @
beef407c
...
...
@@ -142,6 +142,54 @@
}
}
},
"simple-object-with-additionalProperties-string"
:
{
"title"
:
"Sample Object with additionalProperties as string"
,
"description"
:
"Sample Object with additionalProperties as string"
,
"default"
:
{},
"additionalProperties"
:
{
"description"
:
"Sample String"
,
"type"
:
"string"
},
"type"
:
"object"
},
"simple-object-string"
:
{
"title"
:
"Example of multi strings as a Dict"
,
"description"
:
"Example of multi strings as a Dict"
,
"patternProperties"
:
{
".*"
:
{
"description"
:
"Sample String"
,
"type"
:
"string"
}
},
"type"
:
"object"
},
"simple-object-with-additionalProperties-array-string"
:
{
"title"
:
"Sample Object with additionalProperties as array of string"
,
"description"
:
"Sample Object with additionalProperties as array of string"
,
"default"
:
{},
"additionalProperties"
:
{
"description"
:
"Sample array of String"
,
"items"
:
{
"type"
:
"string"
},
"type"
:
"array"
},
"type"
:
"object"
},
"simple-object-array-string"
:
{
"title"
:
"Example of multi arrays of strings as a Dict"
,
"description"
:
"Example of multi strings as a Dict"
,
"patternProperties"
:
{
".*"
:
{
"description"
:
"Sample array of strings"
,
"items"
:
{
"type"
:
"string"
},
"type"
:
"array"
}
},
"type"
:
"object"
},
"simple-object-dict"
:
{
"title"
:
"Example of multi objects as a Dict"
,
"description"
:
"Example of multi objects as a Dict"
,
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_xml_demo/instance-input-schema-required.json.json
View file @
beef407c
...
...
@@ -33,8 +33,8 @@
"default"
:
"simple string A"
},
"simple-boolean"
:
{
"title"
:
"Example of
Simple String
"
,
"description"
:
"Example of
Simple String
"
,
"title"
:
"Example of
Boolean
"
,
"description"
:
"Example of
Boolean
"
,
"type"
:
"boolean"
,
"default"
:
true
},
...
...
@@ -74,7 +74,7 @@
"default"
:
1.0
},
"simple-numeric-integer-enum"
:
{
"title"
:
"Example of Simple Numeric as integer"
,
"title"
:
"Example of Simple Numeric as integer
with enum
"
,
"description"
:
"Example of Simple Numeric as Interger"
,
"type"
:
"number"
,
"default"
:
1.0
,
...
...
@@ -96,7 +96,7 @@
"default"
:
1.5
},
"simple-numeric-float-enum"
:
{
"title"
:
"Example of Simple Numeric as float"
,
"title"
:
"Example of Simple Numeric as float
with enum
"
,
"description"
:
"Example of Simple Numeric as float"
,
"type"
:
"number"
,
"default"
:
1.5
,
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_xml_demo/instance-input-schema.json.json
View file @
beef407c
...
...
@@ -94,6 +94,23 @@
1.25
,
1.5
]
},
"simple-numeric-float-oneOf"
:
{
"title"
:
"Example of Simple Numeric as float (oneOf)"
,
"description"
:
"Example of Simple Numeric as float (oneOf)"
,
"type"
:
"number"
,
"oneOf"
:
[
{
"type"
:
number
,
"const"
:
6
,
"title"
:
"Six"
},
{
"type"
:
number
,
"const"
:
15
,
"title"
:
"Fifteen"
}
]
}
}
}
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-json-in-xml-schema.json.json
View file @
beef407c
...
...
@@ -83,6 +83,54 @@
}
}
},
"simple-object-with-additionalProperties-string"
:
{
"title"
:
"Sample Object with additionalProperties as string"
,
"description"
:
"Sample Object with additionalProperties as string"
,
"default"
:
{},
"additionalProperties"
:
{
"description"
:
"Sample String"
,
"type"
:
"string"
},
"type"
:
"object"
},
"simple-object-string"
:
{
"title"
:
"Example of multi strings as a Dict"
,
"description"
:
"Example of multi strings as a Dict"
,
"patternProperties"
:
{
".*"
:
{
"description"
:
"Sample String"
,
"type"
:
"string"
}
},
"type"
:
"object"
},
"simple-object-with-additionalProperties-array-string"
:
{
"title"
:
"Sample Object with additionalProperties as array of string"
,
"description"
:
"Sample Object with additionalProperties as array of string"
,
"default"
:
{},
"additionalProperties"
:
{
"description"
:
"Sample array of String"
,
"items"
:
{
"type"
:
"string"
},
"type"
:
"array"
},
"type"
:
"object"
},
"simple-object-array-string"
:
{
"title"
:
"Example of multi arrays of strings as a Dict"
,
"description"
:
"Example of multi strings as a Dict"
,
"patternProperties"
:
{
".*"
:
{
"description"
:
"Sample array of strings"
,
"items"
:
{
"type"
:
"string"
},
"type"
:
"array"
}
},
"type"
:
"object"
},
"simple-object-dict"
:
{
"title"
:
"Example of multi objects as a Dict"
,
"description"
:
"Example of multi objects as a Dict"
,
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-schema.json.json
View file @
beef407c
...
...
@@ -115,6 +115,23 @@
1.25
,
1.5
]
},
"simple-numeric-float-oneOf"
:
{
"title"
:
"Example of Simple Numeric as float (oneOf)"
,
"description"
:
"Example of Simple Numeric as float (oneOf)"
,
"type"
:
"number"
,
"oneOf"
:
[
{
"type"
:
number
,
"const"
:
6
,
"title"
:
"Six"
},
{
"type"
:
number
,
"const"
:
15
,
"title"
:
"Fifteen"
}
]
}
}
}
...
...
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