diff options
author | Eddy Hautot <eh552t@intl.att.com> | 2020-06-12 14:20:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-06-12 14:20:32 +0000 |
commit | c1ec5c92485ef9925e5c8e25ac4e46090e249b2f (patch) | |
tree | cfaf358ccbcaba398a82f95f7ea96866b16b3822 /ui-react/src/api | |
parent | e46ace7013f61a5cd0265b813d4f596e5140b666 (diff) | |
parent | 5a2056470b71df0917a6c967f9bf4c1fc7f3f560 (diff) |
Merge "Removal of Svg api"
Diffstat (limited to 'ui-react/src/api')
-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 8f9805e33..c45df6c61 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', |