summaryrefslogtreecommitdiffstats
path: root/sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2018-10-30 09:39:59 -0400
committerTimoney, Dan (dt5972) <dtimoney@att.com>2018-10-30 15:59:04 -0400
commit1c1e7f98416875f3ee78af9103865c32f95a82a0 (patch)
tree706ebddc9622f12d9be9e9650cf3a97a14ac6f75 /sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh
parent6a893bb0ae984d15076394d9225d4873ad953791 (diff)
Remove SDNR seed code
Remove SDNR seed code to resolve license issues. Code is not currently used, so it will be removed for now and a cleaned version resubmitted for Dublin release. Change-Id: I37ca0feb458012626bf448739ff2497679fcb357 Issue-ID: CCSDK-641 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh')
-rwxr-xr-xsdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh103
1 files changed, 0 insertions, 103 deletions
diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh b/sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh
deleted file mode 100755
index b34f8718..00000000
--- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/bash
-
-# build ux
-mvn clean install -DskipTests
-
-# clean
-rm -rf ~/.m2/repository/com/highstreet/technologies/odl/app/closedLoopAutomation-karaf/
-rm -rf ~/.m2/repository/com/highstreet/technologies/odl/app/spectrum/scheduler-karaf/
-find ~/.m2/repository/org/opendaylight/mwtn/* -type d -name "*-module" -exec rm -rf {} \;
-find ~/.m2/repository/com/highstreet/* -type d -name "*-module" -exec rm -rf {} \;
-rm -rf ../dist/cache/schema/tailf*.yang
-rm -rf ../dist/cache/schema/yuma*.yang
-# rm -rf ../dist/data/log/*
-rm -rf ../dist/system/org/opendaylight/mwtn
-rm -rf ../dist/system/com/highstreet
-
-# deploy
-cp -R ~/.m2/repository/org/opendaylight/mwtn ../dist/system/org/opendaylight
-cp -R ~/.m2/repository/com/highstreet ../dist/system/com
-
-# uninstall bundles
-## declare array of bundleNames
-declare -a bundleNames=(
- "ONF :: Wireless :: odlChat-bundle"
- "ONF :: Wireless :: help-bundle"
- "ONF :: Wireless :: mwtnLog-bundle"
- "ONF :: Wireless :: mwtnTest-bundle"
- "ONF :: Wireless :: mwtnMediator-bundle"
- "ONF :: Wireless :: mwtnEvents-bundle"
- "ONF :: Wireless :: mwtnClosedLoop-bundle"
- "ONF :: Wireless :: mwtnSpectrum-bundle"
- "ONF :: Wireless :: mwtnCompare-bundle"
- "ONF :: Wireless :: mwtnTdm-bundle"
- "ONF :: Wireless :: mwtnTopology-bundle"
- "ONF :: Wireless :: mwtnInventory-bundle"
- "ONF :: Wireless :: mwtnPerformanceLink-bundle"
- "ONF :: Wireless :: mwtnPerformanceHistory-bundle"
- "ONF :: Wireless :: mwtnPerformanceCurrent-bundle"
- "ONF :: Wireless :: mwtnFault-bundle"
- "ONF :: Wireless :: mwtnBrowser-bundle"
- "ONF :: Wireless :: otnBrowser-bundle"
- "ONF :: Wireless :: ethService-bundle"
- "ONF :: Wireless :: onapMso-bundle"
- "ONF :: Wireless :: onapDcae-bundle"
- "ONF :: Wireless :: onapAai-bundle"
- "ONF :: Wireless :: mwtnConnect-bundle"
- "ONF :: Wireless :: mwtnCommons-bundle"
-)
-
-## execute bundle uninstall
-names=""
-for bundleName in "${bundleNames[@]}"
-do
- names+="\"$bundleName\" "
-done
-../dist/bin/client -u karaf "bundle:uninstall $names"
-
-# install bundles
-## declare array of bundleNames
-declare -a bundles=(
- mvn:com.highstreet.technologies.odl.dlux/mwtnCommons-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/0.5.1-SNAPSHOT
-
- mvn:com.highstreet.technologies.odl.dlux/onapAai-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/onapDcae-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/onapMso-bundle/0.5.1-SNAPSHOT
-
- # mvn:com.highstreet.technologies.odl.dlux/ethService-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/otnBrowser-bundle/0.5.1-SNAPSHOT
-
- mvn:com.highstreet.technologies.odl.dlux/mwtnFault-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnBrowser-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceCurrent-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceHistory-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceLink-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnInventory-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnTopology-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnTdm-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnCompare-bundle/0.5.1-SNAPSHOT
- # mvn:cn.com.zte.odl.dlux/mwtnSpectrum-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnClosedLoop-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnEvents-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnTest-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/mwtnMediator-bundle/0.5.1-SNAPSHOT
- mvn:com.highstreet.technologies.odl.dlux/help-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/mwtnLog-bundle/0.5.1-SNAPSHOT
- # mvn:com.highstreet.technologies.odl.dlux/odlChat-bundle/0.5.1-SNAPSHOT
-)
-
-## execute bundle uninstall
-bundleMvns=""
-for bundle in "${bundles[@]}"
-do
- bundleMvns+="$bundle "
-done
-../dist/bin/client -u karaf "bundle:install -s $bundleMvns"
-
-# open brwoser
-x-www-browser http://localhost:8181/index.html
-
-# remove target folders for easy search functionality
-mvn clean
-find * -type d -name "target-ide" -exec rm -rf {} \; \ No newline at end of file