diff options
author | 2020-05-18 12:31:11 +0200 | |
---|---|---|
committer | 2020-05-20 18:00:03 +0200 | |
commit | c0ec0fc448af1c5d6eacb195e95938c921ba1bce (patch) | |
tree | f294596a5aa001f76fa4cd6f1a3c88d669fadd32 /ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js | |
parent | 061ecec6a6099ad7fb480b0fe67f6e5154f9db23 (diff) |
Create SVG in UI
Remove the SVG generation from the backend and put it in the UI
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Icfa9e107d83bb244ac3d87300d013555bfa0b037
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js')
-rw-r--r-- | ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js b/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js deleted file mode 100644 index 29422a1f..00000000 --- a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js +++ /dev/null @@ -1,17 +0,0 @@ -export default class LoopComponentConverter { - - static buildMapOfComponents(loopCache) { - var componentsMap = new Map([]); - if (typeof (loopCache.getMicroServicePolicies()) !== "undefined") { - loopCache.getMicroServicePolicies().forEach(ms => { - componentsMap.set(ms.name, "/policyModal/MICRO-SERVICE-POLICY/"+ms.name); - }) - } - if (typeof (loopCache.getOperationalPolicies()) !== "undefined") { - loopCache.getOperationalPolicies().forEach(op => { - componentsMap.set(op.name, "/policyModal/OPERATIONAL-POLICY/"+op.name); - }) - } - return componentsMap; - } -} |