From 1fbcb90950b989aa4951da892e1e8fcd4a01d9aa Mon Sep 17 00:00:00 2001
From: Adhidarma Hadiwinoto <adhisimon@gmail.com>
Date: Tue, 22 Mar 2022 14:59:38 +0700
Subject: [PATCH] Add config.sample.json

---
 config.sample.json | 11 +++++++++++
 index.js           |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 config.sample.json

diff --git a/config.sample.json b/config.sample.json
new file mode 100644
index 0000000..c09ae18
--- /dev/null
+++ b/config.sample.json
@@ -0,0 +1,11 @@
+{
+    "handler_name": "DUMMY2022",
+    "pull_interval_ms": 1000,
+    "apiserver": {
+        "apikey": "PLEASE_CHANGE_ME",
+        "port": 12602,
+        "url": "http://localhost:12602/apikey/PLEASE_CHANGE_ME"
+    },
+    "products": [],
+    "remote_products": {}
+}
diff --git a/index.js b/index.js
index 78a3a0b..c822fcb 100644
--- a/index.js
+++ b/index.js
@@ -4,7 +4,7 @@ const fs = require('fs');
 
 const config = require('komodo-sdk/config');
 
-global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'DUMMY'}`;
+global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'DUMMY2022'}`;
 
 require('komodo-sdk/api-server');
 const sdNotify = require('komodo-sdk/sd-notify');
-- 
1.9.0