Commit
54990eb8c5221aea79d6fea2304219582abca1d7
Sample apiserver config
Showing
2 changed files
with
5 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -25,6 +25,10 @@ |
25
|
25 |
"control_panel": { |
26
|
26 |
"listen_port": 27441 |
27
|
27 |
}, |
|
28 |
+ "apiserver": { |
|
29 |
+ "port": 27442, |
|
30 |
+ "apikey": "PLEASE_CHANGE_ME" |
|
31 |
+ }, |
28
|
32 |
"advice_max_age_ms": 0, |
29
|
33 |
"advice_is_topuprequest": false, |
30
|
34 |
"responsecode_tag": null, |
1
|
1 |
"use strict"; |
2
|
2 |
process.chdir(__dirname); |
3
|
3 |
|
|
4 |
+const apiserver = require('komodo-sdk/api-server'); |
4
|
5 |
const pullgw = require('komodo-sdk/gateway/pull'); |
5
|
6 |
const partner = require('./lib/partner'); |
6
|
7 |
const reverseReport = require('./lib/reverse-report'); |