Commit 8f39fb28 authored by Jérome Perrin's avatar Jérome Perrin

metabase,ssh: fix json parameters

parent 8aa48865
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
"additionalProperties": false,
"properties": { "properties": {
"mb_password_complexity": { "mb_password_complexity": {
"title": "Password complexity", "title": "Password complexity",
...@@ -10,14 +11,14 @@ ...@@ -10,14 +11,14 @@
"enum": [ "enum": [
"weak", "weak",
"normal", "normal",
"strong", "strong"
] ]
}, },
"mb_password_length": { "mb_password_length": {
"title": "Password length", "title": "Password length",
"description": "Password length", "description": "Password length",
"type": "integer", "type": "integer",
"default": 6, "default": 6
} }
} }
} }
{
"$schema": "https://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"url": {
"title": "URL",
"description": "URL to access metabase.",
"type": "string",
"format": "uri"
}
}
}
{
"name": "Metabase",
"description": "Business Intelligence and Reporting tool",
"serialisation": "xml",
"software-type": {
"default": {
"title": "Default",
"software-type": "default",
"description": "Default",
"request": "instance-metabase-input-schema.json",
"response": "instance-metabase-output-schema.json",
"index": 1
}
}
}
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
"additionalProperties": false,
"properties": { "properties": {
"user-authorized-key": { "user-authorized-key": {
"title": "User Authorized Key", "title": "User Authorized Key",
......
...@@ -2,9 +2,14 @@ ...@@ -2,9 +2,14 @@
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"description": "Values returned by instanciation", "description": "Values returned by instanciation",
"properties": { "properties": {
"ssh_command": { "ssh-command": {
"description": "SSH command used to access your instance in ssh when you provided a ssh public key", "description": "SSH command used to access the instance",
"type": "string" "type": "string"
},
"ssh-url": {
"description": "ssh:// URL to access the instance",
"type": "string",
"format": "uri"
} }
}, },
"type": "object" "type": "object"
......
{ {
"name": "SSH", "name": "SSH",
"description": "SSH software release which provide the SSH service", "description": "SSH software release which provide the SSH service",
"serialisation": "json-in-xml", "serialisation": "xml",
"software-type": { "software-type": {
"default": { "default": {
"title": "Default", "title": "Default",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment