instance-erp5-output-schema.json 2.58 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 42
      "type": "string"
    },
    "cloudooo-url": {
43
      "description": "Conversion service access information - DEPRECATED",
44
      "pattern": "^(http|https)://",
45 46
      "type": "string"
    },
47
    "mariadb-database-list": {
48
      "description": "Relational database access information",
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
      "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"
Rafael Monnerat's avatar
Rafael Monnerat committed
64
    },
65 66 67 68 69 70
    "neo-masters": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/masters"
    },
    "neo-admins": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/admins"
    },
71 72
    "jupyter-url": {
      "description": "Jupyter notebook web UI access information",
73 74
      "pattern": "^https://",
      "type": "string"
75 76 77 78 79
    },
    "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"
80
    }
81 82 83 84
  },
  "patternProperties": {
    "family-.*": {
      "description": "Zope family access information",
85
      "pattern": "^https://",
86 87 88 89 90
      "type": "string"
    }
  },
  "type": "object"
}