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
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
7dffd7a1
Commit
7dffd7a1
authored
Nov 07, 2024
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/seleniumserver: add JSON schemas
parent
fc3f69f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
0 deletions
+60
-0
software/seleniumserver/instance-input-schema.json
software/seleniumserver/instance-input-schema.json
+14
-0
software/seleniumserver/instance-output-schema.json
software/seleniumserver/instance-output-schema.json
+31
-0
software/seleniumserver/software.cfg.json
software/seleniumserver/software.cfg.json
+15
-0
No files found.
software/seleniumserver/instance-input-schema.json
0 → 100644
View file @
7dffd7a1
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"type"
:
"object"
,
"description"
:
"Parameters to request selenium instance"
,
"additionalProperties"
:
false
,
"properties"
:
{
"ssh-authorized-key"
:
{
"title"
:
"SSH Key"
,
"description"
:
"ssh public key"
,
"type"
:
"string"
,
"default"
:
""
}
}
}
software/seleniumserver/instance-output-schema.json
0 → 100644
View file @
7dffd7a1
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"type"
:
"object"
,
"description"
:
"Values returned by Selenium instanciation"
,
"properties"
:
{
"backend-url"
:
{
"description"
:
"Selenium hub URL"
,
"type"
:
"string"
},
"url"
:
{
"description"
:
"Selenium instance URL"
,
"type"
:
"string"
},
"admin-url"
:
{
"description"
:
"Selenium admin URL"
,
"type"
:
"string"
},
"ssh-url"
:
{
"description"
:
"Selenium ssh URL"
,
"type"
:
"string"
},
"ssh-fingerprint"
:
{
"description"
:
"Selenium ssh key fingerprint"
,
"type"
:
"string"
},
"run-node-command"
:
{
"description"
:
"Command to run a local Selenium node"
,
"type"
:
"string"
}
}
}
software/seleniumserver/software.cfg.json
0 → 100644
View file @
7dffd7a1
{
"name"
:
"Selenium Server"
,
"description"
:
"Selenium server running chromium and firefox nodes"
,
"serialisation"
:
"xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"software-type"
:
"default"
,
"description"
:
"Request a selenium server"
,
"request"
:
"instance-input-schema.json"
,
"response"
:
"instance-output-schema.json"
,
"index"
:
0
}
}
}
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