Commit 1fbcb90950b989aa4951da892e1e8fcd4a01d9aa

Authored by Adhidarma Hadiwinoto
1 parent 43126c291a
Exists in master

Add config.sample.json

Showing 2 changed files with 12 additions and 1 deletions Side-by-side Diff

... ... @@ -0,0 +1,11 @@
  1 +{
  2 + "handler_name": "DUMMY2022",
  3 + "pull_interval_ms": 1000,
  4 + "apiserver": {
  5 + "apikey": "PLEASE_CHANGE_ME",
  6 + "port": 12602,
  7 + "url": "http://localhost:12602/apikey/PLEASE_CHANGE_ME"
  8 + },
  9 + "products": [],
  10 + "remote_products": {}
  11 +}
... ... @@ -4,7 +4,7 @@ const fs = require('fs');
4 4  
5 5 const config = require('komodo-sdk/config');
6 6  
7   -global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'DUMMY'}`;
  7 +global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'DUMMY2022'}`;
8 8  
9 9 require('komodo-sdk/api-server');
10 10 const sdNotify = require('komodo-sdk/sd-notify');