From b5e959c07be208dae2ecdd1612ee87d785bb722f Mon Sep 17 00:00:00 2001 From: Emmanuel Nyachoke Date: Mon, 7 Oct 2024 12:52:36 +0300 Subject: [PATCH] OZ-560: Fix Unit test and docker-publish CI Job --- .github/workflows/build.yml | 1 + coverage/coverage.json | 2 +- coverage/lcov-report/index.html | 28 +- .../lcov-report/lib/consul/catalog.js.html | 2 +- coverage/lcov-report/lib/consul/index.html | 28 +- coverage/lcov-report/lib/consul/index.js.html | 52 +++- coverage/lcov-report/lib/consul/kv.js.html | 2 +- .../lib/container-to-consul.js.html | 7 +- coverage/lcov-report/lib/docker.js.html | 2 +- coverage/lcov-report/lib/errors/index.html | 2 +- .../lcov-report/lib/errors/skipError.js.html | 2 +- coverage/lcov-report/lib/index.html | 2 +- coverage/lcov-report/lib/typedefs.js.html | 2 +- coverage/lcov.info | 264 +++++++++--------- lib/consul/index.js | 2 +- 15 files changed, 214 insertions(+), 184 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5464d8d..490916c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,7 @@ jobs: uses: mekomsolutions/shared-github-workflow/.github/workflows/docker-build-publish.yml@main with: download-artifacts: false + image-version: "latest" image-name: "container-to-consul" secrets: DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_REGISTRY_USERNAME }} diff --git a/coverage/coverage.json b/coverage/coverage.json index e46ed01..0f96786 100644 --- a/coverage/coverage.json +++ b/coverage/coverage.json @@ -1 +1 @@ -{"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/catalog.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/catalog.js","s":{"1":3,"2":1,"3":1,"4":1},"b":{},"f":{"1":3,"2":1,"3":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":23}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":11},"end":{"line":8,"column":18}}},"3":{"name":"(anonymous_3)","line":12,"loc":{"start":{"line":12,"column":13},"end":{"line":12,"column":20}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":25}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":58}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"4":{"start":{"line":17,"column":0},"end":{"line":17,"column":25}}},"branchMap":{}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/kv.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/kv.js","s":{"1":5,"2":1,"3":1,"4":1,"5":1,"6":1,"7":0,"8":1,"9":1},"b":{"1":[0,1]},"f":{"1":5,"2":1,"3":1,"4":1,"5":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":23}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":7},"end":{"line":8,"column":16}}},"3":{"name":"(anonymous_3)","line":12,"loc":{"start":{"line":12,"column":6},"end":{"line":12,"column":19}}},"4":{"name":"(anonymous_4)","line":16,"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":12}}},"5":{"name":"(anonymous_5)","line":20,"loc":{"start":{"line":20,"column":9},"end":{"line":20,"column":24}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":25}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":53}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":52}},"4":{"start":{"line":17,"column":4},"end":{"line":17,"column":49}},"5":{"start":{"line":21,"column":4},"end":{"line":21,"column":30}},"6":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"7":{"start":{"line":24,"column":6},"end":{"line":24,"column":24}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":36}},"9":{"start":{"line":31,"column":0},"end":{"line":31,"column":20}}},"branchMap":{"1":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/errors/skipError.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/errors/skipError.js","s":{"1":1,"2":1},"b":{},"f":{"1":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":20}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":15}},"2":{"start":{"line":9,"column":0},"end":{"line":9,"column":27}}},"branchMap":{}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/index.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/index.js","s":{"1":1,"2":1,"3":1,"4":6,"5":6,"6":6,"7":6,"8":2,"9":2,"10":2,"11":2,"12":0,"13":2,"14":1,"15":2,"16":1,"17":2,"18":1,"19":2,"20":1,"21":1,"22":1,"23":1},"b":{"1":[6,6],"2":[2,0],"3":[1,1],"4":[1,1],"5":[1,1]},"f":{"1":6,"2":2,"3":0,"4":1,"5":2,"6":1,"7":1,"8":1},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":13},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":15,"loc":{"start":{"line":15,"column":7},"end":{"line":15,"column":27}}},"3":{"name":"transformResponse","line":24,"loc":{"start":{"line":24,"column":26},"end":{"line":24,"column":59}}},"4":{"name":"(anonymous_4)","line":35,"loc":{"start":{"line":35,"column":6},"end":{"line":35,"column":12}}},"5":{"name":"(anonymous_5)","line":49,"loc":{"start":{"line":49,"column":6},"end":{"line":49,"column":18}}},"6":{"name":"(anonymous_6)","line":57,"loc":{"start":{"line":57,"column":9},"end":{"line":57,"column":15}}},"7":{"name":"(anonymous_7)","line":61,"loc":{"start":{"line":61,"column":13},"end":{"line":61,"column":16}}},"8":{"name":"(anonymous_8)","line":65,"loc":{"start":{"line":65,"column":8},"end":{"line":65,"column":11}}}},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":31}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":37}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"4":{"start":{"line":8,"column":4},"end":{"line":8,"column":28}},"5":{"start":{"line":9,"column":4},"end":{"line":9,"column":28}},"6":{"start":{"line":11,"column":4},"end":{"line":11,"column":26}},"7":{"start":{"line":12,"column":4},"end":{"line":12,"column":33}},"8":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"9":{"start":{"line":17,"column":6},"end":{"line":17,"column":47}},"10":{"start":{"line":18,"column":6},"end":{"line":18,"column":33}},"11":{"start":{"line":20,"column":4},"end":{"line":27,"column":6}},"12":{"start":{"line":25,"column":8},"end":{"line":25,"column":32}},"13":{"start":{"line":29,"column":4},"end":{"line":31,"column":5}},"14":{"start":{"line":30,"column":6},"end":{"line":30,"column":26}},"15":{"start":{"line":32,"column":4},"end":{"line":32,"column":26}},"16":{"start":{"line":36,"column":4},"end":{"line":36,"column":34}},"17":{"start":{"line":50,"column":4},"end":{"line":52,"column":5}},"18":{"start":{"line":51,"column":6},"end":{"line":51,"column":32}},"19":{"start":{"line":54,"column":4},"end":{"line":54,"column":40}},"20":{"start":{"line":58,"column":4},"end":{"line":58,"column":37}},"21":{"start":{"line":62,"column":4},"end":{"line":62,"column":29}},"22":{"start":{"line":66,"column":4},"end":{"line":66,"column":24}},"23":{"start":{"line":70,"column":0},"end":{"line":70,"column":24}}},"branchMap":{"1":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":14},"end":{"line":12,"column":23}},{"start":{"line":12,"column":27},"end":{"line":12,"column":32}}]},"2":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":16,"column":4}},{"start":{"line":16,"column":4},"end":{"line":16,"column":4}}]},"3":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":37},"end":{"line":17,"column":40}},{"start":{"line":17,"column":43},"end":{"line":17,"column":46}}]},"4":{"line":29,"type":"if","locations":[{"start":{"line":29,"column":4},"end":{"line":29,"column":4}},{"start":{"line":29,"column":4},"end":{"line":29,"column":4}}]},"5":{"line":50,"type":"if","locations":[{"start":{"line":50,"column":4},"end":{"line":50,"column":4}},{"start":{"line":50,"column":4},"end":{"line":50,"column":4}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/container-to-consul.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/container-to-consul.js","s":{"1":22,"2":22,"3":22,"4":22,"5":22,"6":21,"7":21,"8":21,"9":21,"10":21,"11":25,"12":2,"13":1,"14":1,"15":1,"16":25,"17":2,"18":1,"19":1,"20":1,"21":5,"22":5,"23":2,"24":1,"25":1,"26":4,"27":6,"28":6,"29":1,"30":1,"31":5,"32":4,"33":1,"34":1,"35":3,"36":3,"37":2,"38":2,"39":1,"40":2,"41":4,"42":4,"43":4,"44":2,"45":1,"46":1,"47":1,"48":2,"49":2,"50":2,"51":1,"52":1,"53":1,"54":1,"55":2,"56":2,"57":2,"58":0,"59":0,"60":0,"61":0,"62":0,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":3,"70":3,"71":3,"72":3,"73":3,"74":3,"75":0,"76":3,"77":3,"78":9,"79":2,"80":2,"81":1,"82":2,"83":2,"84":2,"85":2,"86":1,"87":0,"88":2,"89":1,"90":1,"91":1,"92":2,"93":1,"94":3,"95":3,"96":3,"97":3,"98":1,"99":3,"100":3,"101":1,"102":3,"103":2,"104":3,"105":3,"106":5,"107":5,"108":1,"109":5,"110":22},"b":{"1":[1,1],"2":[2,1],"3":[1,0],"4":[4,1],"5":[5,4],"6":[1,1],"7":[2,0],"8":[0,0],"9":[3,0],"10":[0,3],"11":[3,3,3],"12":[3,0],"13":[2,2,1,1],"14":[1,1],"15":[1,1],"16":[1,2],"17":[3,1],"18":[1,2],"19":[3,2,1],"20":[2,1],"21":[3,2],"22":[1,4],"23":[5,3,1]},"f":{"1":21,"2":25,"3":5,"4":1,"5":4,"6":2,"7":2,"8":3,"9":3,"10":5},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":13},"end":{"line":10,"column":22}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":15},"end":{"line":20,"column":18}}},"3":{"name":"(anonymous_3)","line":41,"loc":{"start":{"line":41,"column":7},"end":{"line":41,"column":10}}},"4":{"name":"(anonymous_4)","line":86,"loc":{"start":{"line":86,"column":20},"end":{"line":86,"column":33}}},"5":{"name":"(anonymous_5)","line":95,"loc":{"start":{"line":95,"column":19},"end":{"line":95,"column":31}}},"6":{"name":"(anonymous_6)","line":128,"loc":{"start":{"line":128,"column":21},"end":{"line":128,"column":33}}},"7":{"name":"(anonymous_7)","line":157,"loc":{"start":{"line":157,"column":19},"end":{"line":157,"column":29}}},"8":{"name":"(anonymous_8)","line":175,"loc":{"start":{"line":175,"column":19},"end":{"line":175,"column":31}}},"9":{"name":"(anonymous_9)","line":241,"loc":{"start":{"line":241,"column":22},"end":{"line":241,"column":34}}},"10":{"name":"(anonymous_10)","line":266,"loc":{"start":{"line":266,"column":18},"end":{"line":266,"column":30}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":35}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":35}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":36}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":48}},"6":{"start":{"line":11,"column":4},"end":{"line":11,"column":25}},"7":{"start":{"line":13,"column":4},"end":{"line":13,"column":44}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":35}},"9":{"start":{"line":15,"column":4},"end":{"line":15,"column":50}},"10":{"start":{"line":17,"column":4},"end":{"line":17,"column":25}},"11":{"start":{"line":21,"column":4},"end":{"line":29,"column":7}},"12":{"start":{"line":22,"column":6},"end":{"line":28,"column":11}},"13":{"start":{"line":24,"column":27},"end":{"line":24,"column":60}},"14":{"start":{"line":26,"column":10},"end":{"line":26,"column":32}},"15":{"start":{"line":27,"column":10},"end":{"line":27,"column":22}},"16":{"start":{"line":30,"column":4},"end":{"line":38,"column":7}},"17":{"start":{"line":31,"column":6},"end":{"line":37,"column":11}},"18":{"start":{"line":33,"column":27},"end":{"line":33,"column":87}},"19":{"start":{"line":35,"column":10},"end":{"line":35,"column":32}},"20":{"start":{"line":36,"column":10},"end":{"line":36,"column":22}},"21":{"start":{"line":42,"column":4},"end":{"line":78,"column":9}},"22":{"start":{"line":44,"column":18},"end":{"line":50,"column":10}},"23":{"start":{"line":46,"column":10},"end":{"line":48,"column":11}},"24":{"start":{"line":47,"column":12},"end":{"line":47,"column":22}},"25":{"start":{"line":49,"column":10},"end":{"line":49,"column":22}},"26":{"start":{"line":52,"column":8},"end":{"line":70,"column":12}},"27":{"start":{"line":53,"column":10},"end":{"line":69,"column":15}},"28":{"start":{"line":55,"column":14},"end":{"line":68,"column":19}},"29":{"start":{"line":58,"column":18},"end":{"line":60,"column":19}},"30":{"start":{"line":59,"column":20},"end":{"line":59,"column":55}},"31":{"start":{"line":63,"column":18},"end":{"line":65,"column":19}},"32":{"start":{"line":64,"column":20},"end":{"line":64,"column":55}},"33":{"start":{"line":66,"column":18},"end":{"line":66,"column":40}},"34":{"start":{"line":67,"column":18},"end":{"line":67,"column":30}},"35":{"start":{"line":73,"column":18},"end":{"line":73,"column":42}},"36":{"start":{"line":74,"column":26},"end":{"line":74,"column":61}},"37":{"start":{"line":76,"column":8},"end":{"line":76,"column":30}},"38":{"start":{"line":77,"column":8},"end":{"line":77,"column":20}},"39":{"start":{"line":87,"column":4},"end":{"line":87,"column":87}},"40":{"start":{"line":87,"column":51},"end":{"line":87,"column":84}},"41":{"start":{"line":96,"column":4},"end":{"line":96,"column":16}},"42":{"start":{"line":98,"column":4},"end":{"line":108,"column":5}},"43":{"start":{"line":99,"column":6},"end":{"line":99,"column":50}},"44":{"start":{"line":102,"column":6},"end":{"line":105,"column":7}},"45":{"start":{"line":103,"column":8},"end":{"line":103,"column":33}},"46":{"start":{"line":104,"column":8},"end":{"line":104,"column":33}},"47":{"start":{"line":107,"column":6},"end":{"line":107,"column":31}},"48":{"start":{"line":110,"column":4},"end":{"line":110,"column":52}},"49":{"start":{"line":112,"column":4},"end":{"line":119,"column":9}},"50":{"start":{"line":113,"column":18},"end":{"line":113,"column":55}},"51":{"start":{"line":114,"column":18},"end":{"line":114,"column":112}},"52":{"start":{"line":116,"column":8},"end":{"line":116,"column":88}},"53":{"start":{"line":117,"column":8},"end":{"line":117,"column":30}},"54":{"start":{"line":118,"column":8},"end":{"line":118,"column":20}},"55":{"start":{"line":129,"column":4},"end":{"line":132,"column":57}},"56":{"start":{"line":134,"column":4},"end":{"line":136,"column":5}},"57":{"start":{"line":135,"column":6},"end":{"line":135,"column":31}},"58":{"start":{"line":138,"column":4},"end":{"line":146,"column":7}},"59":{"start":{"line":139,"column":6},"end":{"line":145,"column":7}},"60":{"start":{"line":140,"column":8},"end":{"line":142,"column":28}},"61":{"start":{"line":144,"column":8},"end":{"line":144,"column":81}},"62":{"start":{"line":148,"column":4},"end":{"line":148,"column":33}},"63":{"start":{"line":158,"column":4},"end":{"line":158,"column":54}},"64":{"start":{"line":160,"column":4},"end":{"line":166,"column":9}},"65":{"start":{"line":161,"column":18},"end":{"line":161,"column":72}},"66":{"start":{"line":162,"column":18},"end":{"line":162,"column":68}},"67":{"start":{"line":164,"column":8},"end":{"line":164,"column":30}},"68":{"start":{"line":165,"column":8},"end":{"line":165,"column":20}},"69":{"start":{"line":176,"column":4},"end":{"line":182,"column":6}},"70":{"start":{"line":183,"column":4},"end":{"line":186,"column":17}},"71":{"start":{"line":188,"column":4},"end":{"line":190,"column":5}},"72":{"start":{"line":189,"column":6},"end":{"line":189,"column":43}},"73":{"start":{"line":192,"column":4},"end":{"line":192,"column":50}},"74":{"start":{"line":194,"column":4},"end":{"line":196,"column":5}},"75":{"start":{"line":195,"column":6},"end":{"line":195,"column":87}},"76":{"start":{"line":197,"column":4},"end":{"line":228,"column":5}},"77":{"start":{"line":198,"column":6},"end":{"line":227,"column":9}},"78":{"start":{"line":199,"column":8},"end":{"line":226,"column":9}},"79":{"start":{"line":201,"column":12},"end":{"line":201,"column":42}},"80":{"start":{"line":202,"column":12},"end":{"line":204,"column":13}},"81":{"start":{"line":203,"column":14},"end":{"line":203,"column":52}},"82":{"start":{"line":205,"column":12},"end":{"line":205,"column":18}},"83":{"start":{"line":207,"column":12},"end":{"line":216,"column":13}},"84":{"start":{"line":208,"column":14},"end":{"line":208,"column":59}},"85":{"start":{"line":209,"column":14},"end":{"line":211,"column":15}},"86":{"start":{"line":210,"column":16},"end":{"line":210,"column":44}},"87":{"start":{"line":215,"column":14},"end":{"line":215,"column":32}},"88":{"start":{"line":217,"column":12},"end":{"line":217,"column":18}},"89":{"start":{"line":219,"column":12},"end":{"line":219,"column":50}},"90":{"start":{"line":220,"column":12},"end":{"line":220,"column":18}},"91":{"start":{"line":222,"column":12},"end":{"line":224,"column":38}},"92":{"start":{"line":224,"column":26},"end":{"line":224,"column":36}},"93":{"start":{"line":225,"column":12},"end":{"line":225,"column":18}},"94":{"start":{"line":230,"column":4},"end":{"line":230,"column":39}},"95":{"start":{"line":232,"column":4},"end":{"line":232,"column":19}},"96":{"start":{"line":242,"column":4},"end":{"line":242,"column":30}},"97":{"start":{"line":244,"column":4},"end":{"line":246,"column":5}},"98":{"start":{"line":245,"column":6},"end":{"line":245,"column":32}},"99":{"start":{"line":248,"column":4},"end":{"line":248,"column":32}},"100":{"start":{"line":249,"column":4},"end":{"line":251,"column":5}},"101":{"start":{"line":250,"column":6},"end":{"line":250,"column":37}},"102":{"start":{"line":252,"column":4},"end":{"line":254,"column":5}},"103":{"start":{"line":253,"column":6},"end":{"line":253,"column":33}},"104":{"start":{"line":255,"column":4},"end":{"line":255,"column":35}},"105":{"start":{"line":257,"column":4},"end":{"line":257,"column":16}},"106":{"start":{"line":267,"column":4},"end":{"line":267,"column":32}},"107":{"start":{"line":268,"column":4},"end":{"line":270,"column":5}},"108":{"start":{"line":269,"column":6},"end":{"line":269,"column":37}},"109":{"start":{"line":271,"column":4},"end":{"line":271,"column":16}},"110":{"start":{"line":276,"column":0},"end":{"line":276,"column":35}}},"branchMap":{"1":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":10},"end":{"line":46,"column":10}},{"start":{"line":46,"column":10},"end":{"line":46,"column":10}}]},"2":{"line":46,"type":"binary-expr","locations":[{"start":{"line":46,"column":14},"end":{"line":46,"column":30}},{"start":{"line":46,"column":34},"end":{"line":46,"column":58}}]},"3":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":18},"end":{"line":58,"column":18}},{"start":{"line":58,"column":18},"end":{"line":58,"column":18}}]},"4":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":18},"end":{"line":63,"column":18}},{"start":{"line":63,"column":18},"end":{"line":63,"column":18}}]},"5":{"line":63,"type":"binary-expr","locations":[{"start":{"line":63,"column":22},"end":{"line":63,"column":38}},{"start":{"line":63,"column":42},"end":{"line":63,"column":66}}]},"6":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":6},"end":{"line":102,"column":6}},{"start":{"line":102,"column":6},"end":{"line":102,"column":6}}]},"7":{"line":134,"type":"if","locations":[{"start":{"line":134,"column":4},"end":{"line":134,"column":4}},{"start":{"line":134,"column":4},"end":{"line":134,"column":4}}]},"8":{"line":139,"type":"if","locations":[{"start":{"line":139,"column":6},"end":{"line":139,"column":6}},{"start":{"line":139,"column":6},"end":{"line":139,"column":6}}]},"9":{"line":188,"type":"if","locations":[{"start":{"line":188,"column":4},"end":{"line":188,"column":4}},{"start":{"line":188,"column":4},"end":{"line":188,"column":4}}]},"10":{"line":194,"type":"if","locations":[{"start":{"line":194,"column":4},"end":{"line":194,"column":4}},{"start":{"line":194,"column":4},"end":{"line":194,"column":4}}]},"11":{"line":194,"type":"binary-expr","locations":[{"start":{"line":194,"column":8},"end":{"line":194,"column":38}},{"start":{"line":194,"column":42},"end":{"line":194,"column":77}},{"start":{"line":194,"column":81},"end":{"line":194,"column":105}}]},"12":{"line":197,"type":"if","locations":[{"start":{"line":197,"column":4},"end":{"line":197,"column":4}},{"start":{"line":197,"column":4},"end":{"line":197,"column":4}}]},"13":{"line":199,"type":"switch","locations":[{"start":{"line":200,"column":10},"end":{"line":205,"column":18}},{"start":{"line":206,"column":10},"end":{"line":217,"column":18}},{"start":{"line":218,"column":10},"end":{"line":220,"column":18}},{"start":{"line":221,"column":10},"end":{"line":225,"column":18}}]},"14":{"line":202,"type":"if","locations":[{"start":{"line":202,"column":12},"end":{"line":202,"column":12}},{"start":{"line":202,"column":12},"end":{"line":202,"column":12}}]},"15":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":14},"end":{"line":209,"column":14}},{"start":{"line":209,"column":14},"end":{"line":209,"column":14}}]},"16":{"line":244,"type":"if","locations":[{"start":{"line":244,"column":4},"end":{"line":244,"column":4}},{"start":{"line":244,"column":4},"end":{"line":244,"column":4}}]},"17":{"line":244,"type":"binary-expr","locations":[{"start":{"line":244,"column":8},"end":{"line":244,"column":13}},{"start":{"line":244,"column":17},"end":{"line":244,"column":32}}]},"18":{"line":249,"type":"if","locations":[{"start":{"line":249,"column":4},"end":{"line":249,"column":4}},{"start":{"line":249,"column":4},"end":{"line":249,"column":4}}]},"19":{"line":249,"type":"binary-expr","locations":[{"start":{"line":249,"column":8},"end":{"line":249,"column":13}},{"start":{"line":249,"column":17},"end":{"line":249,"column":33}},{"start":{"line":249,"column":37},"end":{"line":249,"column":60}}]},"20":{"line":252,"type":"if","locations":[{"start":{"line":252,"column":4},"end":{"line":252,"column":4}},{"start":{"line":252,"column":4},"end":{"line":252,"column":4}}]},"21":{"line":252,"type":"binary-expr","locations":[{"start":{"line":252,"column":8},"end":{"line":252,"column":12}},{"start":{"line":252,"column":16},"end":{"line":252,"column":35}}]},"22":{"line":268,"type":"if","locations":[{"start":{"line":268,"column":4},"end":{"line":268,"column":4}},{"start":{"line":268,"column":4},"end":{"line":268,"column":4}}]},"23":{"line":268,"type":"binary-expr","locations":[{"start":{"line":268,"column":8},"end":{"line":268,"column":13}},{"start":{"line":268,"column":17},"end":{"line":268,"column":33}},{"start":{"line":268,"column":37},"end":{"line":268,"column":60}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/docker.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/docker.js","s":{"1":7,"2":7,"3":7,"4":7,"5":6,"6":6,"7":6,"8":6,"9":6,"10":6,"11":6,"12":5,"13":4,"14":4,"15":4,"16":4,"17":4,"18":5,"19":1,"20":1,"21":2,"22":1,"23":1,"24":1,"25":1,"26":7},"b":{"1":[1,1]},"f":{"1":6,"2":6,"3":1},"fnMap":{"1":{"name":"(anonymous_1)","line":9,"loc":{"start":{"line":9,"column":14},"end":{"line":9,"column":34}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":8},"end":{"line":20,"column":11}}},"3":{"name":"(anonymous_3)","line":50,"loc":{"start":{"line":50,"column":13},"end":{"line":50,"column":16}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":39}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":54}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":46}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":36}},"5":{"start":{"line":10,"column":4},"end":{"line":10,"column":47}},"6":{"start":{"line":12,"column":4},"end":{"line":12,"column":50}},"7":{"start":{"line":13,"column":4},"end":{"line":13,"column":52}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":32}},"9":{"start":{"line":15,"column":4},"end":{"line":17,"column":7}},"10":{"start":{"line":21,"column":4},"end":{"line":47,"column":9}},"11":{"start":{"line":22,"column":6},"end":{"line":22,"column":26}},"12":{"start":{"line":24,"column":6},"end":{"line":32,"column":9}},"13":{"start":{"line":25,"column":8},"end":{"line":25,"column":63}},"14":{"start":{"line":27,"column":8},"end":{"line":31,"column":13}},"15":{"start":{"line":29,"column":12},"end":{"line":29,"column":99}},"16":{"start":{"line":29,"column":50},"end":{"line":29,"column":71}},"17":{"start":{"line":30,"column":12},"end":{"line":30,"column":22}},"18":{"start":{"line":34,"column":6},"end":{"line":37,"column":9}},"19":{"start":{"line":35,"column":8},"end":{"line":35,"column":82}},"20":{"start":{"line":36,"column":8},"end":{"line":36,"column":28}},"21":{"start":{"line":41,"column":8},"end":{"line":43,"column":9}},"22":{"start":{"line":42,"column":10},"end":{"line":42,"column":30}},"23":{"start":{"line":45,"column":8},"end":{"line":45,"column":48}},"24":{"start":{"line":46,"column":8},"end":{"line":46,"column":37}},"25":{"start":{"line":51,"column":4},"end":{"line":51,"column":40}},"26":{"start":{"line":55,"column":0},"end":{"line":55,"column":24}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":8}},{"start":{"line":41,"column":8},"end":{"line":41,"column":8}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/typedefs.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/typedefs.js","s":{},"b":{},"f":{},"fnMap":{},"statementMap":{},"branchMap":{}}} \ No newline at end of file +{"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/catalog.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/catalog.js","s":{"1":3,"2":1,"3":1,"4":1},"b":{},"f":{"1":3,"2":1,"3":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":23}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":11},"end":{"line":8,"column":18}}},"3":{"name":"(anonymous_3)","line":12,"loc":{"start":{"line":12,"column":13},"end":{"line":12,"column":20}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":25}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":58}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"4":{"start":{"line":17,"column":0},"end":{"line":17,"column":25}}},"branchMap":{}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/kv.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/kv.js","s":{"1":5,"2":1,"3":1,"4":1,"5":1,"6":1,"7":0,"8":1,"9":1},"b":{"1":[0,1]},"f":{"1":5,"2":1,"3":1,"4":1,"5":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":23}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":7},"end":{"line":8,"column":16}}},"3":{"name":"(anonymous_3)","line":12,"loc":{"start":{"line":12,"column":6},"end":{"line":12,"column":19}}},"4":{"name":"(anonymous_4)","line":16,"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":12}}},"5":{"name":"(anonymous_5)","line":20,"loc":{"start":{"line":20,"column":9},"end":{"line":20,"column":24}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":25}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":53}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":52}},"4":{"start":{"line":17,"column":4},"end":{"line":17,"column":49}},"5":{"start":{"line":21,"column":4},"end":{"line":21,"column":30}},"6":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"7":{"start":{"line":24,"column":6},"end":{"line":24,"column":24}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":36}},"9":{"start":{"line":31,"column":0},"end":{"line":31,"column":20}}},"branchMap":{"1":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/errors/skipError.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/errors/skipError.js","s":{"1":1,"2":1},"b":{},"f":{"1":1},"fnMap":{"1":{"name":"(anonymous_1)","line":4,"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":20}}}},"statementMap":{"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":15}},"2":{"start":{"line":9,"column":0},"end":{"line":9,"column":27}}},"branchMap":{}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/index.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/index.js","s":{"1":1,"2":1,"3":1,"4":6,"5":6,"6":6,"7":6,"8":2,"9":2,"10":2,"11":2,"12":0,"13":0,"14":0,"15":0,"16":0,"17":2,"18":1,"19":2,"20":1,"21":2,"22":1,"23":2,"24":1,"25":1,"26":1,"27":1},"b":{"1":[6,6],"2":[2,0],"3":[1,1],"4":[1,1],"5":[1,1]},"f":{"1":6,"2":2,"3":1,"4":2,"5":1,"6":1,"7":1},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":13},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":15,"loc":{"start":{"line":15,"column":7},"end":{"line":15,"column":27}}},"3":{"name":"(anonymous_3)","line":45,"loc":{"start":{"line":45,"column":6},"end":{"line":45,"column":12}}},"4":{"name":"(anonymous_4)","line":59,"loc":{"start":{"line":59,"column":6},"end":{"line":59,"column":18}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":9},"end":{"line":67,"column":15}}},"6":{"name":"(anonymous_6)","line":71,"loc":{"start":{"line":71,"column":13},"end":{"line":71,"column":16}}},"7":{"name":"(anonymous_7)","line":75,"loc":{"start":{"line":75,"column":8},"end":{"line":75,"column":11}}}},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":31}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":37}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"4":{"start":{"line":8,"column":4},"end":{"line":8,"column":28}},"5":{"start":{"line":9,"column":4},"end":{"line":9,"column":28}},"6":{"start":{"line":11,"column":4},"end":{"line":11,"column":26}},"7":{"start":{"line":12,"column":4},"end":{"line":12,"column":33}},"8":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"9":{"start":{"line":17,"column":6},"end":{"line":17,"column":47}},"10":{"start":{"line":18,"column":6},"end":{"line":18,"column":33}},"11":{"start":{"line":20,"column":4},"end":{"line":37,"column":6}},"12":{"start":{"line":26,"column":10},"end":{"line":26,"column":19}},"13":{"start":{"line":27,"column":10},"end":{"line":33,"column":11}},"14":{"start":{"line":28,"column":12},"end":{"line":28,"column":36}},"15":{"start":{"line":30,"column":12},"end":{"line":32,"column":14}},"16":{"start":{"line":34,"column":10},"end":{"line":34,"column":22}},"17":{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},"18":{"start":{"line":40,"column":6},"end":{"line":40,"column":26}},"19":{"start":{"line":42,"column":4},"end":{"line":42,"column":26}},"20":{"start":{"line":46,"column":4},"end":{"line":46,"column":34}},"21":{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},"22":{"start":{"line":61,"column":6},"end":{"line":61,"column":32}},"23":{"start":{"line":64,"column":4},"end":{"line":64,"column":40}},"24":{"start":{"line":68,"column":4},"end":{"line":68,"column":37}},"25":{"start":{"line":72,"column":4},"end":{"line":72,"column":29}},"26":{"start":{"line":76,"column":4},"end":{"line":76,"column":24}},"27":{"start":{"line":80,"column":0},"end":{"line":80,"column":24}}},"branchMap":{"1":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":14},"end":{"line":12,"column":23}},{"start":{"line":12,"column":27},"end":{"line":12,"column":32}}]},"2":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":16,"column":4}},{"start":{"line":16,"column":4},"end":{"line":16,"column":4}}]},"3":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":37},"end":{"line":17,"column":40}},{"start":{"line":17,"column":43},"end":{"line":17,"column":46}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"5":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":60,"column":4}},{"start":{"line":60,"column":4},"end":{"line":60,"column":4}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/container-to-consul.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/container-to-consul.js","s":{"1":22,"2":22,"3":22,"4":22,"5":22,"6":21,"7":21,"8":21,"9":21,"10":21,"11":25,"12":2,"13":1,"14":1,"15":1,"16":25,"17":2,"18":1,"19":1,"20":1,"21":5,"22":5,"23":2,"24":1,"25":1,"26":4,"27":6,"28":6,"29":1,"30":1,"31":5,"32":4,"33":1,"34":1,"35":3,"36":3,"37":2,"38":2,"39":1,"40":2,"41":4,"42":4,"43":4,"44":2,"45":1,"46":1,"47":1,"48":2,"49":2,"50":2,"51":1,"52":1,"53":1,"54":1,"55":2,"56":2,"57":2,"58":0,"59":0,"60":0,"61":0,"62":0,"63":2,"64":2,"65":1,"66":1,"67":1,"68":1,"69":3,"70":3,"71":3,"72":3,"73":3,"74":3,"75":0,"76":3,"77":3,"78":9,"79":2,"80":2,"81":1,"82":2,"83":2,"84":2,"85":2,"86":1,"87":0,"88":2,"89":1,"90":1,"91":1,"92":2,"93":1,"94":3,"95":3,"96":3,"97":3,"98":1,"99":3,"100":3,"101":1,"102":3,"103":2,"104":3,"105":3,"106":5,"107":5,"108":1,"109":5,"110":22},"b":{"1":[1,1],"2":[2,1],"3":[1,0],"4":[4,1],"5":[5,4],"6":[1,1],"7":[2,0],"8":[0,0],"9":[3,0],"10":[0,3],"11":[3,3,3],"12":[3,0],"13":[2,2,1,1],"14":[1,1],"15":[1,1],"16":[1,2],"17":[3,1],"18":[1,2],"19":[3,2,1],"20":[2,1],"21":[3,2],"22":[1,4],"23":[5,3,1]},"f":{"1":21,"2":25,"3":5,"4":1,"5":4,"6":2,"7":2,"8":3,"9":3,"10":5},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":13},"end":{"line":10,"column":22}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":15},"end":{"line":20,"column":18}}},"3":{"name":"(anonymous_3)","line":41,"loc":{"start":{"line":41,"column":7},"end":{"line":41,"column":10}}},"4":{"name":"(anonymous_4)","line":85,"loc":{"start":{"line":85,"column":20},"end":{"line":85,"column":33}}},"5":{"name":"(anonymous_5)","line":94,"loc":{"start":{"line":94,"column":19},"end":{"line":94,"column":31}}},"6":{"name":"(anonymous_6)","line":127,"loc":{"start":{"line":127,"column":21},"end":{"line":127,"column":33}}},"7":{"name":"(anonymous_7)","line":156,"loc":{"start":{"line":156,"column":19},"end":{"line":156,"column":29}}},"8":{"name":"(anonymous_8)","line":174,"loc":{"start":{"line":174,"column":19},"end":{"line":174,"column":31}}},"9":{"name":"(anonymous_9)","line":240,"loc":{"start":{"line":240,"column":22},"end":{"line":240,"column":34}}},"10":{"name":"(anonymous_10)","line":265,"loc":{"start":{"line":265,"column":18},"end":{"line":265,"column":30}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":35}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":35}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":36}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":48}},"6":{"start":{"line":11,"column":4},"end":{"line":11,"column":25}},"7":{"start":{"line":13,"column":4},"end":{"line":13,"column":44}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":35}},"9":{"start":{"line":15,"column":4},"end":{"line":15,"column":50}},"10":{"start":{"line":17,"column":4},"end":{"line":17,"column":25}},"11":{"start":{"line":21,"column":4},"end":{"line":29,"column":7}},"12":{"start":{"line":22,"column":6},"end":{"line":28,"column":11}},"13":{"start":{"line":24,"column":27},"end":{"line":24,"column":60}},"14":{"start":{"line":26,"column":10},"end":{"line":26,"column":32}},"15":{"start":{"line":27,"column":10},"end":{"line":27,"column":22}},"16":{"start":{"line":30,"column":4},"end":{"line":38,"column":7}},"17":{"start":{"line":31,"column":6},"end":{"line":37,"column":11}},"18":{"start":{"line":33,"column":27},"end":{"line":33,"column":87}},"19":{"start":{"line":35,"column":10},"end":{"line":35,"column":32}},"20":{"start":{"line":36,"column":10},"end":{"line":36,"column":22}},"21":{"start":{"line":42,"column":4},"end":{"line":77,"column":9}},"22":{"start":{"line":44,"column":18},"end":{"line":50,"column":10}},"23":{"start":{"line":46,"column":10},"end":{"line":48,"column":11}},"24":{"start":{"line":47,"column":12},"end":{"line":47,"column":22}},"25":{"start":{"line":49,"column":10},"end":{"line":49,"column":22}},"26":{"start":{"line":52,"column":8},"end":{"line":70,"column":12}},"27":{"start":{"line":53,"column":10},"end":{"line":69,"column":15}},"28":{"start":{"line":55,"column":14},"end":{"line":68,"column":19}},"29":{"start":{"line":58,"column":18},"end":{"line":60,"column":19}},"30":{"start":{"line":59,"column":20},"end":{"line":59,"column":55}},"31":{"start":{"line":63,"column":18},"end":{"line":65,"column":19}},"32":{"start":{"line":64,"column":20},"end":{"line":64,"column":55}},"33":{"start":{"line":66,"column":18},"end":{"line":66,"column":40}},"34":{"start":{"line":67,"column":18},"end":{"line":67,"column":30}},"35":{"start":{"line":72,"column":18},"end":{"line":72,"column":42}},"36":{"start":{"line":73,"column":26},"end":{"line":73,"column":61}},"37":{"start":{"line":75,"column":8},"end":{"line":75,"column":30}},"38":{"start":{"line":76,"column":8},"end":{"line":76,"column":20}},"39":{"start":{"line":86,"column":4},"end":{"line":86,"column":87}},"40":{"start":{"line":86,"column":51},"end":{"line":86,"column":84}},"41":{"start":{"line":95,"column":4},"end":{"line":95,"column":16}},"42":{"start":{"line":97,"column":4},"end":{"line":107,"column":5}},"43":{"start":{"line":98,"column":6},"end":{"line":98,"column":50}},"44":{"start":{"line":101,"column":6},"end":{"line":104,"column":7}},"45":{"start":{"line":102,"column":8},"end":{"line":102,"column":33}},"46":{"start":{"line":103,"column":8},"end":{"line":103,"column":33}},"47":{"start":{"line":106,"column":6},"end":{"line":106,"column":31}},"48":{"start":{"line":109,"column":4},"end":{"line":109,"column":52}},"49":{"start":{"line":111,"column":4},"end":{"line":118,"column":9}},"50":{"start":{"line":112,"column":18},"end":{"line":112,"column":55}},"51":{"start":{"line":113,"column":18},"end":{"line":113,"column":112}},"52":{"start":{"line":115,"column":8},"end":{"line":115,"column":88}},"53":{"start":{"line":116,"column":8},"end":{"line":116,"column":30}},"54":{"start":{"line":117,"column":8},"end":{"line":117,"column":20}},"55":{"start":{"line":128,"column":4},"end":{"line":131,"column":57}},"56":{"start":{"line":133,"column":4},"end":{"line":135,"column":5}},"57":{"start":{"line":134,"column":6},"end":{"line":134,"column":31}},"58":{"start":{"line":137,"column":4},"end":{"line":145,"column":7}},"59":{"start":{"line":138,"column":6},"end":{"line":144,"column":7}},"60":{"start":{"line":139,"column":8},"end":{"line":141,"column":28}},"61":{"start":{"line":143,"column":8},"end":{"line":143,"column":81}},"62":{"start":{"line":147,"column":4},"end":{"line":147,"column":33}},"63":{"start":{"line":157,"column":4},"end":{"line":157,"column":54}},"64":{"start":{"line":159,"column":4},"end":{"line":165,"column":9}},"65":{"start":{"line":160,"column":18},"end":{"line":160,"column":72}},"66":{"start":{"line":161,"column":18},"end":{"line":161,"column":68}},"67":{"start":{"line":163,"column":8},"end":{"line":163,"column":30}},"68":{"start":{"line":164,"column":8},"end":{"line":164,"column":20}},"69":{"start":{"line":175,"column":4},"end":{"line":181,"column":6}},"70":{"start":{"line":182,"column":4},"end":{"line":185,"column":17}},"71":{"start":{"line":187,"column":4},"end":{"line":189,"column":5}},"72":{"start":{"line":188,"column":6},"end":{"line":188,"column":43}},"73":{"start":{"line":191,"column":4},"end":{"line":191,"column":50}},"74":{"start":{"line":193,"column":4},"end":{"line":195,"column":5}},"75":{"start":{"line":194,"column":6},"end":{"line":194,"column":87}},"76":{"start":{"line":196,"column":4},"end":{"line":227,"column":5}},"77":{"start":{"line":197,"column":6},"end":{"line":226,"column":9}},"78":{"start":{"line":198,"column":8},"end":{"line":225,"column":9}},"79":{"start":{"line":200,"column":12},"end":{"line":200,"column":42}},"80":{"start":{"line":201,"column":12},"end":{"line":203,"column":13}},"81":{"start":{"line":202,"column":14},"end":{"line":202,"column":52}},"82":{"start":{"line":204,"column":12},"end":{"line":204,"column":18}},"83":{"start":{"line":206,"column":12},"end":{"line":215,"column":13}},"84":{"start":{"line":207,"column":14},"end":{"line":207,"column":59}},"85":{"start":{"line":208,"column":14},"end":{"line":210,"column":15}},"86":{"start":{"line":209,"column":16},"end":{"line":209,"column":44}},"87":{"start":{"line":214,"column":14},"end":{"line":214,"column":32}},"88":{"start":{"line":216,"column":12},"end":{"line":216,"column":18}},"89":{"start":{"line":218,"column":12},"end":{"line":218,"column":50}},"90":{"start":{"line":219,"column":12},"end":{"line":219,"column":18}},"91":{"start":{"line":221,"column":12},"end":{"line":223,"column":38}},"92":{"start":{"line":223,"column":26},"end":{"line":223,"column":36}},"93":{"start":{"line":224,"column":12},"end":{"line":224,"column":18}},"94":{"start":{"line":229,"column":4},"end":{"line":229,"column":39}},"95":{"start":{"line":231,"column":4},"end":{"line":231,"column":19}},"96":{"start":{"line":241,"column":4},"end":{"line":241,"column":30}},"97":{"start":{"line":243,"column":4},"end":{"line":245,"column":5}},"98":{"start":{"line":244,"column":6},"end":{"line":244,"column":32}},"99":{"start":{"line":247,"column":4},"end":{"line":247,"column":32}},"100":{"start":{"line":248,"column":4},"end":{"line":250,"column":5}},"101":{"start":{"line":249,"column":6},"end":{"line":249,"column":37}},"102":{"start":{"line":251,"column":4},"end":{"line":253,"column":5}},"103":{"start":{"line":252,"column":6},"end":{"line":252,"column":33}},"104":{"start":{"line":254,"column":4},"end":{"line":254,"column":35}},"105":{"start":{"line":256,"column":4},"end":{"line":256,"column":16}},"106":{"start":{"line":266,"column":4},"end":{"line":266,"column":32}},"107":{"start":{"line":267,"column":4},"end":{"line":269,"column":5}},"108":{"start":{"line":268,"column":6},"end":{"line":268,"column":37}},"109":{"start":{"line":270,"column":4},"end":{"line":270,"column":16}},"110":{"start":{"line":275,"column":0},"end":{"line":275,"column":35}}},"branchMap":{"1":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":10},"end":{"line":46,"column":10}},{"start":{"line":46,"column":10},"end":{"line":46,"column":10}}]},"2":{"line":46,"type":"binary-expr","locations":[{"start":{"line":46,"column":14},"end":{"line":46,"column":30}},{"start":{"line":46,"column":34},"end":{"line":46,"column":58}}]},"3":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":18},"end":{"line":58,"column":18}},{"start":{"line":58,"column":18},"end":{"line":58,"column":18}}]},"4":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":18},"end":{"line":63,"column":18}},{"start":{"line":63,"column":18},"end":{"line":63,"column":18}}]},"5":{"line":63,"type":"binary-expr","locations":[{"start":{"line":63,"column":22},"end":{"line":63,"column":38}},{"start":{"line":63,"column":42},"end":{"line":63,"column":66}}]},"6":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":6},"end":{"line":101,"column":6}},{"start":{"line":101,"column":6},"end":{"line":101,"column":6}}]},"7":{"line":133,"type":"if","locations":[{"start":{"line":133,"column":4},"end":{"line":133,"column":4}},{"start":{"line":133,"column":4},"end":{"line":133,"column":4}}]},"8":{"line":138,"type":"if","locations":[{"start":{"line":138,"column":6},"end":{"line":138,"column":6}},{"start":{"line":138,"column":6},"end":{"line":138,"column":6}}]},"9":{"line":187,"type":"if","locations":[{"start":{"line":187,"column":4},"end":{"line":187,"column":4}},{"start":{"line":187,"column":4},"end":{"line":187,"column":4}}]},"10":{"line":193,"type":"if","locations":[{"start":{"line":193,"column":4},"end":{"line":193,"column":4}},{"start":{"line":193,"column":4},"end":{"line":193,"column":4}}]},"11":{"line":193,"type":"binary-expr","locations":[{"start":{"line":193,"column":8},"end":{"line":193,"column":38}},{"start":{"line":193,"column":42},"end":{"line":193,"column":77}},{"start":{"line":193,"column":81},"end":{"line":193,"column":105}}]},"12":{"line":196,"type":"if","locations":[{"start":{"line":196,"column":4},"end":{"line":196,"column":4}},{"start":{"line":196,"column":4},"end":{"line":196,"column":4}}]},"13":{"line":198,"type":"switch","locations":[{"start":{"line":199,"column":10},"end":{"line":204,"column":18}},{"start":{"line":205,"column":10},"end":{"line":216,"column":18}},{"start":{"line":217,"column":10},"end":{"line":219,"column":18}},{"start":{"line":220,"column":10},"end":{"line":224,"column":18}}]},"14":{"line":201,"type":"if","locations":[{"start":{"line":201,"column":12},"end":{"line":201,"column":12}},{"start":{"line":201,"column":12},"end":{"line":201,"column":12}}]},"15":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":14},"end":{"line":208,"column":14}},{"start":{"line":208,"column":14},"end":{"line":208,"column":14}}]},"16":{"line":243,"type":"if","locations":[{"start":{"line":243,"column":4},"end":{"line":243,"column":4}},{"start":{"line":243,"column":4},"end":{"line":243,"column":4}}]},"17":{"line":243,"type":"binary-expr","locations":[{"start":{"line":243,"column":8},"end":{"line":243,"column":13}},{"start":{"line":243,"column":17},"end":{"line":243,"column":32}}]},"18":{"line":248,"type":"if","locations":[{"start":{"line":248,"column":4},"end":{"line":248,"column":4}},{"start":{"line":248,"column":4},"end":{"line":248,"column":4}}]},"19":{"line":248,"type":"binary-expr","locations":[{"start":{"line":248,"column":8},"end":{"line":248,"column":13}},{"start":{"line":248,"column":17},"end":{"line":248,"column":33}},{"start":{"line":248,"column":37},"end":{"line":248,"column":60}}]},"20":{"line":251,"type":"if","locations":[{"start":{"line":251,"column":4},"end":{"line":251,"column":4}},{"start":{"line":251,"column":4},"end":{"line":251,"column":4}}]},"21":{"line":251,"type":"binary-expr","locations":[{"start":{"line":251,"column":8},"end":{"line":251,"column":12}},{"start":{"line":251,"column":16},"end":{"line":251,"column":35}}]},"22":{"line":267,"type":"if","locations":[{"start":{"line":267,"column":4},"end":{"line":267,"column":4}},{"start":{"line":267,"column":4},"end":{"line":267,"column":4}}]},"23":{"line":267,"type":"binary-expr","locations":[{"start":{"line":267,"column":8},"end":{"line":267,"column":13}},{"start":{"line":267,"column":17},"end":{"line":267,"column":33}},{"start":{"line":267,"column":37},"end":{"line":267,"column":60}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/docker.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/docker.js","s":{"1":7,"2":7,"3":7,"4":7,"5":6,"6":6,"7":6,"8":6,"9":6,"10":6,"11":6,"12":5,"13":4,"14":4,"15":4,"16":4,"17":4,"18":5,"19":1,"20":1,"21":2,"22":1,"23":1,"24":1,"25":1,"26":7},"b":{"1":[1,1]},"f":{"1":6,"2":6,"3":1},"fnMap":{"1":{"name":"(anonymous_1)","line":9,"loc":{"start":{"line":9,"column":14},"end":{"line":9,"column":34}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":8},"end":{"line":20,"column":11}}},"3":{"name":"(anonymous_3)","line":50,"loc":{"start":{"line":50,"column":13},"end":{"line":50,"column":16}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":39}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":54}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":46}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":36}},"5":{"start":{"line":10,"column":4},"end":{"line":10,"column":47}},"6":{"start":{"line":12,"column":4},"end":{"line":12,"column":50}},"7":{"start":{"line":13,"column":4},"end":{"line":13,"column":52}},"8":{"start":{"line":14,"column":4},"end":{"line":14,"column":32}},"9":{"start":{"line":15,"column":4},"end":{"line":17,"column":7}},"10":{"start":{"line":21,"column":4},"end":{"line":47,"column":9}},"11":{"start":{"line":22,"column":6},"end":{"line":22,"column":26}},"12":{"start":{"line":24,"column":6},"end":{"line":32,"column":9}},"13":{"start":{"line":25,"column":8},"end":{"line":25,"column":63}},"14":{"start":{"line":27,"column":8},"end":{"line":31,"column":13}},"15":{"start":{"line":29,"column":12},"end":{"line":29,"column":99}},"16":{"start":{"line":29,"column":50},"end":{"line":29,"column":71}},"17":{"start":{"line":30,"column":12},"end":{"line":30,"column":22}},"18":{"start":{"line":34,"column":6},"end":{"line":37,"column":9}},"19":{"start":{"line":35,"column":8},"end":{"line":35,"column":82}},"20":{"start":{"line":36,"column":8},"end":{"line":36,"column":28}},"21":{"start":{"line":41,"column":8},"end":{"line":43,"column":9}},"22":{"start":{"line":42,"column":10},"end":{"line":42,"column":30}},"23":{"start":{"line":45,"column":8},"end":{"line":45,"column":48}},"24":{"start":{"line":46,"column":8},"end":{"line":46,"column":37}},"25":{"start":{"line":51,"column":4},"end":{"line":51,"column":40}},"26":{"start":{"line":55,"column":0},"end":{"line":55,"column":24}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":8}},{"start":{"line":41,"column":8},"end":{"line":41,"column":8}}]}}},"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/typedefs.js":{"path":"/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/typedefs.js","s":{},"b":{},"f":{},"fnMap":{},"statementMap":{},"branchMap":{}}} \ No newline at end of file diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html index 23f2c2b..749f73c 100644 --- a/coverage/lcov-report/index.html +++ b/coverage/lcov-report/index.html @@ -20,9 +20,9 @@

- 94.83% + 92.7% Statements - 165/174 + 165/178
86.15% @@ -30,14 +30,14 @@

56/65

- 96.67% + 100% Functions - 29/30 + 29/29
- 94.77% + 92.61% Lines - 163/172 + 163/176
@@ -73,15 +73,15 @@

lib/consul/ -
- 94.44% - 34/36 +
+ 85% + 34/40 83.33% 10/12 - 93.75% - 15/16 - 94.44% - 34/36 + 100% + 15/15 + 85% + 34/40 @@ -103,7 +103,7 @@

diff --git a/coverage/lcov-report/lib/consul/catalog.js.html b/coverage/lcov-report/lib/consul/catalog.js.html index 72f9a2b..9849ffa 100644 --- a/coverage/lcov-report/lib/consul/catalog.js.html +++ b/coverage/lcov-report/lib/consul/catalog.js.html @@ -97,7 +97,7 @@

diff --git a/coverage/lcov-report/lib/consul/index.html b/coverage/lcov-report/lib/consul/index.html index 374ee10..2c9f7a6 100644 --- a/coverage/lcov-report/lib/consul/index.html +++ b/coverage/lcov-report/lib/consul/index.html @@ -20,9 +20,9 @@

- 94.44% + 85% Statements - 34/36 + 34/40
83.33% @@ -30,14 +30,14 @@

10/12

- 93.75% + 100% Functions - 15/16 + 15/15
- 94.44% + 85% Lines - 34/36 + 34/40
@@ -73,15 +73,15 @@

index.js -
- 95.65% - 22/23 +
+ 81.48% + 22/27 90% 9/10 - 87.5% - 7/8 - 95.65% - 22/23 + 100% + 7/7 + 81.48% + 22/27 @@ -103,7 +103,7 @@

diff --git a/coverage/lcov-report/lib/consul/index.js.html b/coverage/lcov-report/lib/consul/index.js.html index b9db4ff..92117ca 100644 --- a/coverage/lcov-report/lib/consul/index.js.html +++ b/coverage/lcov-report/lib/consul/index.js.html @@ -20,9 +20,9 @@

- 95.65% + 81.48% Statements - 22/23 + 22/27
90% @@ -30,14 +30,14 @@

9/10

- 87.5% + 100% Functions - 7/8 + 7/7
- 95.65% + 81.48% Lines - 22/23 + 22/27
@@ -112,7 +112,17 @@

67 68 69 -70  +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80  @@ -136,10 +146,20 @@

      +  +  +  +  +          +  +  +  +  +    @@ -204,9 +224,19 @@

method, baseURL: `http://${this.host}:${this.port}`, url: `${uri}`, - transformResponse: [function transformResponse(data) { - return JSON.parse(data); - }] + transformResponse: [ + (data) => { + let resp; + try { + resp = JSON.parse(data); + } catch (error) { + throw Error( + `[requestClient] Error parsingJSON data ${error}` + ); + } + return resp; + }, + ], };   if (body) { @@ -256,7 +286,7 @@

diff --git a/coverage/lcov-report/lib/consul/kv.js.html b/coverage/lcov-report/lib/consul/kv.js.html index 0221f41..88aaf3b 100644 --- a/coverage/lcov-report/lib/consul/kv.js.html +++ b/coverage/lcov-report/lib/consul/kv.js.html @@ -139,7 +139,7 @@

diff --git a/coverage/lcov-report/lib/container-to-consul.js.html b/coverage/lcov-report/lib/container-to-consul.js.html index 786adb0..1017754 100644 --- a/coverage/lcov-report/lib/container-to-consul.js.html +++ b/coverage/lcov-report/lib/container-to-consul.js.html @@ -318,8 +318,7 @@

273 274 275 -276 -277  +276    22× 22× @@ -390,7 +389,6 @@

      -    @@ -666,7 +664,6 @@

}); })); }) - // register all containers .then(() => this.docker.containers()) .then(containers => this.registerContainers(containers)) .catch(error => { @@ -877,7 +874,7 @@

diff --git a/coverage/lcov-report/lib/docker.js.html b/coverage/lcov-report/lib/docker.js.html index d188af2..97e61f9 100644 --- a/coverage/lcov-report/lib/docker.js.html +++ b/coverage/lcov-report/lib/docker.js.html @@ -214,7 +214,7 @@

diff --git a/coverage/lcov-report/lib/errors/index.html b/coverage/lcov-report/lib/errors/index.html index 7872921..2a0038d 100644 --- a/coverage/lcov-report/lib/errors/index.html +++ b/coverage/lcov-report/lib/errors/index.html @@ -77,7 +77,7 @@

diff --git a/coverage/lcov-report/lib/errors/skipError.js.html b/coverage/lcov-report/lib/errors/skipError.js.html index 82d89b6..50dd2f3 100644 --- a/coverage/lcov-report/lib/errors/skipError.js.html +++ b/coverage/lcov-report/lib/errors/skipError.js.html @@ -76,7 +76,7 @@

diff --git a/coverage/lcov-report/lib/index.html b/coverage/lcov-report/lib/index.html index 0e6ceff..6afec62 100644 --- a/coverage/lcov-report/lib/index.html +++ b/coverage/lcov-report/lib/index.html @@ -103,7 +103,7 @@

diff --git a/coverage/lcov-report/lib/typedefs.js.html b/coverage/lcov-report/lib/typedefs.js.html index c31d36e..7b2b278 100644 --- a/coverage/lcov-report/lib/typedefs.js.html +++ b/coverage/lcov-report/lib/typedefs.js.html @@ -76,7 +76,7 @@

diff --git a/coverage/lcov.info b/coverage/lcov.info index 6501327..989d034 100644 --- a/coverage/lcov.info +++ b/coverage/lcov.info @@ -64,22 +64,20 @@ TN: SF:/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/consul/index.js FN:7,(anonymous_1) FN:15,(anonymous_2) -FN:24,transformResponse -FN:35,(anonymous_4) -FN:49,(anonymous_5) -FN:57,(anonymous_6) -FN:61,(anonymous_7) -FN:65,(anonymous_8) -FNF:8 +FN:45,(anonymous_3) +FN:59,(anonymous_4) +FN:67,(anonymous_5) +FN:71,(anonymous_6) +FN:75,(anonymous_7) +FNF:7 FNH:7 FNDA:6,(anonymous_1) FNDA:2,(anonymous_2) -FNDA:0,transformResponse -FNDA:1,(anonymous_4) -FNDA:2,(anonymous_5) +FNDA:1,(anonymous_3) +FNDA:2,(anonymous_4) +FNDA:1,(anonymous_5) FNDA:1,(anonymous_6) FNDA:1,(anonymous_7) -FNDA:1,(anonymous_8) DA:2,1 DA:3,1 DA:4,1 @@ -91,19 +89,23 @@ DA:16,2 DA:17,2 DA:18,2 DA:20,2 -DA:25,0 -DA:29,2 -DA:30,1 -DA:32,2 -DA:36,1 -DA:50,2 -DA:51,1 -DA:54,2 -DA:58,1 -DA:62,1 -DA:66,1 -DA:70,1 -LF:23 +DA:26,0 +DA:27,0 +DA:28,0 +DA:30,0 +DA:34,0 +DA:39,2 +DA:40,1 +DA:42,2 +DA:46,1 +DA:60,2 +DA:61,1 +DA:64,2 +DA:68,1 +DA:72,1 +DA:76,1 +DA:80,1 +LF:27 LH:22 BRDA:12,1,0,6 BRDA:12,1,1,6 @@ -111,10 +113,10 @@ BRDA:16,2,0,2 BRDA:16,2,1,0 BRDA:17,3,0,1 BRDA:17,3,1,1 -BRDA:29,4,0,1 -BRDA:29,4,1,1 -BRDA:50,5,0,1 -BRDA:50,5,1,1 +BRDA:39,4,0,1 +BRDA:39,4,1,1 +BRDA:60,5,0,1 +BRDA:60,5,1,1 BRF:10 BRH:9 end_of_record @@ -123,13 +125,13 @@ SF:/Users/emmanuelnyachoke/Code/Mekom/con-tainer2sul/lib/container-to-consul.js FN:10,(anonymous_1) FN:20,(anonymous_2) FN:41,(anonymous_3) -FN:86,(anonymous_4) -FN:95,(anonymous_5) -FN:128,(anonymous_6) -FN:157,(anonymous_7) -FN:175,(anonymous_8) -FN:241,(anonymous_9) -FN:266,(anonymous_10) +FN:85,(anonymous_4) +FN:94,(anonymous_5) +FN:127,(anonymous_6) +FN:156,(anonymous_7) +FN:174,(anonymous_8) +FN:240,(anonymous_9) +FN:265,(anonymous_10) FNF:10 FNH:10 FNDA:21,(anonymous_1) @@ -176,81 +178,81 @@ DA:63,5 DA:64,4 DA:66,1 DA:67,1 +DA:72,3 DA:73,3 -DA:74,3 +DA:75,2 DA:76,2 -DA:77,2 -DA:87,2 -DA:96,4 +DA:86,2 +DA:95,4 +DA:97,4 DA:98,4 -DA:99,4 -DA:102,2 +DA:101,2 +DA:102,1 DA:103,1 -DA:104,1 -DA:107,1 -DA:110,2 +DA:106,1 +DA:109,2 +DA:111,2 DA:112,2 -DA:113,2 -DA:114,1 +DA:113,1 +DA:115,1 DA:116,1 DA:117,1 -DA:118,1 -DA:129,2 +DA:128,2 +DA:133,2 DA:134,2 -DA:135,2 +DA:137,0 DA:138,0 DA:139,0 -DA:140,0 -DA:144,0 -DA:148,0 -DA:158,2 -DA:160,2 +DA:143,0 +DA:147,0 +DA:157,2 +DA:159,2 +DA:160,1 DA:161,1 -DA:162,1 +DA:163,1 DA:164,1 -DA:165,1 -DA:176,3 -DA:183,3 +DA:175,3 +DA:182,3 +DA:187,3 DA:188,3 -DA:189,3 -DA:192,3 -DA:194,3 -DA:195,0 +DA:191,3 +DA:193,3 +DA:194,0 +DA:196,3 DA:197,3 -DA:198,3 -DA:199,9 +DA:198,9 +DA:200,2 DA:201,2 -DA:202,2 -DA:203,1 -DA:205,2 +DA:202,1 +DA:204,2 +DA:206,2 DA:207,2 DA:208,2 -DA:209,2 -DA:210,1 -DA:215,0 -DA:217,2 +DA:209,1 +DA:214,0 +DA:216,2 +DA:218,1 DA:219,1 -DA:220,1 -DA:222,1 -DA:224,2 -DA:225,1 -DA:230,3 -DA:232,3 -DA:242,3 -DA:244,3 -DA:245,1 +DA:221,1 +DA:223,2 +DA:224,1 +DA:229,3 +DA:231,3 +DA:241,3 +DA:243,3 +DA:244,1 +DA:247,3 DA:248,3 -DA:249,3 -DA:250,1 -DA:252,3 -DA:253,2 -DA:255,3 -DA:257,3 +DA:249,1 +DA:251,3 +DA:252,2 +DA:254,3 +DA:256,3 +DA:266,5 DA:267,5 -DA:268,5 -DA:269,1 -DA:271,5 -DA:276,22 +DA:268,1 +DA:270,5 +DA:275,22 LF:109 LH:102 BRDA:46,1,0,1 @@ -263,47 +265,47 @@ BRDA:63,4,0,4 BRDA:63,4,1,1 BRDA:63,5,0,5 BRDA:63,5,1,4 -BRDA:102,6,0,1 -BRDA:102,6,1,1 -BRDA:134,7,0,2 -BRDA:134,7,1,0 -BRDA:139,8,0,0 -BRDA:139,8,1,0 -BRDA:188,9,0,3 -BRDA:188,9,1,0 -BRDA:194,10,0,0 -BRDA:194,10,1,3 -BRDA:194,11,0,3 -BRDA:194,11,1,3 -BRDA:194,11,2,3 -BRDA:197,12,0,3 -BRDA:197,12,1,0 -BRDA:199,13,0,2 -BRDA:199,13,1,2 -BRDA:199,13,2,1 -BRDA:199,13,3,1 -BRDA:202,14,0,1 -BRDA:202,14,1,1 -BRDA:209,15,0,1 -BRDA:209,15,1,1 -BRDA:244,16,0,1 -BRDA:244,16,1,2 -BRDA:244,17,0,3 -BRDA:244,17,1,1 -BRDA:249,18,0,1 -BRDA:249,18,1,2 -BRDA:249,19,0,3 -BRDA:249,19,1,2 -BRDA:249,19,2,1 -BRDA:252,20,0,2 -BRDA:252,20,1,1 -BRDA:252,21,0,3 -BRDA:252,21,1,2 -BRDA:268,22,0,1 -BRDA:268,22,1,4 -BRDA:268,23,0,5 -BRDA:268,23,1,3 -BRDA:268,23,2,1 +BRDA:101,6,0,1 +BRDA:101,6,1,1 +BRDA:133,7,0,2 +BRDA:133,7,1,0 +BRDA:138,8,0,0 +BRDA:138,8,1,0 +BRDA:187,9,0,3 +BRDA:187,9,1,0 +BRDA:193,10,0,0 +BRDA:193,10,1,3 +BRDA:193,11,0,3 +BRDA:193,11,1,3 +BRDA:193,11,2,3 +BRDA:196,12,0,3 +BRDA:196,12,1,0 +BRDA:198,13,0,2 +BRDA:198,13,1,2 +BRDA:198,13,2,1 +BRDA:198,13,3,1 +BRDA:201,14,0,1 +BRDA:201,14,1,1 +BRDA:208,15,0,1 +BRDA:208,15,1,1 +BRDA:243,16,0,1 +BRDA:243,16,1,2 +BRDA:243,17,0,3 +BRDA:243,17,1,1 +BRDA:248,18,0,1 +BRDA:248,18,1,2 +BRDA:248,19,0,3 +BRDA:248,19,1,2 +BRDA:248,19,2,1 +BRDA:251,20,0,2 +BRDA:251,20,1,1 +BRDA:251,21,0,3 +BRDA:251,21,1,2 +BRDA:267,22,0,1 +BRDA:267,22,1,4 +BRDA:267,23,0,5 +BRDA:267,23,1,3 +BRDA:267,23,2,1 BRF:51 BRH:44 end_of_record diff --git a/lib/consul/index.js b/lib/consul/index.js index c204cd5..eef1602 100644 --- a/lib/consul/index.js +++ b/lib/consul/index.js @@ -28,7 +28,7 @@ class Consul { resp = JSON.parse(data); } catch (error) { throw Error( - `[requestClient] Error parsingJSON data $` + `[requestClient] Error parsingJSON data ${error}` ); } return resp;