"description":"Storage type. Defaults to MySQL if available, else SQLite.",
"enum":[
"MySQL",
"SQLite"
],
"type":"string"
},
"private-tmpfs":{
"private-tmpfs":{
"description":"Size of private tmpfs mount to store the database. See filesystems/tmpfs.txt in Linux documentation. Use only for testing.",
"description":"Size of private tmpfs mount to store the database. See filesystems/tmpfs.txt in Linux documentation. Use only for testing.",
"type":"string"
"type":"string"
...
@@ -126,27 +118,58 @@
...
@@ -126,27 +118,58 @@
"description":"List of bindings to test when running the test suite.",
"description":"List of bindings to test when running the test suite.",
"type":"array"
"type":"array"
},
},
"sqlite":{
"description":"Storage backend configuration. This selects the SQLite backend.",
"properties":{
"relaxed-writes":{
"description":"When enabled, sets synchronous = OFF and journal_mode = MEMORY - RTFM, those options are dangerous.",
"type":"boolean"
}
},
"additionalProperties":{
"description":"See NEO documentation for the list of supported settings.",
"type":["number","string"]
},
"type":"object"
},
"mysql":{
"mysql":{
"description":"Dictionary containing parameters for MySQL.",
"description":"MariaDB server configuration. This selects the MySQL backend.",
"default":{},
"properties":{
"properties":{
"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",
"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,
"type":"boolean"
"type":"boolean"
}
}
},
},
"additionalProperties":{
"additionalProperties":{
"description":"To configure important parameters like innodb_buffer_pool_size, rocksdb_block_cache_size, etc.",
"description":"To configure parameters like innodb_buffer_pool_size, rocksdb_block_cache_size, etc.",
"type":"string"
"type":"string"
},
},
"type":"object"
"type":"object"
},
},
"engine":{
"engine":{
"description":"Configures storage engine, currently only InnoDB and RocksDB are supported. Defaults to NEO's default.",
"description":"For NEO, this is a creation-time parameter and it defaults to NEO's default. For mysqld, this sets plugins to load and it defaults to load all.",
"enum":[
"InnoDB",
"RocksDB"
],
"type":"string"
"type":"string"
}
}
},
},
"oneOf":[
{
"description":"default (MariaDB if built else SQLite) or SQLite",