aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorlj1412 <lji@research.att.com>2017-02-14 15:10:25 +0000
committerlj1412 <lji@research.att.com>2017-02-14 15:10:27 +0000
commitf2ec39706a7a31017f5d219c44d54d40714d9a27 (patch)
tree0442ccf8420a388d264cca3bc4965a0c1035af0d /etc
parentd53e0cf57fc289259b6c9de5bfad224f23cd2988 (diff)
Init dcae.orch-dispatcher
Change-Id: I52aa696bd5d1d5ed3bc6e03a3c994dc0b3a71062 Signed-off-by: lj1412 <lji@research.att.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/config.json.development11
-rw-r--r--etc/log4js.json28
2 files changed, 39 insertions, 0 deletions
diff --git a/etc/config.json.development b/etc/config.json.development
new file mode 100644
index 0000000..95e8c93
--- /dev/null
+++ b/etc/config.json.development
@@ -0,0 +1,11 @@
+{
+ "listenPort" : 8444,
+ "cloudify": {
+ "url": "https://cm.example.com/api/v2",
+ "user": "admin",
+ "password": "admin"
+ },
+ "inventory" : {
+ "url" : "http://inventory.example.com:8080"
+ }
+}
diff --git a/etc/log4js.json b/etc/log4js.json
new file mode 100644
index 0000000..28d2970
--- /dev/null
+++ b/etc/log4js.json
@@ -0,0 +1,28 @@
+{
+ "appenders":
+ [
+ {
+ "type": "dateFile",
+ "filename": "log/access-dispatcher.log",
+ "pattern": "-yyyy-MM-dd",
+ "alwaysIncludePattern": false,
+ "category": ["access"],
+ "layout" : {
+ "type" : "pattern",
+ "pattern" : "%d{ISO8601} %m"
+ }
+ },
+ {
+ "type": "categoryFilter",
+ "exclude": ["access"],
+ "appender": {
+ "type": "dateFile",
+ "filename": "log/dispatcher.log",
+ "pattern":"-yyyy-MM-dd",
+ "alwaysIncludePattern": false
+
+ }
+ }
+ ]
+}
+