instance-erp5-output-schema.json 2.42 KB
Newer Older
1 2
{
  "$schema": "http://json-schema.org/draft-04/schema#",
3
  "description": "Values returned by ERP5 instantiation",
4
  "additionalProperties": false,
5
  "properties": {
6 7 8 9
    "hosts-dict": {
      "description": "Hosts mapping, including auto-generated entries",
      "patternProperties": {
        ".*": {
10
          "description": "IP current entry resolves to",
11 12 13 14 15
          "type": "string"
        }
      },
      "type": "object"
    },
16 17 18 19
    "site-id": {
      "description": "Chosen ERP5Site object identifier",
      "type": "string"
    },
20 21 22 23 24 25 26 27
    "inituser-login": {
      "description": "Initial user login",
      "type": "string"
    },
    "inituser-password": {
      "description": "Initial user password",
      "type": "string"
    },
28 29 30 31 32
    "deadlock-debugger-password": {
      "description": "Deadlock debugger password",
      "type": "string"
    },
    "memcached-persistent-url": {
33
      "description": "Persistent memcached access information",
34
      "pattern": "^memcached://",
35 36
      "type": "string"
    },
37
    "memcached-volatile-url": {
38
      "description": "Volatile memcached access information",
39
      "pattern": "^memcached://",
40 41
      "type": "string"
    },
42
    "mariadb-database-list": {
43
      "description": "Relational database access information",
44 45 46 47 48 49 50 51 52 53
      "items": {
        "pattern": "^mysql://",
        "type": "string"
      },
      "uniqueItems": true,
      "type": "array"
    },
    "mariadb-test-database-list": {
      "description": "Relational database access information",
      "items": {
54
        "pattern": "^mysql://",
55 56 57 58
        "type": "string"
      },
      "uniqueItems": true,
      "type": "array"
Rafael Monnerat's avatar
Rafael Monnerat committed
59
    },
60 61 62 63 64 65
    "neo-masters": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/masters"
    },
    "neo-admins": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/admins"
    },
66 67
    "jupyter-url": {
      "description": "Jupyter notebook web UI access information",
68 69
      "pattern": "^https://",
      "type": "string"
70 71 72 73 74
    },
    "caucase-http-url": {
      "description": "Caucase url on HTTP. For HTTPS URL, uses https scheme, if port is explicitely specified in http URL, take that port and add 1 and use it as https port. If it is not specified.",
      "pattern": "^http://",
      "type": "string"
75
    }
76 77 78 79
  },
  "patternProperties": {
    "family-.*": {
      "description": "Zope family access information",
80
      "pattern": "^https://",
81 82 83 84 85
      "type": "string"
    }
  },
  "type": "object"
}