From 5a2056470b71df0917a6c967f9bf4c1fc7f3f560 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 12 Jun 2020 12:27:07 +0200 Subject: Removal of Svg api Removal of previous api not even presetn in backend Issue-ID: CLAMP-854 Signed-off-by: sebdet Change-Id: I199b8aab1e3f333d31fed68415058419bf352f21 --- ui-react/src/api/LoopService.js | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'ui-react/src/api') 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', -- cgit 1.2.3-korg