"description":"Values returned by ERP5 instantiation",
"additionalProperties":false,
"additionalProperties":false,
"description":"Values returned by ERP5 instantiation",
"patternProperties":{
"family-.*":{
"description":"Zope family access information",
"pattern":"^https://",
"type":"string"
}
},
"properties":{
"properties":{
"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"
},
"deadlock-debugger-password":{
"description":"Deadlock debugger password",
"type":"string"
},
"hosts-dict":{
"hosts-dict":{
"description":"Hosts mapping, including auto-generated entries",
"description":"Hosts mapping, including auto-generated entries",
"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.",
"description":"When to backup, specified in the same format as for systemd.time(7) calendar events (years & seconds not supported, DoW & DoM can not be combined).",
},{
"type":"string"
"description":"Start allocating ports at this value, going downward"
},
}]
"catalog-backup":{
"description":"Backup control knobs",
"properties":{
"full-retention-days":{
"default":7,
"description":"How many days full backups must be retained, -1 meaning full backups are disabled and 0 meaning no expiration",
"minimum":-1,
"type":"integer"
},
"incremental-retention-days":{
"description":"How many days incremental backups (binlogs) must be retained, -1 meaning incremental backups are disabled and 0 meaning no expiration, defaulting to full-retention-days' value",
"minimum":-1,
"type":"integer"
}
},
"type":"object"
},
},
"database-list":{
"database-list":{
"default":[
{
"name":"erp5",
"password":"insecure",
"user":"user"
}
],
"description":"Databases to create and respective user credentials getting all privileges on it",
"description":"Databases to create and respective user credentials getting all privileges on it",
"default":[{
"name":"erp5",
"user":"user",
"password":"insecure"
}],
"minItems":1,
"items":{
"items":{
"required":["name","user","password"],
"properties":{
"properties":{
"name":{
"name":{
"description":"Database name",
"description":"Database name",
"type":"string"
"type":"string"
},
},
"user":{
"description":"User name",
"type":"string"
},
"password":{
"password":{
"description":"User password",
"description":"User password",
"type":"string"
"type":"string"
},
"user":{
"description":"User name",
"type":"string"
}
}
},
},
"required":[
"name",
"user",
"password"
],
"type":"object"
"type":"object"
},
},
"minItems":1,
"type":"array"
"type":"array"
},
},
"test-database-amount":{
"environment-variables":{
"description":"The number of test databases to create, adding auto-generated entries to database-list. The same number of testrunners will be created in Zope partitions. Setting this to 0 disable the creation of test runners.",
"description":"Extra environment variables for mysqld may be required to use third party ODBC libraries for CONNECT storage engine.",
"default":1,
"items":{
"minimum":0,
"type":"string"
"type":"integer"
},
"catalog-backup":{
"description":"Backup control knobs",
"properties":{
"full-retention-days":{
"description":"How many days full backups must be retained, -1 meaning full backups are disabled and 0 meaning no expiration",
"default":7,
"minimum":-1,
"type":"integer"
},
"incremental-retention-days":{
"description":"How many days incremental backups (binlogs) must be retained, -1 meaning incremental backups are disabled and 0 meaning no expiration, defaulting to full-retention-days' value",
"minimum":-1,
"type":"integer"
}
},
},
"type":"object"
"type":"array"
},
"backup-periodicity":{
"description":"When to backup, specified in the same format as for systemd.time(7) calendar events (years & seconds not supported, DoW & DoM can not be combined).",
"default":"daily",
"type":"string"
},
"innodb-buffer-pool-size":{
"description":"See MariaDB documentation on innodb_buffer_pool_size",
"minimum":0,
"type":"integer"
},
},
"innodb-buffer-pool-instances":{
"innodb-buffer-pool-instances":{
"description":"See MariaDB documentation on innodb_buffer_pool_instances",
"description":"See MariaDB documentation on innodb_buffer_pool_instances",
"minimum":1,
"minimum":1,
"type":"integer"
"type":"integer"
},
},
"innodb-log-file-size":{
"innodb-buffer-pool-size":{
"description":"See MariaDB documentation on innodb_log_file_size",
"description":"See MariaDB documentation on innodb_buffer_pool_size",
"minimum":0,
"minimum":0,
"type":"integer"
"type":"integer"
},
},
...
@@ -85,56 +79,72 @@
...
@@ -85,56 +79,72 @@
"minimum":0,
"minimum":0,
"type":"integer"
"type":"integer"
},
},
"innodb-log-file-size":{
"description":"See MariaDB documentation on innodb_log_file_size",
"minimum":0,
"type":"integer"
},
"long-query-time":{
"long-query-time":{
"default":1,
"description":"Number of seconds above which long queries are logged",
"description":"Number of seconds above which long queries are logged",
"minimum":0,
"minimum":0,
"default":1,
"type":"number"
"type":"number"
},
},
"odbc-ini":{
"default":"",
"description":"Contents of odbc.ini file, see unixodbc document",
"type":"string"
},
"relaxed-writes":{
"relaxed-writes":{
"description":"When enabled, sets innodb_flush_log_at_trx_commit = 0, innodb_flush_method = nosync, innodb_doublewrite = 0 and sync_frm = 0 - RTFM, those options are dangerous",
"default":false,
"default":false,
"description":"When enabled, sets innodb_flush_log_at_trx_commit = 0, innodb_flush_method = nosync, innodb_doublewrite = 0 and sync_frm = 0 - RTFM, those options are dangerous",
"type":"boolean"
"type":"boolean"
},
},
"ssl":{
"ssl":{
"description":"Enable and define SSL support for network connections",
"default":{},
"default":{},
"description":"Enable and define SSL support for network connections",
"properties":{
"properties":{
"ca-crt":{
"ca-crt":{
"description":"Certificate Authority's certificate, in PEM format",
"description":"Certificate Authority's certificate, in PEM format",
"type":"string"
"type":"string"
},
},
"crt":{
"cipher":{
"description":"Server's certificate, in PEM format (mandatory to enable SSL support)",
"description":"Permissible cipher specifications, separated by colons",
"type":"string"
},
"key":{
"description":"Server's key, in PEM format (mandatory to enable SSL support)",
"type":"string"
"type":"string"
},
},
"crl":{
"crl":{
"description":"Server's certificate revocation list, in PEM format",
"description":"Server's certificate revocation list, in PEM format",
"type":"string"
"type":"string"
},
},
"cipher":{
"crt":{
"description":"Permissible cipher specifications, separated by colons",
"description":"Server's certificate, in PEM format (mandatory to enable SSL support)",
"type":"string"
},
"key":{
"description":"Server's key, in PEM format (mandatory to enable SSL support)",
"type":"string"
"type":"string"
}
}
},
},
"type":"object"
"type":"object"
},
},
"odbc-ini":{
"tcpv4-port":{
"description":"Contents of odbc.ini file, see unixodbc document",
"allOf":[
"default":"",
{
"type":"string"
"$ref":"#/definitions/tcpv4port"
},
{
"description":"Start allocating ports at this value, going downward"
}
]
},
},
"environment-variables":{
"test-database-amount":{
"description":"Extra environment variables for mysqld may be required to use third party ODBC libraries for CONNECT storage engine.",
"default":1,
"items":{
"description":"The number of test databases to create, adding auto-generated entries to database-list. The same number of testrunners will be created in Zope partitions. Setting this to 0 disable the creation of test runners.",
"description":"Start allocating ports at this value, going upward"
}]
},
"postmaster":{
"description":"Mail address to send technical mails to. Non-empty value required for smptd relay service to be deployed. Values will be put in alias-dict as 'postmaster' key (alias-dict takes precedence)",
"default":"",
"type":"string"
},
"alias-dict":{
"alias-dict":{
"description":"Mail alias support",
"default":{},
"default":{},
"description":"Mail alias support",
"patternProperties":{
"patternProperties":{
".*":{
".*":{
"description":"List of addresses alias expands to",
"description":"List of addresses alias expands to",
...
@@ -26,11 +13,27 @@
...
@@ -26,11 +13,27 @@
},
},
"type":"object"
"type":"object"
},
},
"divert":{
"description":"Intercept all mails and send them to given addresses instead of original recipient",
"items":{
"type":"string"
},
"type":"array",
"uniqueItems":true
},
"postmaster":{
"default":"",
"description":"Mail address to send technical mails to. Non-empty value required for smptd relay service to be deployed. Values will be put in alias-dict as 'postmaster' key (alias-dict takes precedence)",
"type":"string"
},
"relay":{
"relay":{
"description":"Forward outgoing mails to a specific relay. If enabled, relay must support TLS-encrypted SASL authentication.",
"default":{},
"dependencies":{
"dependencies":{
"host":["sasl-credential"]
"host":[
"sasl-credential"
]
},
},
"description":"Forward outgoing mails to a specific relay. If enabled, relay must support TLS-encrypted SASL authentication.",
"properties":{
"properties":{
"host":{
"host":{
"description":"Host name or address of relay, with optional port (ex: '[example.com]:submission'). Enclosing hostname with [] prevents MX lookup.",
"description":"Host name or address of relay, with optional port (ex: '[example.com]:submission'). Enclosing hostname with [] prevents MX lookup.",
...
@@ -41,16 +44,20 @@
...
@@ -41,16 +44,20 @@
"type":"string"
"type":"string"
}
}
},
},
"default":{},
"type":"object"
"type":"object"
},
},
"divert":{
"tcpv4-port":{
"description":"Intercept all mails and send them to given addresses instead of original recipient",
"allOf":[
"type":"array",
{
"items":{
"$ref":"#/definitions/tcpv4port"
"type":"string"
},
},
{
"uniqueItems":true
"description":"Start allocating ports at this value, going upward"
"description":"'%(backup)s' is expanded to partition's ZODB backup path (typically 'srv/backup/zodb'), and %(name)s with the export id",
"default":"%(backup)s/%(name)s",
"default":"%(backup)s/%(name)s",
"description":"'%(backup)s' is expanded to partition's ZODB backup path (typically 'srv/backup/zodb'), and %(name)s with the export id",
"type":"string"
"type":"string"
},
},
"family":{
"family":{
"description":"Opaque name used to regroup/separate mountpoints under different ZEO processes (must be valid as a file name and as a ConfigParser section name)",
"default":"default",
"default":"default",
"description":"Opaque name used to regroup/separate mountpoints under different ZEO processes (must be valid as a file name and as a ConfigParser section name)",
"pattern":"^[^<>:\"/\\|?*\\]\\[ ]*$",
"pattern":"^[^<>:\"/\\|?*\\]\\[ ]*$",
"type":"string"
"type":"string"
},
},
"path":{
"path":{
"description":"FileStorage file path, '%(zodb)s' occurrences are replaced with the path to partition's srv/zodb directory, and %(name)s with the export id",
"default":"%(zodb)s/%(name)s.fs",
"default":"%(zodb)s/%(name)s.fs",
"description":"FileStorage file path, '%(zodb)s' occurrences are replaced with the path to partition's srv/zodb directory, and %(name)s with the export id",