Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Léo-Paul Géneau
slapos
Commits
1fcf1800
Commit
1fcf1800
authored
Feb 12, 2021
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/jupyter: Add JSON schemas
parent
70d9a10f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
0 deletions
+75
-0
software/jupyter/instance-jupyter-input-schema.json
software/jupyter/instance-jupyter-input-schema.json
+42
-0
software/jupyter/instance-jupyter-output-schema.json
software/jupyter/instance-jupyter-output-schema.json
+18
-0
software/jupyter/software.cfg.json
software/jupyter/software.cfg.json
+15
-0
No files found.
software/jupyter/instance-jupyter-input-schema.json
0 → 100644
View file @
1fcf1800
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"description"
:
"Parameters to instantiate Jupyter"
,
"properties"
:
{
"frontend-instance-guid"
:
{
"title"
:
"Frontend Instance ID"
,
"description"
:
"Unique identifier of the frontend instance, like
\"
SOFTINST-11031
\"
."
,
"type"
:
"string"
},
"frontend-software-type"
:
{
"title"
:
"Frontend Software Type"
,
"description"
:
"Type of the frontend instance, like
\"
frontend
\"
."
,
"type"
:
"string"
,
"default"
:
"RootSoftwareInstance"
},
"frontend-software-url"
:
{
"title"
:
"Frontend Software URL"
,
"description"
:
"Software Release URL of the frontend instance, like
\"
http://example.com/path/to/software.cfg
\"
."
,
"type"
:
"string"
,
"format"
:
"uri"
,
"default"
:
"http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg"
},
"frontend-additional-instance-guid"
:
{
"title"
:
"Additional Frontend Instance ID"
,
"description"
:
"Unique identifier of the additional frontend instance, like
\"
SOFTINST-11031
\"
, if empty won't be requested."
,
"type"
:
"string"
},
"frontend-additional-software-type"
:
{
"title"
:
"Additional Frontend Software Type"
,
"description"
:
"Type of the frontend instance, like
\"
frontend
\"
."
,
"type"
:
"string"
,
"default"
:
"RootSoftwareInstance"
},
"frontend-additional-software-url"
:
{
"title"
:
"Additional Frontend Software URL"
,
"description"
:
"Software Release URL of the frontend instance, like
\"
http://example.com/path/to/software.cfg
\"
."
,
"type"
:
"string"
,
"format"
:
"uri"
,
"default"
:
"http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg"
}
}
}
software/jupyter/instance-jupyter-output-schema.json
0 → 100644
View file @
1fcf1800
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"description"
:
"Connection parameters for the Jupyter Notebook"
,
"properties"
:
{
"url"
:
{
"description"
:
"Jupyter Notebook URL"
,
"type"
:
"string"
},
"jupyterlab-url"
:
{
"description"
:
"JupyterLab URL"
,
"type"
:
"string"
},
"password"
:
{
"description"
:
"Password"
,
"type"
:
"string"
}
}
}
software/jupyter/software.cfg.json
0 → 100644
View file @
1fcf1800
{
"name"
:
"Jupyter"
,
"description"
:
"Jupyter Notebook"
,
"serialisation"
:
"json-in-xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"software-type"
:
"default"
,
"description"
:
"Default"
,
"request"
:
"instance-jupyter-input-schema.json"
,
"response"
:
"instance-jupyter-ouput-schema.json"
,
"index"
:
1
}
}
}
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