Commit cfe0767d authored by Rafael Monnerat's avatar Rafael Monnerat

apache-frontend: Fix json definition.

parent b3b16217
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"public-ipv4": { "public-ipv4": {
"title": "Backend URL", "title": "Public IPv4",
"description": "Url of the backend", "description": "Public IPv4 that will be provided to Slaves to configure DNS.",
"type": "string" "type": "string"
}, },
"-frontend-authorized-slave-string": { "-frontend-authorized-slave-string": {
...@@ -16,30 +16,32 @@ ...@@ -16,30 +16,32 @@
}, },
"apache-key": { "apache-key": {
"title": "Apache Key", "title": "Apache Key",
"description": "Url of the Backend", "description": "Apache Key",
"textarea": true,
"type": "string" "type": "string"
}, },
"apache-certificate": { "apache-certificate": {
"title": "Apache Certificate", "title": "Apache Certificate",
"description": "Apache Certificate", "description": "Apache Certificate",
"textarea": true,
"type": "string" "type": "string"
}, },
"apache-ca-certificate": { "apache-ca-certificate": {
"title": "Apache CA Certificate", "title": "Apache CA Certificate",
"description": "Apache CA Certificate", "description": "Apache CA Certificate",
"textarea": true,
"type": "string" "type": "string"
}, },
"domain": { "domain": {
"title": "Domain", "title": "Domain",
"description": "Base Domain for create subdomains.", "description": "Base Domain for create subdomains (ie.: example.com).",
"type": "string", "type": "string",
"pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$" "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
}, },
"-frontend-quantity": { "-frontend-quantity": {
"title": "Frontend Replication Quantity", "title": "Frontend Replication Quantity",
"description": "Quantity of Frontends Replicate.", "description": "Quantity of Frontends Replicate.",
"type": "integer", "type": "integer"
"default": ""
} }
} }
} }
\ No newline at end of file
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"url": { "url": {
"title": "Backend URL", "title": "Backend URL",
"description": "Url of the backend", "description": "Url of the backend",
"type": "string" "type": "string",
"pattern": "^(http|https|ftp)://"
}, },
"custom_domain": { "custom_domain": {
"title": "Custom Domain", "title": "Custom Domain",
......
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