summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/etc/config.json
diff options
context:
space:
mode:
authorKotagiri, Ramprasad (rp5662) <rp5662@att.com>2019-12-19 17:41:16 -0500
committerKotagiri, Ramprasad (rp5662) <rp5662@att.com>2020-01-21 16:50:17 -0500
commit158b75abd6095a3155f5057832ec868bc99ced36 (patch)
treed374ba4adcfa6db9a036cb2bf018fe529c215eee /oti/event-handler/etc/config.json
parent77900bb3097491cd9fca964c111ea70724e53989 (diff)
Add OTI event-handler project
OTI event handler application in DCAEGEN2 platform Change-Id: Ie64f26f851e2045f00043f90279d503c2dc62948 Issue-ID: DCAEGEN2-1910 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
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"]
+ }
+ }
+}