From cce75deea7a6f28933f396b35aea0efd6615e059 Mon Sep 17 00:00:00 2001 From: Dan Jones <dan.jones@noc.ac.uk> Date: Mon, 27 Feb 2023 16:36:03 +0000 Subject: [PATCH] chore: remove TODO I've raised an issue to confirm the schema loads from a tag once we have created a release to test against. --- dist/protocol.esm.js | 1 - dist/protocol.js | 1 - src/protocol/index.js | 1 - 3 files changed, 3 deletions(-) diff --git a/dist/protocol.esm.js b/dist/protocol.esm.js index ad8f994..af2c4d3 100644 --- a/dist/protocol.esm.js +++ b/dist/protocol.esm.js @@ -133,7 +133,6 @@ class GenericSoarProtocol extends GenericProtocol { loadSchema(version) { this.axios = axios; let repository = "https://git.noc.ac.uk/communications-backbone-system/backbone-message-format"; - // TODO check this path resolves for tags let url = `${repository}/-/raw/${version}/project/soar/swagger.json`; return this.axios.get(url) .then((response) => { diff --git a/dist/protocol.js b/dist/protocol.js index d58f994..748120d 100644 --- a/dist/protocol.js +++ b/dist/protocol.js @@ -135,7 +135,6 @@ class GenericSoarProtocol extends GenericProtocol { loadSchema(version) { this.axios = axios; let repository = "https://git.noc.ac.uk/communications-backbone-system/backbone-message-format"; - // TODO check this path resolves for tags let url = `${repository}/-/raw/${version}/project/soar/swagger.json`; return this.axios.get(url) .then((response) => { diff --git a/src/protocol/index.js b/src/protocol/index.js index 2ed8019..a0bc8f7 100644 --- a/src/protocol/index.js +++ b/src/protocol/index.js @@ -133,7 +133,6 @@ export class GenericSoarProtocol extends GenericProtocol { loadSchema(version) { this.axios = axios; let repository = "https://git.noc.ac.uk/communications-backbone-system/backbone-message-format"; - // TODO check this path resolves for tags let url = `${repository}/-/raw/${version}/project/soar/swagger.json`; return this.axios.get(url) .then((response) => { -- GitLab