summaryrefslogtreecommitdiffstats
path: root/ui-react
diff options
context:
space:
mode:
authorEddy Hautot <eh552t@intl.att.com>2020-06-12 14:20:32 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-12 14:20:32 +0000
commitc1ec5c92485ef9925e5c8e25ac4e46090e249b2f (patch)
treecfaf358ccbcaba398a82f95f7ea96866b16b3822 /ui-react
parente46ace7013f61a5cd0265b813d4f596e5140b666 (diff)
parent5a2056470b71df0917a6c967f9bf4c1fc7f3f560 (diff)
Merge "Removal of Svg api"
Diffstat (limited to 'ui-react')
-rw-r--r--ui-react/src/api/LoopService.js20
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',