diff options
author | sebdet <sebastien.determe@intl.att.com> | 2020-06-12 12:27:07 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2020-06-12 12:27:07 +0200 |
commit | 5a2056470b71df0917a6c967f9bf4c1fc7f3f560 (patch) | |
tree | 950ff1e15c05c3b7d5c04dc0647b3636e79b4564 /ui-react | |
parent | 76aba9965ffb62bc59f9c95ba61811448010f2cf (diff) |
Removal of Svg api
Removal of previous api not even presetn in backend
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I199b8aab1e3f333d31fed68415058419bf352f21
Diffstat (limited to 'ui-react')
-rw-r--r-- | ui-react/src/api/LoopService.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ui-react/src/api/LoopService.js b/ui-react/src/api/LoopService.js index 8f9805e3..c45df6c6 100644 --- a/ui-react/src/api/LoopService.js +++ b/ui-react/src/api/LoopService.js @@ -79,26 +79,6 @@ export default class LoopService { }); } - static getSvg(loopName) { - return fetch('/restservices/clds/v2/loop/svgRepresentation/' + loopName, { - method: 'GET', - credentials: 'same-origin' - }) - .then(function (response) { - console.debug("svgRepresentation response received: ", response.status); - if (response.ok) { - return response.text(); - } else { - console.error("svgRepresentation query failed"); - return ""; - } - }) - .catch(function (error) { - console.error("svgRepresentation error received", error); - return ""; - }); - } - static setMicroServiceProperties(loopName, jsonData) { return fetch('/restservices/clds/v2/loop/updateMicroservicePolicy/' + loopName, { method: 'POST', |