aboutsummaryrefslogtreecommitdiffstats
path: root/etc/config.json
diff options
context:
space:
mode:
authoralex_sh <alexs@att.com>2017-08-23 17:30:56 -0400
committeralex_sh <alexs@att.com>2017-08-23 17:59:20 -0400
commit9d980ce62d1f12d1e3fba48efb50398b8b95272a (patch)
treebbd0651db6ecb86bbdbae8594f00c5d37e0b30cf /etc/config.json
parent52b336b9a7c8b85460040bf56e4ad4d3e225ffd2 (diff)
policy-handler seed code
Change-Id: I35cd80b6e082f4b84740bab752774e8abc40ca35 Issue-Id: DCAEGEN2-46 Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to 'etc/config.json')
-rw-r--r--etc/config.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/etc/config.json b/etc/config.json
new file mode 100644
index 0000000..211ce16
--- /dev/null
+++ b/etc/config.json
@@ -0,0 +1,38 @@
+{
+ "config_pwd" : "onap-secret@2017!",
+ "wservice_port" : 25577,
+ "policy_handler" : {
+ "system" : "policy_handler"
+ },
+ "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.TimedRotatingFileHandler",
+ "formatter": "local",
+ "filename" : "logs/policy_handler.log",
+ "level": "DEBUG",
+ "when": "midnight",
+ "interval": 1,
+ "backupCount": 10,
+ "delay": true
+ }
+ },
+ "loggers": {
+ "policy_handler" : {
+ "handlers": ["file"],
+ "propagate":false
+ }
+ },
+ "root": {
+ "handlers": ["file"]
+ }
+ }
+} \ No newline at end of file