Commit 0a10fee2 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5: Update output schema.

hosts-dict values cannot be domain names.
memcached entries are implementation-independent (no mention of kumofs
anymore).
relational database information (which does not follow above memcached
rule, sadly, naming mariadb explicitly) is published in two lists.
Add minimal patterns to document what requester should expect.
Document deadlock-debugger-password".
Drop non-standard "optional" property from jupyter-url declaration.
parent 59966611
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"description": "Values returned by ERP5 instantiation", "description": "Values returned by ERP5 instantiation",
"additionalProperties": false,
"properties": { "properties": {
"hosts-dict": { "hosts-dict": {
"description": "Hosts mapping, including auto-generated entries", "description": "Hosts mapping, including auto-generated entries",
"patternProperties": { "patternProperties": {
".*": { ".*": {
"description": "IP or domain names current entry resolves to", "description": "IP current entry resolves to",
"type": "string" "type": "string"
} }
}, },
...@@ -24,31 +25,53 @@ ...@@ -24,31 +25,53 @@
"description": "Initial user password", "description": "Initial user password",
"type": "string" "type": "string"
}, },
"kumofs-url": { "deadlock-debugger-password": {
"description": "Deadlock debugger password",
"type": "string"
},
"memcached-persistent-url": {
"description": "Persistent memcached access information", "description": "Persistent memcached access information",
"pattern": "^memcached://",
"type": "string" "type": "string"
}, },
"memcached-url": { "memcached-volatile-url": {
"description": "Volatile memcached access information", "description": "Volatile memcached access information",
"pattern": "^memcached://",
"type": "string" "type": "string"
}, },
"cloudooo-url": { "cloudooo-url": {
"description": "Conversion service access information", "description": "Conversion service access information - DEPRECATED",
"pattern": "^cloudooo://",
"type": "string" "type": "string"
}, },
"mariadb-url": { "mariadb-database-list": {
"description": "Relational database access information", "description": "Relational database access information",
"type": "string" "items": {
"pattern": "^mysql://",
"type": "string"
},
"uniqueItems": true,
"type": "array"
},
"mariadb-test-database-list": {
"description": "Relational database access information",
"items": {
"pattern": "^mysql://",
"type": "string"
},
"uniqueItems": true,
"type": "array"
}, },
"jupyter-url": { "jupyter-url": {
"description": "Jupyter notebook web UI access information", "description": "Jupyter notebook web UI access information",
"type": "string", "pattern": "^https://",
"optional": true "type": "string"
} }
}, },
"patternProperties": { "patternProperties": {
"family-.*": { "family-.*": {
"description": "Zope family access information", "description": "Zope family access information",
"pattern": "^https://",
"type": "string" "type": "string"
} }
}, },
......
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