From 7aaa5186da049faf4f1cd141986280c965e0fa18 Mon Sep 17 00:00:00 2001 From: johnabass Date: Tue, 19 Sep 2017 08:48:27 -0700 Subject: [PATCH] Moved the sample configuration to /etc/scytale --- etc/scytale/scytale.json | 29 ++++++++++++++++++++--------- src/scytale/scytale.json | 26 -------------------------- 2 files changed, 20 insertions(+), 35 deletions(-) delete mode 100644 src/scytale/scytale.json diff --git a/etc/scytale/scytale.json b/etc/scytale/scytale.json index c92ce11..b9fc4fb 100644 --- a/etc/scytale/scytale.json +++ b/etc/scytale/scytale.json @@ -1,15 +1,26 @@ { - "port": 8080, - "hcport": 8888, - "pprofport": 9999, - "discoveryClient": { - "staticNodes": ["https://localhost:8585" ] + "primary": { + "address": ":6000" }, - + + "health": { + "address": ":6001" + }, + + "pprof": { + "address": ":6002" + }, + + "fanout": { + "method": "POST", + "endpoints": ["http://localhost:7000/api/v2/device/send"], + "authorization": "QWxhZGRpbjpPcGVuU2VzYW1l" + }, + + "log" : { - "file" : "scytaleLog.log", + "file" : "stdout", "level" : "DEBUG", - "maxSize" : 5242880, - "maxBackup" : 3 + "json": true } } diff --git a/src/scytale/scytale.json b/src/scytale/scytale.json deleted file mode 100644 index b9fc4fb..0000000 --- a/src/scytale/scytale.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "primary": { - "address": ":6000" - }, - - "health": { - "address": ":6001" - }, - - "pprof": { - "address": ":6002" - }, - - "fanout": { - "method": "POST", - "endpoints": ["http://localhost:7000/api/v2/device/send"], - "authorization": "QWxhZGRpbjpPcGVuU2VzYW1l" - }, - - - "log" : { - "file" : "stdout", - "level" : "DEBUG", - "json": true - } -}