Commit a0762813 authored by Jérome Perrin's avatar Jérome Perrin

software/cdn-me: add missing output schema

monitor_v6_url and info_1 were not documented, monitor_v6_url is useless
since we have monitor_url and info_1 seems "self explanatory" for humans
and not targeted at machines.

also fix typo on publish-connection-informations
parent 2bc592b9
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Values returned by CDN ME instanciation",
"properties": {
"url-https": {
"description": "URL to access instance",
"type": "string"
},
"url-http": {
"description": "URL to access instance over unencrypted HTTP",
"type": "string"
},
"token": {
"description": "Token for Re6st",
"type": "string"
},
"ipv6": {
"description": "IPv6 address of the instance",
"type": "string"
},
"ipv4": {
"description": "IPv4 address of the instance",
"type": "string"
},
"monitor_url": {
"description": "URL to access monitoring interface",
"type": "string"
}
},
"type": "object"
}
[buildout]
parts =
request-monitor-test-distributor-slave
publish-connection-informations
publish-connection-information
connection-parameter-http-checker
connection-parameter-checker
......@@ -135,7 +135,7 @@ slave = true
config-url = $${request-monitor-test-distributor-slave:connection-site_url}
return = site_url domain
[publish-connection-informations]
[publish-connection-information]
recipe = slapos.cookbook:publish
url-https = https://$${request-frontend-token-slave:connection-domain}
url = http://$${request-frontend-token-slave:connection-domain}
......@@ -156,6 +156,6 @@ expected-value =
[connection-parameter-http-checker]
recipe = slapos.cookbook:check_parameter
path = $${directory:promise}/check_re6stnet_http
value = $${publish-connection-informations:url}
value = $${publish-connection-information:url}
expected-not-value = http://
expected-value =
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