aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
diff options
context:
space:
mode:
authorXue Gao <xg353y@intl.att.com>2020-05-26 07:22:41 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-26 07:22:41 +0000
commit3521f1dd8b2447d5225c51acdf1472c4c94a3ed3 (patch)
tree28f5a6f0c94c499f71d28be043884ef5e1868ea6 /ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
parenta1668ebbcf5c010a495c56e78178a615f52c655b (diff)
parentc0ec0fc448af1c5d6eacb195e95938c921ba1bce (diff)
Merge "Create SVG in UI"
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js')
-rw-r--r--ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js17
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;
- }
-}