summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/etc/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'oti/event-handler/etc/config.json')
-rw-r--r--oti/event-handler/etc/config.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/oti/event-handler/etc/config.json b/oti/event-handler/etc/config.json
new file mode 100644
index 0000000..dad2431
--- /dev/null
+++ b/oti/event-handler/etc/config.json
@@ -0,0 +1,44 @@
+{
+ "version" : "1.0.0",
+ "wservice_port" : 9443,
+ "oti_handler" : {
+ "system" : "oti_handler",
+ "tls" : {
+ "cert_directory" : "/opt/app/oti_handler/certificate",
+ "cacert" : "/opt/app/oti_handler/certificate/cacert.pem",
+ "private_key" : "tls.key",
+ "server_cert" : "tls.crt",
+ "server_ca_chain" : "tls.chain.crt"
+ }
+ },
+ "logging" : {
+ "version": 1,
+ "disable_existing_loggers": false,
+ "formatters": {
+ "local": {
+ "format": "%(asctime)s.%(msecs)03d %(levelname)+8s %(threadName)s %(name)s.%(funcName)s: %(message)s",
+ "datefmt": "%Y%m%d_%H%M%S"
+ }
+ },
+ "handlers": {
+ "file": {
+ "class": "logging.handlers.RotatingFileHandler",
+ "formatter": "local",
+ "filename" : "logs/oti_handler.log",
+ "level": "DEBUG",
+ "maxBytes": 200000000,
+ "backupCount": 5,
+ "delay": true
+ }
+ },
+ "loggers": {
+ "dti_handler" : {
+ "handlers": ["file"],
+ "propagate":false
+ }
+ },
+ "root": {
+ "handlers": ["file"]
+ }
+ }
+}