OpenMTC/openmtc-gevent/config-backend.json

80 lines
2.3 KiB
JSON
Raw Normal View History

2017-11-07 13:41:38 +00:00
{
"global": {
"disable_forwarding": false,
"default_lifetime": 2000,
"additional_host_names": [],
"require_auth": false,
"default_content_type": "application/json"
},
"database": {
"driver": "openmtc_server.db.nodb2.NoDB2",
"dropDB": true
},
"logging": {
"level": "ERROR",
"file": null
},
"onem2m": {
"sp_id": "openmtc.org",
"cse_type": "IN-CSE",
"cse_id": "in-cse-1",
"cse_base": "onem2m",
"ssl_certs": {
"key": "certs/in-cse-1-client-server.key.pem",
"crt": "certs/in-cse-1-client-server.cert.pem",
"ca": "certs/ca-chain.cert.pem"
},
"accept_insecure_certs": false,
"overwrite_originator": {
"enabled": false,
"originator": "/openmtc.org/in-cse-1"
},
"default_privileges": [
{
"accessControlOperations": [2, 32],
"accessControlOriginators": ["all"]
}
],
"dynamic_authorization": {
"enabled": false,
"poa": []
}
},
"plugins": {
"openmtc_cse": [
{
"name": "HTTPTransportPlugin",
"package": "openmtc_cse.plugins.transport_gevent_http",
"disabled": false,
"config": {
"interface": "::",
"port": 18000,
"enable_https": false,
"require_cert": true
}
},
{
"name": "NotificationHandler",
"package": "openmtc_cse.plugins.notification_handler",
"disabled": false
},
{
"name": "ExpirationTimeHandler",
"package": "openmtc_cse.plugins.expiration_time_handler",
"disabled": true,
"config": {
"default_lifetime": 10000
}
},
{
"name": "AnnouncementHandler",
"package": "openmtc_cse.plugins.announcement_handler",
"disabled": true,
"config": {
"auto_announce": false
}
}
]
}
}