"description":"Values returned by ERP5 instantiation",
"additionalProperties":false,
"description":"Values returned by ERP5 instantiation",
"patternProperties":{
"family-.*":{
"description":"Zope family access information",
"pattern":"^https://",
"type":"string"
}
},
"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":{
"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":"Start allocating ports at this value, going downward"
}]
"backup-periodicity":{
"default":"daily",
"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"
},
"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":{
"default":[
{
"name":"erp5",
"password":"insecure",
"user":"user"
}
],
"description":"Databases to create and respective user credentials getting all privileges on it",
"default":[{
"name":"erp5",
"user":"user",
"password":"insecure"
}],
"minItems":1,
"items":{
"required":["name","user","password"],
"properties":{
"name":{
"description":"Database name",
"type":"string"
},
"user":{
"description":"User name",
"type":"string"
},
"password":{
"description":"User password",
"type":"string"
},
"user":{
"description":"User name",
"type":"string"
}
},
"required":[
"name",
"user",
"password"
],
"type":"object"
},
"minItems":1,
"type":"array"
},
"test-database-amount":{
"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.",
"default":1,
"minimum":0,
"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"
}
"environment-variables":{
"description":"Extra environment variables for mysqld may be required to use third party ODBC libraries for CONNECT storage engine.",
"items":{
"type":"string"
},
"type":"object"
},
"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"
"type":"array"
},
"innodb-buffer-pool-instances":{
"description":"See MariaDB documentation on innodb_buffer_pool_instances",
"minimum":1,
"type":"integer"
},
"innodb-log-file-size":{
"description":"See MariaDB documentation on innodb_log_file_size",
"innodb-buffer-pool-size":{
"description":"See MariaDB documentation on innodb_buffer_pool_size",
"minimum":0,
"type":"integer"
},
...
...
@@ -85,56 +79,72 @@
"minimum":0,
"type":"integer"
},
"innodb-log-file-size":{
"description":"See MariaDB documentation on innodb_log_file_size",
"minimum":0,
"type":"integer"
},
"long-query-time":{
"default":1,
"description":"Number of seconds above which long queries are logged",
"minimum":0,
"default":1,
"type":"number"
},
"odbc-ini":{
"default":"",
"description":"Contents of odbc.ini file, see unixodbc document",
"type":"string"
},
"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,
"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"
},
"ssl":{
"description":"Enable and define SSL support for network connections",
"default":{},
"description":"Enable and define SSL support for network connections",
"properties":{
"ca-crt":{
"description":"Certificate Authority's certificate, in PEM format",
"type":"string"
},
"crt":{
"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)",
"cipher":{
"description":"Permissible cipher specifications, separated by colons",
"type":"string"
},
"crl":{
"description":"Server's certificate revocation list, in PEM format",
"type":"string"
},
"cipher":{
"description":"Permissible cipher specifications, separated by colons",
"crt":{
"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":"object"
},
"odbc-ini":{
"description":"Contents of odbc.ini file, see unixodbc document",
"default":"",
"type":"string"
"tcpv4-port":{
"allOf":[
{
"$ref":"#/definitions/tcpv4port"
},
{
"description":"Start allocating ports at this value, going downward"
}
]
},
"environment-variables":{
"description":"Extra environment variables for mysqld may be required to use third party ODBC libraries for CONNECT storage engine.",
"items":{
"type":"string"
},
"type":"array"
"test-database-amount":{
"default":1,
"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":{
"description":"Mail alias support",
"default":{},
"description":"Mail alias support",
"patternProperties":{
".*":{
"description":"List of addresses alias expands to",
...
...
@@ -26,11 +13,27 @@
},
"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":{
"description":"Forward outgoing mails to a specific relay. If enabled, relay must support TLS-encrypted SASL authentication.",
"default":{},
"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":{
"host":{
"description":"Host name or address of relay, with optional port (ex: '[example.com]:submission'). Enclosing hostname with [] prevents MX lookup.",
...
...
@@ -41,16 +44,20 @@
"type":"string"
}
},
"default":{},
"type":"object"
},
"divert":{
"description":"Intercept all mails and send them to given addresses instead of original recipient",
"type":"array",
"items":{
"type":"string"
},
"uniqueItems":true
"tcpv4-port":{
"allOf":[
{
"$ref":"#/definitions/tcpv4port"
},
{
"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",
"description":"'%(backup)s' is expanded to partition's ZODB backup path (typically 'srv/backup/zodb'), and %(name)s with the export id",
"type":"string"
},
"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",
"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":"^[^<>:\"/\\|?*\\]\\[ ]*$",
"type":"string"
},
"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",
"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",