summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/etc/config.json
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-01-23 22:30:04 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-23 22:30:04 +0000
commitd10dc65f13e3b82c3732f2ca0dd26f953e624202 (patch)
treee2279af24e4b881efc3d0fc006adf4926c7e45e0 /oti/event-handler/etc/config.json
parent6f2d7c7bd510345436f54fd1554280cc731a1dc4 (diff)
parent158b75abd6095a3155f5057832ec868bc99ced36 (diff)
Merge "Add OTI event-handler project"
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"]
+ }
+ }
+}