diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml index 8a2ea000a..b6a7a098a 100644 --- a/.github/workflows/gh-release.yml +++ b/.github/workflows/gh-release.yml @@ -19,7 +19,8 @@ jobs: export JAVA_HOME=$GRAALVM_HOME npm i npm test - ./cc-test-reporter after-build + # this must be fixed to send test coverage to codeclimate + # ./cc-test-reporter after-build --exit-code - name: Package run: | export ROUTR_VERSION=$(cut -d'/' -f3 <<<"${{ github.ref }}") diff --git a/mkdocs.yml b/mkdocs.yml index d38812576..48c5b0ff4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -41,8 +41,8 @@ nav: - Overview: api/overview.md - Credentials: api/token.md - Location: - - create: api/location/create.md - - delete: api/location/delete.md + #- create: api/location/create.md + #- delete: api/location/delete.md - list: api/location/list.md - Registry: api/registry.md - Agents: diff --git a/mod/rest/location_service.js b/mod/rest/location_service.js index 72b7a5f5c..ce0abf7fc 100644 --- a/mod/rest/location_service.js +++ b/mod/rest/location_service.js @@ -38,7 +38,7 @@ module.exports = function(nht) { /** * Expects json with: address, port, user, expires */ - post('/location/:aor', (req, res) => { + /*post('/location/:aor', (req, res) => { const aor = req.params(':aor') try { @@ -80,7 +80,7 @@ module.exports = function(nht) { res.body('{\"status\": \"400\", \"message\":\"Bad Request\"}') return '{\"status\": \"400\", \"message\":\"Bad Request\"}' } - }) + })*/ get('/location', (req, res) => JSON.stringify( CoreUtils.buildResponse(Status.OK, @@ -90,7 +90,7 @@ module.exports = function(nht) { .map(entries => routeFromString(entries)) ))) - del('/location/:aor', (req, res) => { + /*del('/location/:aor', (req, res) => { const aor = req.params(':aor') postal.publish({ @@ -112,5 +112,5 @@ module.exports = function(nht) { res.status(200) res.body('{\"status\": \"200\", \"message\":\"Evicted All!\"}') return '{\"status\": \"200\", \"message\":\"Evicted All!\"}' - }) + })*/ }