From 1c1e7f98416875f3ee78af9103865c32f95a82a0 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Tue, 30 Oct 2018 09:39:59 -0400 Subject: 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) --- .../ux/ethService/ethService-bundle/pom.xml | 118 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/ethService/ethService-module/pom.xml | 14 - .../resources/ethService/ethService-custom.css | 58 - .../resources/ethService/ethService.controller.js | 25 - .../main/resources/ethService/ethService.module.js | 56 - .../resources/ethService/ethService.services.js | 20 - .../main/resources/ethService/ethService.tpl.html | 9 - .../resources/ethService/images/ethService.png | Bin 2270 -> 0 bytes .../code-Carbon-SR1/ux/ethService/pom.xml | 23 - .../code-Carbon-SR1/ux/features/pom.xml | 65 - .../ux/features/src/main/features/features.xml | 231 - .../code-Carbon-SR1/ux/help/help-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../code-Carbon-SR1/ux/help/help-module/pom.xml | 14 - .../src/main/resources/help/help.controller.js | 284 -- .../src/main/resources/help/help.controller.ts | 130 - .../src/main/resources/help/help.custom.css | 105 - .../src/main/resources/help/help.module.js | 33 - .../src/main/resources/help/help.module.ts | 35 - .../src/main/resources/help/help.service.ts | 92 - .../src/main/resources/help/help.tpl.html | 17 - .../src/main/resources/help/help.tree.html | 0 .../src/main/resources/help/help.tree.ts | 55 - .../src/main/resources/help/help.utilities.ts | 63 - .../src/main/resources/help/images/help.png | Bin 2121 -> 0 bytes .../src/main/resources/help/lib/marked.d.ts | 284 -- .../src/main/resources/help/lib/marked.js | 1320 ------ .../code-Carbon-SR1/ux/help/pom.xml | 24 - .../ux/mwtnBrowser/mwtnBrowser-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnBrowser/mwtnBrowser-module/pom.xml | 14 - .../resources/mwtnBrowser/images/mwtnBrowser.png | Bin 2838 -> 0 bytes .../resources/mwtnBrowser/images/mwtnConfig.png | Bin 2838 -> 0 bytes .../resources/mwtnBrowser/mwtnBrowser-custom.css | 24 - .../mwtnBrowser/mwtnBrowser.controller.js | 1090 ----- .../resources/mwtnBrowser/mwtnBrowser.module.js | 53 - .../resources/mwtnBrowser/mwtnBrowser.services.js | 37 - .../resources/mwtnBrowser/templates/frame.tpl.html | 191 - .../templates/mwtnPtpClockViewer.tpl.html | 66 - .../mwtnBrowser/templates/mwtnPtpPorts.tpl.html | 23 - .../templates/ptpDefaultDsConfigView.tpl.html | 45 - .../templates/ptpPortConfigView.tpl.html | 53 - .../code-Carbon-SR1/ux/mwtnBrowser/pom.xml | 22 - .../mwtnClosedLoop/mwtnClosedLoop-bundle/pom.xml | 118 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../mwtnClosedLoop/mwtnClosedLoop-module/pom.xml | 15 - .../mwtnClosedLoop/images/mwtnClosedLoop.png | Bin 3524 -> 0 bytes .../mwtnClosedLoop/mwtnClosedLoop-custom.css | 26 - .../mwtnClosedLoop/mwtnClosedLoop.controller.js | 160 - .../mwtnClosedLoop/mwtnClosedLoop.module.js | 51 - .../mwtnClosedLoop/mwtnClosedLoop.services.js | 74 - .../mwtnClosedLoop/mwtnClosedLoop.tpl.html | 64 - .../code-Carbon-SR1/ux/mwtnClosedLoop/pom.xml | 24 - .../ux/mwtnCommons/mwtnCommons-bundle/pom.xml | 117 - .../resources/OSGI-INF/blueprint/blueprint.xml | 23 - .../ux/mwtnCommons/mwtnCommons-module/pom.xml | 69 - .../src/main/resources/mwtnCommons/README.md | 34 - .../src/main/resources/mwtnCommons/bower.json | 39 - .../src/main/resources/mwtnCommons/bowerInstall.sh | 18 - .../angular-chart.js.patch | 400 -- .../resources/mwtnCommons/locale/locale-en_US.json | 924 ---- .../resources/mwtnCommons/mwtnCommons-custom.css | 108 - .../mwtnCommons/mwtnCommons.controller.js | 25 - .../resources/mwtnCommons/mwtnCommons.module.js | 622 --- .../resources/mwtnCommons/mwtnCommons.services.js | 3826 --------------- .../resources/mwtnCommons/mwtnCommons.tpl.html | 7 - .../mwtnCommons/templates/mwtnFooter.tpl.html | 4 - .../mwtnCommons/templates/mwtnGrid.tpl.html | 23 - .../mwtnCommons/templates/mwtnJsonViewer.tpl.html | 110 - .../templates/mwtnSelectNetworkElement.tpl.html | 33 - .../mwtnCommons/templates/openConfigView.html | 69 - .../mwtnCommons/templates/showGridCellDetail.html | 54 - .../src/main/resources/mwtnCommons/xml2json.js | 567 --- .../code-Carbon-SR1/ux/mwtnCommons/pom.xml | 26 - .../ux/mwtnCompare/mwtnCompare-bundle/pom.xml | 118 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnCompare/mwtnCompare-module/pom.xml | 15 - .../resources/mwtnCompare/images/mwtnCompare.png | Bin 3342 -> 0 bytes .../resources/mwtnCompare/mwtnCompare-custom.css | 36 - .../mwtnCompare/mwtnCompare.controller.js | 526 --- .../mwtnCompare/mwtnCompare.directives.js | 21 - .../resources/mwtnCompare/mwtnCompare.module.js | 50 - .../resources/mwtnCompare/mwtnCompare.services.js | 26 - .../resources/mwtnCompare/mwtnCompare.tpl.html | 333 -- .../mwtnCompare/templates/compare.tpl.html | 12 - .../code-Carbon-SR1/ux/mwtnCompare/pom.xml | 24 - .../ux/mwtnConnect/mwtnConnect-bundle/pom.xml | 118 - .../resources/OSGI-INF/blueprint/blueprint.xml | 20 - .../ux/mwtnConnect/mwtnConnect-module/pom.xml | 14 - .../resources/mwtnConnect/images/mwtnConnect.png | Bin 2271 -> 0 bytes .../resources/mwtnConnect/images/sdncConnect.png | Bin 11379 -> 0 bytes .../resources/mwtnConnect/mwtnConnect-custom.css | 85 - .../mwtnConnect/mwtnConnect.controller.js | 1143 ----- .../resources/mwtnConnect/mwtnConnect.module.js | 56 - .../resources/mwtnConnect/mwtnConnect.services.js | 75 - .../resources/mwtnConnect/mwtnConnect.tpl.html | 150 - .../mwtnConnect/templates/addToRequired.tpl.html | 79 - .../mwtnConnect/templates/confirmDelete.tpl.html | 23 - .../mwtnConnect/templates/confirmHide.tpl.html | 21 - .../templates/mountPointDetails.tpl.html | 125 - .../code-Carbon-SR1/ux/mwtnConnect/pom.xml | 24 - .../ux/mwtnEvents/mwtnEvents-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnEvents/mwtnEvents-module/pom.xml | 15 - .../resources/mwtnEvents/images/mwtnEvents.png | Bin 2224 -> 0 bytes .../resources/mwtnEvents/mwtnEvents-custom.css | 12 - .../resources/mwtnEvents/mwtnEvents.controller.js | 153 - .../main/resources/mwtnEvents/mwtnEvents.module.js | 53 - .../resources/mwtnEvents/mwtnEvents.services.js | 22 - .../main/resources/mwtnEvents/mwtnEvents.tpl.html | 45 - .../src/main/resources/mwtnEvents/xml2json.js | 567 --- .../code-Carbon-SR1/ux/mwtnEvents/pom.xml | 27 - .../ux/mwtnFault/mwtnFault-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnFault/mwtnFault-module/pom.xml | 15 - .../main/resources/mwtnFault/images/mwtnFault.png | Bin 2048 -> 0 bytes .../main/resources/mwtnFault/mwtnFault-custom.css | 100 - .../resources/mwtnFault/mwtnFault.controller.js | 597 --- .../resources/mwtnFault/mwtnFault.directives.js | 163 - .../main/resources/mwtnFault/mwtnFault.module.js | 56 - .../main/resources/mwtnFault/mwtnFault.services.js | 100 - .../main/resources/mwtnFault/mwtnFault.tpl.html | 119 - .../mwtnFault/templates/alarmStatus.tpl.html | 21 - .../templates/clearLogConfirmation.tpl.html | 17 - .../code-Carbon-SR1/ux/mwtnFault/pom.xml | 24 - .../ux/mwtnInventory/mwtnInventory-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnInventory/mwtnInventory-module/pom.xml | 15 - .../mwtnInventory/components/equipment.html | 37 - .../mwtnInventory/components/equipment.ts | 28 - .../mwtnInventory/components/equipmentGroup.html | 5 - .../mwtnInventory/components/equipmentGroup.ts | 41 - .../mwtnInventory/images/mwtnInventory.png | Bin 2627 -> 0 bytes .../resources/mwtnInventory/models/equipment.ts | 6 - .../mwtnInventory/mwtnInventory-custom.css | 31 - .../mwtnInventory/mwtnInventory.controller.js | 372 -- .../mwtnInventory/mwtnInventory.controller.ts | 116 - .../mwtnInventory/mwtnInventory.module.js | 33 - .../mwtnInventory/mwtnInventory.module.ts | 36 - .../mwtnInventory/mwtnInventory.service.ts | 144 - .../mwtnInventory/mwtnInventory.services.js | 100 - .../resources/mwtnInventory/mwtnInventory.tpl.html | 16 - .../src/main/resources/mwtnInventory/templates/_ | 0 .../templates/accordeonHeader.tpl.html | 13 - .../code-Carbon-SR1/ux/mwtnInventory/pom.xml | 24 - .../ux/mwtnLog/mwtnLog-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnLog/mwtnLog-module/pom.xml | 14 - .../src/main/resources/mwtnLog/images/mwtnLog.png | Bin 2261 -> 0 bytes .../src/main/resources/mwtnLog/mwtnLog-custom.css | 58 - .../main/resources/mwtnLog/mwtnLog.controller.js | 151 - .../src/main/resources/mwtnLog/mwtnLog.module.js | 56 - .../src/main/resources/mwtnLog/mwtnLog.services.js | 40 - .../src/main/resources/mwtnLog/mwtnLog.tpl.html | 26 - .../templates/clearLogConfirmation.tpl.html | 12 - .../code-Carbon-SR1/ux/mwtnLog/pom.xml | 24 - .../ux/mwtnMediator/mwtnMediator-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnMediator/mwtnMediator-module/pom.xml | 14 - .../main/resources/mwtnMediator/class.mediator.js | 569 --- .../resources/mwtnMediator/images/mwtnMediator.png | Bin 2923 -> 0 bytes .../resources/mwtnMediator/mwtnMediator-custom.css | 69 - .../mwtnMediator/mwtnMediator.controller.js | 613 --- .../resources/mwtnMediator/mwtnMediator.module.js | 54 - .../mwtnMediator/mwtnMediator.services.js | 113 - .../mwtnMediator/templates/frame.tpl.html | 49 - .../templates/mediatorCreateNew.tpl.html | 99 - .../templates/mediatorDetails.tpl.html | 96 - .../templates/mediatorServerConfigCtrl.tpl.html | 41 - .../code-Carbon-SR1/ux/mwtnMediator/pom.xml | 24 - .../mwtnPerformanceCurrent-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../mwtnPerformanceCurrent-module/pom.xml | 14 - .../images/mwtnPerformance.png | Bin 2974 -> 0 bytes .../mwtnPerformanceCurrent-custom.css | 13 - .../mwtnPerformanceCurrent.controller.js | 741 --- .../mwtnPerformanceCurrent.module.js | 55 - .../mwtnPerformanceCurrent.services.js | 30 - .../mwtnPerformanceCurrent.tpl.html | 119 - .../ux/mwtnPerformanceCurrent/pom.xml | 24 - .../mwtnPerformanceHistory-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../mwtnPerformanceHistory-module/pom.xml | 14 - .../images/mwtnPerformance.png | Bin 2974 -> 0 bytes .../mwtnPerformanceHistory-custom.css | 13 - .../mwtnPerformanceHistory.controller.js | 1196 ----- .../mwtnPerformanceHistory.module.js | 55 - .../mwtnPerformanceHistory.services.js | 54 - .../mwtnPerformanceHistory.tpl.html | 127 - .../ux/mwtnPerformanceHistory/pom.xml | 24 - .../mwtnPerformanceLink-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../mwtnPerformanceLink-module/pom.xml | 14 - .../mwtnPerformanceLink/images/mwtnPerformance.png | Bin 2974 -> 0 bytes .../mwtnPerformanceLink-custom.css | 17 - .../mwtnPerformanceLink.controller.js | 3346 -------------- .../mwtnPerformanceLink.module.js | 55 - .../mwtnPerformanceLink.services.js | 68 - .../mwtnPerformanceLink.tpl.html | 487 -- .../code-Carbon-SR1/ux/mwtnPerformanceLink/pom.xml | 24 - .../ux/mwtnSpectrum/mwtnSpectrum-bundle/pom.xml | 119 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnSpectrum/mwtnSpectrum-module/pom.xml | 15 - .../resources/mwtnSpectrum/images/bluelight.gif | Bin 61554 -> 0 bytes .../resources/mwtnSpectrum/images/mwtnSpectrum.png | Bin 3229 -> 0 bytes .../resources/mwtnSpectrum/mwtnSpectrum-custom.css | 45 - .../mwtnSpectrum/mwtnSpectrum.controller.js | 135 - .../resources/mwtnSpectrum/mwtnSpectrum.module.js | 54 - .../mwtnSpectrum/mwtnSpectrum.services.js | 90 - .../resources/mwtnSpectrum/mwtnSpectrum.tpl.html | 64 - .../code-Carbon-SR1/ux/mwtnSpectrum/pom.xml | 24 - .../ux/mwtnTdm/mwtnTdm-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnTdm/mwtnTdm-module/pom.xml | 14 - .../src/main/resources/mwtnTdm/images/mwtnTdm.png | Bin 2861 -> 0 bytes .../src/main/resources/mwtnTdm/mwtnTdm-custom.css | 11 - .../main/resources/mwtnTdm/mwtnTdm.controller.js | 159 - .../src/main/resources/mwtnTdm/mwtnTdm.module.js | 53 - .../src/main/resources/mwtnTdm/mwtnTdm.services.js | 31 - .../resources/mwtnTdm/templates/frame.tpl.html | 52 - .../code-Carbon-SR1/ux/mwtnTdm/pom.xml | 24 - .../ux/mwtnTest/mwtnTest-bundle/pom.xml | 89 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnTest/mwtnTest-module/pom.xml | 14 - .../main/resources/mwtnTest/images/mwtnTest.png | Bin 2868 -> 0 bytes .../main/resources/mwtnTest/mwtnTest-custom.css | 24 - .../main/resources/mwtnTest/mwtnTest.controller.js | 477 -- .../src/main/resources/mwtnTest/mwtnTest.module.js | 53 - .../main/resources/mwtnTest/mwtnTest.services.js | 32 - .../resources/mwtnTest/templates/frame.tpl.html | 172 - .../code-Carbon-SR1/ux/mwtnTest/pom.xml | 24 - .../ux/mwtnTopology/mwtnTopology-bundle/pom.xml | 117 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/mwtnTopology/mwtnTopology-module/pom.xml | 14 - .../mwtnTopology/doc/mwtnTopology.builinfo.md | 39 - .../resources/mwtnTopology/doc/mwtnTopology.fs.md | 78 - .../resources/mwtnTopology/images/mwtnTopology.png | Bin 3447 -> 0 bytes .../resources/mwtnTopology/mwtnTopology-custom.css | 102 - .../mwtnTopology/mwtnTopology.controller.js | 4877 -------------------- .../resources/mwtnTopology/mwtnTopology.module.js | 57 - .../main/resources/mwtnTopology/mwtnTopology.rest | 209 - .../mwtnTopology/mwtnTopology.services.js | 1020 ---- .../templates/accordeonHeader.tpl.html | 13 - .../mwtnTopology/templates/clocksGrid.tpl.html | 1 - .../templates/ethConnectionsGrid.tpl.html | 1 - .../mwtnTopology/templates/ethernetView.tpl.html | 18 - .../mwtnTopology/templates/frame.tpl.html | 34 - .../mwtnTopology/templates/ieee1588View.tpl.html | 18 - .../mwtnTopology/templates/linkDetails.tpl.html | 110 - .../mwtnTopology/templates/links.tpl.html | 2 - .../mwtnTopology/templates/linksGrid.tpl.html | 1 - .../resources/mwtnTopology/templates/maps.tpl.html | 59 - .../templates/networkElementsGrid.tpl.html | 1 - .../mwtnTopology/templates/nodes.tpl.html | 2 - .../mwtnTopology/templates/physicalView.tpl.html | 18 - .../mwtnTopology/templates/portsGrid.tpl.html | 1 - .../mwtnTopology/templates/ptpLinksGrid.tpl.html | 1 - .../mwtnTopology/templates/siteDetails.tpl.html | 77 - .../mwtnTopology/templates/siteGrid.tpl.html | 9 - .../mwtnTopology/templates/siteLinkGrid.tpl.html | 8 - .../mwtnTopology/templates/sitePathGrid.tpl.html | 1 - .../mwtnTopology/templates/siteView.tpl.html | 31 - .../mwtnTopology/templates/topology.tpl.html | 2 - .../code-Carbon-SR1/ux/mwtnTopology/pom.xml | 27 - .../ux/odlChat/odlChat-bundle/pom.xml | 116 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/odlChat/odlChat-module/pom.xml | 14 - .../src/main/resources/odlChat/logo_chat.gif | Bin 2046 -> 0 bytes .../src/main/resources/odlChat/odlChat-custom.css | 3 - .../main/resources/odlChat/odlChat.controller.js | 69 - .../src/main/resources/odlChat/odlChat.module.js | 50 - .../src/main/resources/odlChat/odlChat.png | Bin 1862 -> 0 bytes .../src/main/resources/odlChat/odlChat.services.js | 103 - .../src/main/resources/odlChat/odlChat.tpl.html | 102 - .../code-Carbon-SR1/ux/odlChat/pom.xml | 27 - .../ux/onapAai/onapAai-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/onapAai/onapAai-module/pom.xml | 14 - .../src/main/resources/onapAai/images/onapAai.png | Bin 12931 -> 0 bytes .../src/main/resources/onapAai/onapAai-custom.css | 58 - .../main/resources/onapAai/onapAai.controller.js | 49 - .../src/main/resources/onapAai/onapAai.module.js | 56 - .../src/main/resources/onapAai/onapAai.services.js | 162 - .../src/main/resources/onapAai/onapAai.tpl.html | 12 - .../code-Carbon-SR1/ux/onapAai/pom.xml | 24 - .../ux/onapDcae/onapDcae-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/onapDcae/onapDcae-module/pom.xml | 14 - .../onapDcae/images/onap-5g-architecture.png | Bin 106656 -> 0 bytes .../main/resources/onapDcae/images/onapDcae.png | Bin 14200 -> 0 bytes .../main/resources/onapDcae/onapDcae-custom.css | 58 - .../main/resources/onapDcae/onapDcae.controller.js | 23 - .../src/main/resources/onapDcae/onapDcae.module.js | 56 - .../main/resources/onapDcae/onapDcae.services.js | 20 - .../src/main/resources/onapDcae/onapDcae.tpl.html | 13 - .../code-Carbon-SR1/ux/onapDcae/pom.xml | 24 - .../ux/onapSo/onapSo-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/onapSo/onapSo-module/pom.xml | 14 - .../onapSo/images/onap-end-to-end-slicing.png | Bin 115927 -> 0 bytes .../src/main/resources/onapSo/images/onapSo.png | Bin 12003 -> 0 bytes .../src/main/resources/onapSo/onapSo-custom.css | 78 - .../src/main/resources/onapSo/onapSo.controller.js | 84 - .../src/main/resources/onapSo/onapSo.module.js | 56 - .../src/main/resources/onapSo/onapSo.services.js | 162 - .../src/main/resources/onapSo/onapSo.tpl.html | 103 - .../code-Carbon-SR1/ux/onapSo/pom.xml | 24 - .../ux/otnBrowser/otnBrowser-bundle/pom.xml | 115 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/otnBrowser/otnBrowser-module/pom.xml | 14 - .../resources/otnBrowser/images/otnBrowser.png | Bin 2938 -> 0 bytes .../resources/otnBrowser/otnBrowser-custom.css | 58 - .../resources/otnBrowser/otnBrowser.controller.js | 25 - .../main/resources/otnBrowser/otnBrowser.module.js | 56 - .../resources/otnBrowser/otnBrowser.services.js | 20 - .../main/resources/otnBrowser/otnBrowser.tpl.html | 9 - .../code-Carbon-SR1/ux/otnBrowser/pom.xml | 24 - sdnr/wireless-transport/code-Carbon-SR1/ux/pom.xml | 139 - .../code-Carbon-SR1/ux/security/pom.xml | 28 - .../ux/security/security-bundle/pom.xml | 80 - .../resources/OSGI-INF/blueprint/blueprint.xml | 19 - .../ux/security/security-module/pom.xml | 18 - .../src/main/resources/security/build.config.js | 42 - .../src/main/resources/security/gulpfile.js | 142 - .../src/main/resources/security/package.json | 29 - .../resources/security/src/security.controller.js | 149 - .../resources/security/src/security.controller.ts | 63 - .../resources/security/src/security.custom.css | 11 - .../main/resources/security/src/security.module.js | 33 - .../main/resources/security/src/security.module.ts | 36 - .../resources/security/src/security.service.ts | 99 - .../main/resources/security/src/security.tpl.html | 50 - .../security/src/templates/userDetails.html | 14 - .../code-Carbon-SR1/ux/ux-dev.sh | 103 - 335 files changed, 40685 deletions(-) delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/images/ethService.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/features/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/features/src/main/features/features.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.service.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.utilities.ts delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/images/help.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.d.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/help/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnBrowser.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnConfig.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/frame.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpClockViewer.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpPorts.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/ptpDefaultDsConfigView.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/ptpPortConfigView.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/images/mwtnClosedLoop.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/mwtnClosedLoop-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/mwtnClosedLoop.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/mwtnClosedLoop.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/mwtnClosedLoop.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/mwtnClosedLoop-module/src/main/resources/mwtnClosedLoop/mwtnClosedLoop.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnClosedLoop/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/README.md delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/bower.json delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/bowerInstall.sh delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/bower_components_patches/angular-chart.js.patch delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/locale/locale-en_US.json delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/mwtnCommons-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/mwtnCommons.controller.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/mwtnCommons.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/mwtnCommons.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/mwtnCommons.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/mwtnFooter.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/mwtnGrid.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/mwtnJsonViewer.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/mwtnSelectNetworkElement.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/openConfigView.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/templates/showGridCellDetail.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/mwtnCommons-module/src/main/resources/mwtnCommons/xml2json.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCommons/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/images/mwtnCompare.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare.directives.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/mwtnCompare.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/mwtnCompare-module/src/main/resources/mwtnCompare/templates/compare.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnCompare/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/images/mwtnConnect.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/images/sdncConnect.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/mwtnConnect-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/mwtnConnect.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/mwtnConnect.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/mwtnConnect.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/mwtnConnect.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/templates/addToRequired.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/templates/confirmDelete.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/templates/confirmHide.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/mwtnConnect-module/src/main/resources/mwtnConnect/templates/mountPointDetails.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnConnect/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/images/mwtnEvents.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/mwtnEvents-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/mwtnEvents.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/mwtnEvents.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/mwtnEvents.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/mwtnEvents.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/mwtnEvents-module/src/main/resources/mwtnEvents/xml2json.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnEvents/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/images/mwtnFault.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault.directives.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/mwtnFault.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/templates/alarmStatus.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/mwtnFault-module/src/main/resources/mwtnFault/templates/clearLogConfirmation.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnFault/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/components/equipment.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/components/equipment.ts delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/components/equipmentGroup.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/components/equipmentGroup.ts delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/images/mwtnInventory.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/models/equipment.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.controller.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.module.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.service.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/mwtnInventory.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/templates/_ delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/mwtnInventory-module/src/main/resources/mwtnInventory/templates/accordeonHeader.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnInventory/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/images/mwtnLog.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/mwtnLog-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/mwtnLog.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/mwtnLog.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/mwtnLog.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/mwtnLog.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/mwtnLog-module/src/main/resources/mwtnLog/templates/clearLogConfirmation.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnLog/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/class.mediator.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/images/mwtnMediator.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/mwtnMediator-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/mwtnMediator.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/mwtnMediator.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/mwtnMediator.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/templates/frame.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/templates/mediatorCreateNew.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/templates/mediatorDetails.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/mwtnMediator-module/src/main/resources/mwtnMediator/templates/mediatorServerConfigCtrl.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnMediator/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/images/mwtnPerformance.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/mwtnPerformanceCurrent-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/mwtnPerformanceCurrent.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/mwtnPerformanceCurrent.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/mwtnPerformanceCurrent.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/mwtnPerformanceCurrent-module/src/main/resources/mwtnPerformanceCurrent/mwtnPerformanceCurrent.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceCurrent/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/images/mwtnPerformance.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/mwtnPerformanceHistory-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/mwtnPerformanceHistory.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/mwtnPerformanceHistory.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/mwtnPerformanceHistory.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/mwtnPerformanceHistory-module/src/main/resources/mwtnPerformanceHistory/mwtnPerformanceHistory.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceHistory/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/images/mwtnPerformance.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/mwtnPerformanceLink-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/mwtnPerformanceLink.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/mwtnPerformanceLink.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/mwtnPerformanceLink.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/mwtnPerformanceLink-module/src/main/resources/mwtnPerformanceLink/mwtnPerformanceLink.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnPerformanceLink/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/images/bluelight.gif delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/images/mwtnSpectrum.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/mwtnSpectrum-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/mwtnSpectrum.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/mwtnSpectrum.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/mwtnSpectrum.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/mwtnSpectrum-module/src/main/resources/mwtnSpectrum/mwtnSpectrum.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnSpectrum/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/images/mwtnTdm.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/mwtnTdm-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/mwtnTdm.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/mwtnTdm.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/mwtnTdm.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/templates/frame.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/images/mwtnTest.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/mwtnTest-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/mwtnTest.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/mwtnTest.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/mwtnTest.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/mwtnTest-module/src/main/resources/mwtnTest/templates/frame.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTest/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/doc/mwtnTopology.builinfo.md delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/doc/mwtnTopology.fs.md delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/images/mwtnTopology.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/mwtnTopology-custom.css delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/mwtnTopology.controller.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/mwtnTopology.module.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/mwtnTopology.rest delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/mwtnTopology.services.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/accordeonHeader.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/clocksGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/ethConnectionsGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/ethernetView.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/frame.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/ieee1588View.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/linkDetails.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/links.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/linksGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/maps.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/networkElementsGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/nodes.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/physicalView.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/portsGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/ptpLinksGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/siteDetails.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/siteGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/siteLinkGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/sitePathGrid.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/siteView.tpl.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/mwtnTopology-module/src/main/resources/mwtnTopology/templates/topology.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTopology/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/logo_chat.gif delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat.module.js delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/odlChat-module/src/main/resources/odlChat/odlChat.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/odlChat/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/images/onapAai.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/onapAai-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/onapAai.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/onapAai.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/onapAai.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/onapAai-module/src/main/resources/onapAai/onapAai.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapAai/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/images/onap-5g-architecture.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/images/onapDcae.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/onapDcae-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/onapDcae.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/onapDcae.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/onapDcae.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/onapDcae-module/src/main/resources/onapDcae/onapDcae.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapDcae/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/images/onap-end-to-end-slicing.png delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/images/onapSo.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/onapSo-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/onapSo.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/onapSo.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/onapSo.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/onapSo-module/src/main/resources/onapSo/onapSo.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/onapSo/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/pom.xml delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/images/otnBrowser.png delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/otnBrowser-custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/otnBrowser.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/otnBrowser.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/otnBrowser.services.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/otnBrowser-module/src/main/resources/otnBrowser/otnBrowser.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/otnBrowser/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-bundle/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/pom.xml delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/build.config.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/gulpfile.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/package.json delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.controller.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.controller.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.custom.css delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.module.js delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.module.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.service.ts delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/security.tpl.html delete mode 100644 sdnr/wireless-transport/code-Carbon-SR1/ux/security/security-module/src/main/resources/security/src/templates/userDetails.html delete mode 100755 sdnr/wireless-transport/code-Carbon-SR1/ux/ux-dev.sh (limited to 'sdnr/wireless-transport/code-Carbon-SR1/ux') diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/pom.xml deleted file mode 100644 index d0850dea..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/pom.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - 4.0.0 - - ethService-bundle - bundle - ${prefix} ${project.artifactId} - - - ethService - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - - - - org.osgi - org.osgi.core - ${osgi.core.version} - - - org.osgi - org.osgi.compendium - ${osgi.core.version} - - - org.apache.felix - org.osgi.compendium - ${apache.felix.compendium} - - - org.opendaylight.dlux - loader - ${dlux.loader.version} - - - com.highstreet.technologies.odl.dlux - ethService-module - ${project.version} - - - - - - target/generated-resources - - - src/main/resources - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.6 - - - - unpack-loader-resources - - unpack-dependencies - - generate-resources - - ${project.build.directory}/generated-resources - com.highstreet.technologies.odl.dlux - ethService-module - META-INF\/** - true - false - - - - - - org.apache.felix - maven-bundle-plugin - true - - - org.osgi.service.http, - org.osgi.framework;version="1.0.0", - org.opendaylight.dlux.loader - - - - - - - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml deleted file mode 100644 index b92ee913..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - src/app/ethService/ethService-custom.css - - - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/pom.xml deleted file mode 100644 index 6a99723c..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - 4.0.0 - ethService-module - ${prefix} ${project.artifactId} - jar - - ethService - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService-custom.css b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService-custom.css deleted file mode 100644 index fed4402a..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService-custom.css +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Add your application related css here - */ -.ethServiceGrid { - height: 600px; - background-color: white; -} - -.ethServiceGrid span { - color: #393939; -} -.ht-pagination span { - color: #393939; -} -.ht-pagination span.dark { - color: #393939; -} -.dark { - color: #393939; -} - - - -.ethServiceGrid div.debug { - color: #393939; - background-color: white; -} -.ethServiceGrid div.error { - color: #ff0000; - background-color: #ffeeee; - font-weight: bold; -} - -.ethServiceGrid div.info { - color: #3276b1; - background-color: #eeeeff; -} - -.ethServiceGrid div.warning { - color: #ffa500; - background-color: #ffeedd; -} - -.rotated { - transform: rotate(180deg); - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -o-transform: rotate(180deg); -} - -h3.modal-title { - color: #393939; -} - -.modal-body span { - color: #393939; -} \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.controller.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.controller.js deleted file mode 100644 index 080aa33b..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.controller.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2017 highstreet technologies GmbH and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['app/ethService/ethService.module', - 'app/ethService/ethService.services'], - function (ethServiceApp) { - - ethServiceApp.register.controller('ethServiceCtrl', ['uiGridConstants', '$uibModal', '$scope', '$rootScope', '$window', '$timeout', '$ethService', '$mwtnLog', - function (uiGridConstants, $uibModal, $scope, $rootScope, $window, $timeout, $ethService, $mwtnLog) { - - var COMPONENT = 'ethServiceCtrl'; - $mwtnLog.info({ component: COMPONENT, message: 'ethServiceCtrl started!' }); - - $rootScope.section_logo = 'src/app/ethService/images/ethService.png'; // Add your topbar logo location here such as 'assets/images/logo_topology.gif' - - $scope.highlightFilteredHeader = $ethService.highlightFilteredHeader; - - }]); - - }); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.module.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.module.js deleted file mode 100644 index 14729451..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.module.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) 2016 highstreet technologies GmbH and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['angularAMD', - 'app/routingConfig', - 'app/core/core.services', - 'common/config/env.module', - 'app/mwtnCommons/mwtnCommons.module'], function(ng) { - var ethServiceApp = angular.module('app.ethService', ['ui.grid', 'ui.bootstrap', 'app.core', - 'ui.router.state', 'config', 'ui.grid.exporter', - 'ui.grid.moveColumns', 'ui.grid.pinning', 'ui.grid.selection', - 'ui.grid.resizeColumns', 'ui.grid.infiniteScroll','ui.grid.pagination' ]); - - ethServiceApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) { - ethServiceApp.register = { - controller : $controllerProvider.register, - directive : $compileProvider.directive, - factory : $provide.factory, - service : $provide.service - }; - - - NavHelperProvider.addControllerUrl('app/ethService/ethService.controller'); - NavHelperProvider.addToMenu('ethService', { - "link" : "#/ethService/", - "active" : "main.ethService", - "title" : "ETH Service", - "icon" : "fa fa-arrows-h", // Add navigation icon css class here - "page" : { - "title" : "ETH Service", - "description" : "Ethernet Service Provisioning" - } - }); - - var access = routingConfig.accessLevels; - - $stateProvider.state('main.ethService', { - url: 'ethService/:nodeId', - access: access.admin, - views : { - 'content' : { - templateUrl: 'src/app/ethService/ethService.tpl.html', - controller: 'ethServiceCtrl' - } - } - }); - - }); - - return ethServiceApp; -}); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.services.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.services.js deleted file mode 100644 index fa8ef2f6..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.services.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 2017 highstreet technologies GmbH and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['app/ethService/ethService.module', 'app/mwtnCommons/mwtnCommons.services'], function (ethServiceApp) { - - ethServiceApp.register.factory('$ethService', function ($q, $http, Base64, $mwtnCommons, $mwtnDatabase, $mwtnLog) { - - var service = {}; - - service.checkModules = $mwtnCommons.checkModules; - - - return service; - }); -}); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.tpl.html deleted file mode 100644 index b5f022f8..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/ethService.tpl.html +++ /dev/null @@ -1,9 +0,0 @@ - - -

Under Construction

-




- -
-
- ONAP SDN-R | ONF Wireless for @distversion@ - Build: @buildtime@ -
\ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/images/ethService.png b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/images/ethService.png deleted file mode 100755 index 9cca24f1..00000000 Binary files a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/ethService-module/src/main/resources/ethService/images/ethService.png and /dev/null differ diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/pom.xml deleted file mode 100644 index ba49da79..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/ethService/pom.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - 4.0.0 - - - com.highstreet.technologies.odl.dlux - ethService - ${prefix} ${project.artifactId} - pom - - - mwtn - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - - - ethService-module - ethService-bundle - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/features/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/features/pom.xml deleted file mode 100644 index 13eba24e..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/features/pom.xml +++ /dev/null @@ -1,65 +0,0 @@ - - 4.0.0 - - com.highstreet.technologies.odl.dlux - mwtnFeatures - 0.5.1-SNAPSHOT - ONF :: Wireless :: ${project.artifactId} - - - org.opendaylight.odlparent - features-parent - 1.8.1-Carbon - - - - ONF :: Wireless :: - - 1.4.0 - 1.1.0 - 2.2.0 - 5.0.0 - - 0.5.1-Carbon - 1.5.1-Carbon - 0.10.1-Carbon - 1.5.1-Carbon - 1.1.1-Carbon - 0.4.1-Carbon - 1.2.1-Carbon - 0.5.1-Carbon - 0.5.1-Carbon - 0.5.1 - etc/opendaylight/karaf - - - - - - - org.opendaylight.dlux - features-dlux - features - xml - runtime - 0.5.3-Carbon - - - - - - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/features/src/main/features/features.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/features/src/main/features/features.xml deleted file mode 100644 index 5fe79651..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/features/src/main/features/features.xml +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/onapAai-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnFault-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnBrowser-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnInventory-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnMediator-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/help-bundle/${project.version} - - - - odl-mwtn-ux-connect - - onap-sdnr-aai-ux - onap-sdnr-dcae-ux - onap-sdnr-so-ux - - - - odl-mwtn-ux-fault - odl-mwtn-ux-config - odl-mwtn-ux-performance - odl-mwtn-ux-inventory - odl-mwtn-ux-topology - - odl-mwtn-ux-mediator - odl-help-core - - - - - - - odl-mwtn-ux-connect - onap-sdnr-so-ux - onap-sdnr-dcae-ux - onap-sdnr-aai-ux - odl-mwtn-ux-fault - odl-mwtn-ux-config - odl-mwtn-ux-performance - mvn:org.onap.sdnc.dluxapps/security-bundle/${securityproject.version} - odl-mwtn-ux-inventory - odl-mwtn-ux-topology - odl-mwtn-ux-mediator - odl-mwtn-ux-log - odl-ux-help - - - - - odl-mwtn-ux-connect - - onap-sdnr-aai-ux - onap-sdnr-dcae-ux - onap-sdnr-so-ux - - odl-mwtn-ux-fault - odl-mwtn-ux-performance - odl-mwtn-ux-config - odl-mwtn-ux-topology - odl-mwtn-ux-inventory - - odl-mwtn-ux-mediator - odl-mwtn-ux-events - odl-mwtn-ux-test - odl-mwtn-ux-log - odl-mwtn-ux-chat - odl-ux-help - - - - - - mvn:com.highstreet.technologies.apigateway/apigateway-impl/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnCommons-bundle/${project.version} - - - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/onapAai-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/onapDcae-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/onapSo-bundle/${project.version} - - - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnFault-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnBrowser-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceCurrent-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceHistory-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnPerformanceLink-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnInventory-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnTopology-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnTdm-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/help-bundle/${project.version} - - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnEvents-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnConnect-bundle/${project.version} - mvn:com.highstreet.technologies.odl.dlux/mwtnTest-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnMediator-bundle/${project.version} - - - - odl-ux-commons - mvn:com.highstreet.technologies.odl.dlux/mwtnLog-bundle/${project.version} - - - - mvn:com.highstreet.technologies.odl.dlux/odlChat-bundle/${project.version} - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/pom.xml deleted file mode 100644 index 06081c2c..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/pom.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - 4.0.0 - - help - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - help-bundle - ${prefix} ${project.artifactId} - bundle - - - org.osgi - org.osgi.core - ${osgi.core.version} - - - org.osgi - org.osgi.compendium - ${osgi.core.version} - - - org.apache.felix - org.osgi.compendium - ${apache.felix.compendium} - - - org.opendaylight.dlux - loader - ${dlux.loader.version} - - - com.highstreet.technologies.odl.dlux - help-module - 0.5.1-SNAPSHOT - - - - - - target/generated-resources - - - src/main/resources - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.6 - - - - unpack-loader-resources - - unpack-dependencies - - generate-resources - - ${project.build.directory}/generated-resources - com.highstreet.technologies.odl.dlux - help-module - META-INF\/** - true - false - - - - - - org.apache.felix - maven-bundle-plugin - true - - - org.osgi.service.http, - org.osgi.framework;version="1.0.0", - org.opendaylight.dlux.loader - - - - - - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml deleted file mode 100644 index 490a2301..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - src/app/help/help.custom.css - - - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/pom.xml deleted file mode 100644 index dd744b3a..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - 4.0.0 - - help - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - help-module - ${prefix} ${project.artifactId} - jar - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.js deleted file mode 100644 index c82464a8..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.js +++ /dev/null @@ -1,284 +0,0 @@ -var __assign = (this && this.__assign) || Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; -}; -define("help.tree", ["require", "exports", "angularAMD"], function (require, exports, angular) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var help = angular.module('app.help'); - // class HelpTreeController implements ng.IController { - // constructor(private $scope: ng.IScope & { rootNode: Node, data: Node[]}) { - // $scope.$watch("rootNode", (n, o) => { - // $scope.data = Object.keys($scope.rootNode).map(key => $scope.rootNode[key]); - // }); - // } - // } - // help.controller("treeCtrl", ["$scope", HelpTreeController]); - var helpTree = function ($compile) { - return { - restrict: "E", - transclude: true, - scope: { rootNode: '=' }, - //controller: 'treeCtrl', - template: '', - compile: function (tElement, tAttr, transclude) { - var contents = tElement.contents().remove(); - var compiledContents; - return function (scope, iElement, iAttr) { - if (!compiledContents) { - compiledContents = $compile(contents, transclude); - } - compiledContents(scope, function (clone, scope) { - iElement.append(clone); - }); - }; - } - }; - }; - help.directive("tree", ["$compile", helpTree]); -}); -define("help.service", ["require", "exports", "angularAMD"], function (require, exports, angular) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var help = angular.module('app.help'); - var Helpservice = /** @class */ (function () { - function Helpservice($q, $http, env) { - this.$q = $q; - this.$http = $http; - this.env = env; - this.tocNodeCollection = null; - this.documents = {}; - } - Helpservice.prototype.getTableOfContents = function () { - var _this = this; - if (this.tocNodeCollection) { - return this.$q.resolve(this.tocNodeCollection); - } - return this.$http({ - method: "GET", - url: window.location.origin + "/help/?meta" - }).then(function (result) { - if (result.status === 200) { - _this.tocNodeCollection = result.data; - return result.data; - } - }); - }; - Helpservice.prototype.getDocument = function (path) { - var _this = this; - if (this.documents[path] != null) { - return this.$q.resolve(this.documents[path]); - } - return this.$http({ - method: "GET", - url: window.location.origin + "/help/" + path - }).then(function (result) { - if (result.status === 200) { - return _this.documents[path] = { - basePath: result.config && result.config.url && result.config.url, - document: result.data - }; - } - }); - }; - return Helpservice; - }()); - help.service('helpService', ['$q', '$http', Helpservice]); -}); -define("help.utilities", ["require", "exports"], function (require, exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.resolvePath = function () { - var paths = []; - for (var _i = 0; _i < arguments.length; _i++) { - paths[_i] = arguments[_i]; - } - console.log(paths); - function resolve(pathA, pathB) { - // ‘a’ => ['a'] - // 'a/b' => ['a', 'b'] - // '/a/b' => ['', 'a', 'b'] - // '/a/b/' => ['', 'a', 'b', ''] - pathB = pathB.split('/'); - if (pathB[0] === '') { - return pathB.join('/'); - } - pathA = pathA.split('/'); - var aLastIndex = pathA.length - 1; - if (pathA[aLastIndex] !== '') { - pathA[aLastIndex] = ''; - } - var part; - var i = 0; - while (typeof (part = pathB[i]) === 'string') { - switch (part) { - case '..': - pathA.pop(); - pathA.pop(); - pathA.push(''); - break; - case '.': - pathA.pop(); - pathA.push(''); - break; - default: - pathA.pop(); - pathA.push(part); - pathA.push(''); - break; - } - i++; - } - if (pathB[pathB.length - 1] !== '') - pathA.pop(); - return pathA.join('/'); - } - var i = 0; - var path; - var r = location.pathname; - var urlRegex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i; - var multiSlashReg = /\/\/+/g; - while (typeof (path = paths[i]) === 'string') { - // debugger; - var matches = path && path.match(urlRegex); - if (matches || !i) { - r = path; - } - else { - path = path.replace(multiSlashReg, '/'); - r = resolve(r, path); - } - i++; - } - return r; - }; -}); -define( ["require", "exports", "./lib/marked", "help.utilities", "help.tree", "help.service"], function (require, exports, marked, help_utilities_1) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var currentPath = '/help'; - var currentDoc = ''; - var renderer = new marked.Renderer(); - renderer.link = function (href, title, text) { - // check if href is rel or abs - var absUrlMatch = href.trim().match(/^https?:\/\//i); - return "" + text + ""; - }; - renderer.image = function (href, title, text) { - return "\"""; - }; - marked.setOptions({ - renderer: renderer, - gfm: true, - tables: true, - breaks: false, - pedantic: false, - sanitize: false, - smartLists: true, - smartypants: false, - xhtml: false - }); - var help = angular.module('app.help'); - var HelpDirective = function () { - return { - restrict: 'AE', - template: "", - scope: { - link: '@' - }, - replace: true - }; - }; - help.directive('help', [HelpDirective]); - var MarkdownItDirective = function ($sanitize) { - var attribute = 'markdownIt'; - var render = function (value) { - var md2html = (marked instanceof Function) ? marked : marked.default; - return value - ? $sanitize(md2html(value.trim())) - : ''; - }; - return { - restrict: 'AE', - scope: { - markdownIt: '=' - }, - replace: true, - link: function (scope, element, attrs) { - if (attrs[attribute]) { - scope.$watch(attribute, function (value) { - element.html(render(value)); - }); - } - else { - element.html(render(element.text())); - } - } - }; - }; - help.directive('markdownIt', ['$sanitize', MarkdownItDirective]); - var mapNode = function (tocNode) { - return tocNode && Object.keys(tocNode).map(function (key) { - return __assign({}, tocNode[key], { href: "#/help/" + tocNode[key]['versions']['current']['path'], nodes: mapNode(tocNode[key].nodes) }); - }); - }; - var HelpController = /** @class */ (function () { - function HelpController($scope, $rootScope, $state, $timeout, helpService) { - var _this = this; - this.$scope = $scope; - this.$state = $state; - this.$timeout = $timeout; - this.helpService = helpService; - this._content = "## Loading"; - this._path = ''; - this._toc = {}; - - $rootScope.section_logo = 'src/app/help/images/help.png'; - - helpService.getTableOfContents().then(function (toc) { - _this._toc = { nodes: mapNode(toc) }; - if (!$state.params.path) { - $state.go('main.help', { path: toc['sdnr']['versions']['current']['path'] }); - } - else { - _this.navigateTo($state.params.path); - } - }); - } - Object.defineProperty(HelpController.prototype, "content", { - get: function () { return this._content; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(HelpController.prototype, "path", { - get: function () { return this._path; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(HelpController.prototype, "toc", { - get: function () { return this._toc; }, - enumerable: true, - configurable: true - }); - HelpController.prototype.navigateTo = function (path) { - var _this = this; - this.helpService.getDocument(path).then(function (result) { - currentDoc = path; - currentPath = result.basePath; - _this._content = result.document; - }); - }; - return HelpController; - }()); - help.controller('helpCtrl', ['$scope', '$rootScope', '$state', '$timeout', 'helpService', HelpController]); -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscC5jb250cm9sbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic3JjL2FwcC9oZWxwL2hlbHAudHJlZS50cyIsInNyYy9hcHAvaGVscC9oZWxwLnNlcnZpY2UudHMiLCJzcmMvYXBwL2hlbHAvaGVscC51dGlsaXRpZXMudHMiLCJzcmMvYXBwL2hlbHAvaGVscC5jb250cm9sbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBY0EsSUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUV4Qyx1REFBdUQ7SUFDdkQsK0VBQStFO0lBQy9FLDRDQUE0QztJQUM1QyxxRkFBcUY7SUFDckYsVUFBVTtJQUNWLE1BQU07SUFDTixJQUFJO0lBRUosK0RBQStEO0lBRS9ELElBQU0sUUFBUSxHQUFHLFVBQVUsUUFBUTtRQUNqQyxNQUFNLENBQUM7WUFDTCxRQUFRLEVBQUUsR0FBRztZQUNiLFVBQVUsRUFBRSxJQUFJO1lBQ2hCLEtBQUssRUFBRSxFQUFFLFFBQVEsRUFBRSxHQUFHLEVBQUU7WUFDeEIseUJBQXlCO1lBQ3pCLFFBQVEsRUFDTixNQUFNO2dCQUNOLHlCQUF5QjtnQkFDekIsMENBQTBDO2dCQUMxQywwREFBMEQ7Z0JBQzFELE9BQU87Z0JBQ1AsT0FBTztZQUNULE9BQU8sRUFBRSxVQUFVLFFBQVEsRUFBRSxLQUFLLEVBQUUsVUFBVTtnQkFDNUMsSUFBSSx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bHBTZXJ2aWNlKSB7XG4gIFxuICAgIGhlbHBTZXJ2aWNlLmdldFRhYmxlT2ZDb250ZW50cygpLnRoZW4odG9jID0+IHtcbiAgICAgIHRoaXMuX3RvYyA9IHsgbm9kZXM6IG1hcE5vZGUodG9jKSB9IDtcbiAgICAgIGlmICghJHN0YXRlLnBhcmFtcy5wYXRoKSB7XG4gICAgICAgICRzdGF0ZS5nbygnbWFpbi5oZWxwJywgeyBwYXRoOiB0b2NbJ29wZW5kYXlsaWdodCddWyd2ZXJzaW9ucyddWydjdXJyZW50J11bJ3BhdGgnXSB9KVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5uYXZpZ2F0ZVRvKCRzdGF0ZS5wYXJhbXMucGF0aCk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cblxuICBwdWJsaWMgZ2V0IGNvbnRlbnQoKSB7IHJldHVybiB0aGlzLl9jb250ZW50OyB9XG4gIHB1YmxpYyBnZXQgcGF0aCgpIHsgcmV0dXJuIHRoaXMuX3BhdGg7IH1cbiAgcHVibGljIGdldCB0b2MoKSB7IHJldHVybiB0aGlzLl90b2M7IH1cblxuICBwcml2YXRlIG5hdmlnYXRlVG8ocGF0aDogc3RyaW5nKTogdm9pZCB7XG4gICAgdGhpcy5oZWxwU2VydmljZS5nZXREb2N1bWVudChwYXRoKS50aGVuKChyZXN1bHQpID0+IHtcbiAgICAgIGN1cnJlbnREb2MgPSBwYXRoO1xuICAgICAgY3VycmVudFBhdGggPSByZXN1bHQuYmFzZVBhdGg7XG4gICAgICB0aGlzLl9jb250ZW50ID0gcmVzdWx0LmRvY3VtZW50O1xuICAgIH0pO1xuICB9XG5cbn1cblxuaGVscC5jb250cm9sbGVyKCdoZWxwQ3RybCcsIFsnJHNjb3BlJywgJyRzdGF0ZScsICckdGltZW91dCcsICdoZWxwU2VydmljZScsIEhlbHBDb250cm9sbGVyIF0pOyJdfQ== \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.ts deleted file mode 100644 index 5a12bbfe..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.controller.ts +++ /dev/null @@ -1,130 +0,0 @@ -declare var angular: angular.IAngularStatic; - -import * as marked from "./lib/marked"; - -import "./help.tree"; -import "./help.service"; - -import { IHelpService , TocNodeCollection } from "./help.service"; -import { resolvePath } from './help.utilities'; -import { Node } from "./help.tree"; - -let currentPath = '/help'; -let currentDoc = ''; - -const renderer = new marked.Renderer(); - -renderer.link = (href: string, title: string, text: string) => { - // check if href is rel or abs - const absUrlMatch = href.trim().match(/^https?:\/\//i); - return `${text}` -}; - -renderer.image = (href: string, title: string, text: string) => { - return `${title}` -}; - -marked.setOptions({ - renderer: renderer, - gfm: true, - tables: true, - breaks: false, - pedantic: false, - sanitize: false, - smartLists: true, - smartypants: false, - xhtml: false -}); - -const help = angular.module('app.help'); - -const HelpDirective = () => { - - return { - restrict: 'AE', - template: ``, - scope: { - link: '@' - }, - replace: true - }; -} - -help.directive('help', [HelpDirective]); - -const MarkdownItDirective = ($sanitize: angular.sanitize.ISanitizeService) => { - const attribute = 'markdownIt'; - - const render = function (value) { - const md2html = (marked instanceof Function) ? marked : marked.default; - return value - ? $sanitize(md2html(value.trim())) - : ''; - }; - - return { - restrict: 'AE', - scope: { - markdownIt: '=' - }, - replace: true, - link: function (scope, element, attrs) { - if (attrs[attribute]) { - scope.$watch(attribute, function (value) { - element.html(render(value)); - }); - } else { - element.html(render(element.text())); - } - } - }; -} - -help.directive('markdownIt', ['$sanitize', MarkdownItDirective]); - -interface IHelpScope extends angular.IScope { - toc: TocNodeCollection -} - -const mapNode = (tocNode: TocNodeCollection): Node[] => { - return tocNode && Object.keys(tocNode).map(key => { - return { - ...tocNode[key], - href: `#/help/${tocNode[key]['versions']['current']['path']}`, - nodes: mapNode(tocNode[key].nodes) - }; - }); -}; - -class HelpController { - private _content = "## Loading"; - private _path = ''; - private _toc : Node = { }; - - constructor(private $scope: IHelpScope, private $state, private $timeout: angular.ITimeoutService, private helpService: IHelpService) { - - helpService.getTableOfContents().then(toc => { - this._toc = { nodes: mapNode(toc) } ; - if (!$state.params.path) { - $state.go('main.help', { path: toc['sdnr']['versions']['current']['path'] }) - } else { - this.navigateTo($state.params.path); - } - }); - } - - public get content() { return this._content; } - public get path() { return this._path; } - public get toc() { return this._toc; } - - private navigateTo(path: string): void { - this.helpService.getDocument(path).then((result) => { - currentDoc = path; - currentPath = result.basePath; - this._content = result.document; - }); - } - -} - -help.controller('helpCtrl', ['$scope', '$state', '$timeout', 'helpService', HelpController ]); \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.custom.css b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.custom.css deleted file mode 100644 index d54b5c25..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.custom.css +++ /dev/null @@ -1,105 +0,0 @@ -.app-help { - color:azure; -} - -.global-help { - float: left; - margin: 5px; - margin-left: 8px; -} - -.app-help th { - padding: 3px; - border-bottom: #eeeeee solid 1px; -} - -.app-help td { - padding: 2px; -} - -.app-help tbody { - padding: 2px; - border-bottom: #eeeeee solid 1px; - margin-bottom: 20px; -} - -.app-help .toc { - padding-left: 0; - padding-top: 25px; - max-width: 170px; -} - -.app-help a[href^="http://"]:after { - content: "\f08e"; - display: inline-block; - font-family: FontAwesome; - font-weight: normal; - font-style: normal; - text-decoration: none; - padding-left: 3px; -} - -.app-help a[href^="https://"]:after { - content: "\f08e"; - display: inline-block; - font-family: FontAwesome; - font-weight: normal; - font-style: normal; - text-decoration: none; - padding-left: 3px; -} - -.app-help a, .global-help a { - color:azure; - text-decoration: none; -} - -.app-help a:visited, .global-help a:visited { - color:azure; - text-decoration: none; -} - -.app-help a:hover, .global-help a:hover { - color:bisque; -} - -.app-help .toc ul { - margin: 0; - padding: 0; - list-style: none; - border: none; - overflow: hidden; -} - -.app-help .toc li { - line-height: 1.5em; - position: relative; - padding: 0 0 0 20px; -} - -.app-help .toc > tree > ul > li { - padding: 0 -} - -.app-help .toc li a { - color:azure; - text-decoration: none; -} - -.app-help .toc li a:visited { - color:azure; - text-decoration: none; -} - -.app-help .toc li a:hover { - color:bisque; - text-decoration: none; -} - -.app-help > .help { - color:azure; -} - -.app-help > .help img { - width: 100% -} \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.js deleted file mode 100644 index 71d43be9..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.js +++ /dev/null @@ -1,33 +0,0 @@ -define( ["require", "exports"], function (require, exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.help = angular.module('app.help', ['app.core']); - exports.help.config(function ($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $httpProvider, $translateProvider, $translatePartialLoaderProvider) { - //$translatePartialLoaderProvider.addPart('app/help/locale/locale'); - NavHelperProvider.addControllerUrl('app/help/help.controller'); - NavHelperProvider.addToMenu('help', { - "link": "#/help/", - "active": "main.help", - "title": "Help", - "icon": "fa fa-question-circle", - "page": { - "title": "Help", - "description": "help" - } - }); - $stateProvider.state('main.help', { - url: 'help/*path', - access: 2, - views: { - 'content': { - templateUrl: 'src/app/help/help.tpl.html', - controller: 'helpCtrl as vm' - } - } - }); - }); -}); -/* non ES6 export */ -// export = help; -// export default help; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzcmMvYXBwL2hlbHAvaGVscC5tb2R1bGUudHMiXSwibmF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50Jzoge1xuICAgICAgICB0ZW1wbGF0ZVVybDogJ3NyYy9hcHAvaGVscC9oZWxwLnRwbC5odG1sJyxcbiAgICAgICAgY29udHJvbGxlcjogJ2hlbHBDdHJsIGFzIHZtJ1xuICAgICAgfVxuICAgIH1cbiAgfSk7XG59KTtcblxuLyogbm9uIEVTNiBleHBvcnQgKi9cbi8vIGV4cG9ydCA9IGhlbHA7ICAgXG4vLyBleHBvcnQgZGVmYXVsdCBoZWxwOyJdfQ== diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.ts deleted file mode 100644 index d3acc645..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.module.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare var angular: angular.IAngularStatic; - -export const help = angular.module('app.help', ['app.core']); - -help.config(function ($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $httpProvider, $translateProvider, $translatePartialLoaderProvider) { - - //$translatePartialLoaderProvider.addPart('app/help/locale/locale'); - - NavHelperProvider.addControllerUrl('app/help/help.controller'); - NavHelperProvider.addToMenu('help', { - "link": "#/help/", - "active": "main.help", - "title": "Help", - "icon": "fa fa-question-circle", // Add navigation icon css class here - "page": { - "title": "MWTN Demo", - "description": "help" - } - }); - - $stateProvider.state('main.help', { - url: 'help/*path', - access: 2, - views: { - 'content': { - templateUrl: 'src/app/help/help.tpl.html', - controller: 'helpCtrl as vm' - } - } - }); -}); - -/* non ES6 export */ -// export = help; -// export default help; \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.service.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.service.ts deleted file mode 100644 index f09ec7b7..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.service.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as angular from 'angularAMD'; - -const help = angular.module('app.help'); - -export interface VersionInfo { - label: string, - path: string, - date: string -} - -export interface TocNode { - label: string; - versions: { - [versionKey: string]: VersionInfo - }; - nodes?: TocNodeCollection; -} - -export type TocNodeCollection = { [tocNodeKey: string]: TocNode }; - - -interface IEnv { - getBaseURL: (salType: 'AD_SAL' | 'MD_SAL') => string; -} - -/** Represents a service used for the help application. */ -export interface IHelpService { - - /** - * Queries the table of contents for a specific version. - * @param version The version the table of contents shall be requested for. - * @returns A Promise containing the requested table of contents. - * - */ - getTableOfContents(version?: string): angular.IPromise; - - /** - * Get a specitic document by its path. - * @param path The path of the document to get. - * @returns A Promise containing the requested document. - * - */ - getDocument(path: string): angular.IPromise<{ basePath: string, document: string }>; -} - -class Helpservice implements IHelpService { - - private tocNodeCollection: TocNodeCollection; - private documents: { [path: string]: { basePath: string, document: string } }; - - constructor(private $q: angular.IQService, private $http: angular.IHttpService, private env: IEnv) { - this.tocNodeCollection = null; - this.documents = {}; - } - - public getTableOfContents(): angular.IPromise { - if (this.tocNodeCollection) { - return this.$q.resolve(this.tocNodeCollection); - } - - return this.$http({ - method: "GET", - url: `${this.env.getBaseURL('MD_SAL')}/help/?meta` - }).then((result: angular.IHttpResponse) => { - if (result.status === 200) { - this.tocNodeCollection = result.data; - return result.data; - } - }); - } - - public getDocument(path: string): angular.IPromise<{basePath: string, document: string}> { - if (this.documents[path] != null) { - return this.$q.resolve(this.documents[path]); - } - - return this.$http({ - method: "GET", - url: `${this.env.getBaseURL('MD_SAL')}/help/${path}` - }).then((result: angular.IHttpResponse) => { - if (result.status === 200) { - return this.documents[path] = { - basePath: result.config && result.config.url && result.config.url, - document: result.data - }; - } - }); - - } -} - -help.service('helpService', ['$q', '$http', 'ENV', Helpservice]); \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tpl.html deleted file mode 100644 index 6c2970c8..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tpl.html +++ /dev/null @@ -1,17 +0,0 @@ - - -
- - - -
- -
-
-
- ONAP SDN-R | ONF Wireless - Build: @buildtime@ -
\ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.html deleted file mode 100644 index e69de29b..00000000 diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.ts deleted file mode 100644 index 3d142804..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.tree.ts +++ /dev/null @@ -1,55 +0,0 @@ -import * as angular from 'angularAMD'; - -export interface Node { - label?: string, - nodes?: Node[], - versions?: { - [version: string]: { - label: string, - date: string, - path: string - } - } -} - -const help = angular.module('app.help'); - -// class HelpTreeController implements ng.IController { -// constructor(private $scope: ng.IScope & { rootNode: Node, data: Node[]}) { -// $scope.$watch("rootNode", (n, o) => { -// $scope.data = Object.keys($scope.rootNode).map(key => $scope.rootNode[key]); -// }); -// } -// } - -// help.controller("treeCtrl", ["$scope", HelpTreeController]); - -const helpTree = function ($compile) { - return { - restrict: "E", - transclude: true, - scope: { rootNode: '=' }, - //controller: 'treeCtrl', - template: - '
    ' + - '
  • ' + - '
  • ' + - '
    ' + - '
  • ' + - '
', - compile: function (tElement, tAttr, transclude) { - var contents = tElement.contents().remove(); - var compiledContents; - return function (scope, iElement, iAttr) { - if (!compiledContents) { - compiledContents = $compile(contents, transclude); - } - compiledContents(scope, function (clone, scope) { - iElement.append(clone); - }); - }; - } - }; -}; - -help.directive("tree", ["$compile", helpTree]); \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.utilities.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.utilities.ts deleted file mode 100644 index ec34b624..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/help.utilities.ts +++ /dev/null @@ -1,63 +0,0 @@ -export var resolvePath = function (...paths: string[]): string { - console.log(paths); - function resolve(pathA, pathB) { - // ‘a’ => ['a'] - // 'a/b' => ['a', 'b'] - // '/a/b' => ['', 'a', 'b'] - // '/a/b/' => ['', 'a', 'b', ''] - pathB = pathB.split('/'); - if (pathB[0] === '') { - return pathB.join('/'); - } - pathA = pathA.split('/'); - var aLastIndex = pathA.length - 1; - if (pathA[aLastIndex] !== '') { - pathA[aLastIndex] = ''; - } - - var part; - var i = 0; - while (typeof (part = pathB[i]) === 'string') { - switch (part) { - case '..': - pathA.pop(); - pathA.pop(); - pathA.push(''); - break; - case '.': - pathA.pop(); - pathA.push(''); - break; - default: - pathA.pop(); - pathA.push(part); - pathA.push(''); - break; - } - i++; - } - if (pathB[pathB.length - 1] !== '') pathA.pop(); - return pathA.join('/'); - } - - var i = 0; - var path; - var r = location.pathname; - - const urlRegex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i; - const multiSlashReg = /\/\/+/g; - - while (typeof (path = paths[i]) === 'string') { - // debugger; - const matches = path && path.match(urlRegex); - if (matches || !i) { - r = path; - } else { - path = path.replace(multiSlashReg, '/'); - r = resolve(r, path); - } - i++; - } - - return r; -}; \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/images/help.png b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/images/help.png deleted file mode 100755 index 5ca1f1cc..00000000 Binary files a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/images/help.png and /dev/null differ diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.d.ts b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.d.ts deleted file mode 100644 index 74a11ae8..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.d.ts +++ /dev/null @@ -1,284 +0,0 @@ -// Type definitions for Marked 0.3 -// Project: https://github.com/chjj/marked -// Definitions by: William Orr -// BendingBender -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare var marked : marked.markedStatic; - -export as namespace marked; - -export = marked; - -declare namespace marked { - /** - * Compiles markdown to HTML. - * - * @param src String of markdown source to be compiled - * @param callback Function called when the markdownString has been fully parsed when using async highlighting - * @return String of compiled HTML - */ - function markedStatic(src: string, callback: (error: any | undefined, parseResult: string) => void): string; - - /** - * Compiles markdown to HTML. - * - * @param src String of markdown source to be compiled - * @param options Hash of options - * @param callback Function called when the markdownString has been fully parsed when using async highlighting - * @return String of compiled HTML - */ - function markedStatic(src: string, options?: marked.MarkedOptions, callback?: (error: any | undefined, parseResult: string) => void): string; - - /** - * @param src String of markdown source to be compiled - * @param options Hash of options - */ - function lexer(src: string, options?: MarkedOptions): TokensList; - - /** - * Compiles markdown to HTML. - * - * @param src String of markdown source to be compiled - * @param callback Function called when the markdownString has been fully parsed when using async highlighting - * @return String of compiled HTML - */ - function parse(src: string, callback: (error: any | undefined, parseResult: string) => void): string; - - /** - * Compiles markdown to HTML. - * - * @param src String of markdown source to be compiled - * @param options Hash of options - * @param callback Function called when the markdownString has been fully parsed when using async highlighting - * @return String of compiled HTML - */ - function parse(src: string, options?: MarkedOptions, callback?: (error: any | undefined, parseResult: string) => void): string; - - /** - * @param src Tokenized source as array of tokens - * @param options Hash of options - */ - function parser(src: TokensList, options?: MarkedOptions): string; - - /** - * Sets the default options. - * - * @param options Hash of options - */ - function setOptions(options: MarkedOptions): typeof marked; - - class Renderer { - constructor(options?: MarkedOptions); - code(code: string, language: string, isEscaped: boolean): string; - blockquote(quote: string): string; - html(html: string): string; - heading(text: string, level: number, raw: string): string; - hr(): string; - list(body: string, ordered: boolean): string; - listitem(text: string): string; - paragraph(text: string): string; - table(header: string, body: string): string; - tablerow(content: string): string; - tablecell(content: string, flags: { - header: boolean; - align: 'center' | 'left' | 'right' | null; - }): string; - strong(text: string): string; - em(text: string): string; - codespan(code: string): string; - br(): string; - del(text: string): string; - link(href: string, title: string, text: string): string; - image(href: string, title: string, text: string): string; - text(text: string): string; - } - - class Lexer { - rules: Rules; - tokens: TokensList; - constructor(options?: MarkedOptions); - lex(src: string): TokensList; - } - - interface Rules { - [ruleName: string]: RegExp | Rules; - } - - type TokensList = Token[] & { - links: { - [key: string]: { href: string; title: string; } - } - }; - - type Token = - Tokens.Space - | Tokens.Code - | Tokens.Heading - | Tokens.Table - | Tokens.Hr - | Tokens.BlockquoteStart - | Tokens.BlockquoteEnd - | Tokens.ListStart - | Tokens.LooseItemStart - | Tokens.ListItemStart - | Tokens.ListItemEnd - | Tokens.ListEnd - | Tokens.Paragraph - | Tokens.HTML - | Tokens.Text; - - namespace Tokens { - interface Space { - type: 'space'; - } - - interface Code { - type: 'code'; - lang?: string; - text: string; - } - - interface Heading { - type: 'heading'; - depth: number; - text: string; - } - - interface Table { - type: 'table'; - header: string[]; - align: Array<'center' | 'left' | 'right' | null>; - cells: string[][]; - } - - interface Hr { - type: 'hr'; - } - - interface BlockquoteStart { - type: 'blockquote_start'; - } - - interface BlockquoteEnd { - type: 'blockquote_end'; - } - - interface ListStart { - type: 'list_start'; - ordered: boolean; - } - - interface LooseItemStart { - type: 'loose_item_start'; - } - - interface ListItemStart { - type: 'list_item_start'; - } - - interface ListItemEnd { - type: 'list_item_end'; - } - - interface ListEnd { - type: 'list_end'; - } - - interface Paragraph { - type: 'paragraph'; - pre?: boolean; - text: string; - } - - interface HTML { - type: 'html'; - pre: boolean; - text: string; - } - - interface Text { - type: 'text'; - text: string; - } - } - - interface MarkedOptions { - /** - * Type: object Default: new Renderer() - * - * An object containing functions to render tokens to HTML. - */ - renderer?: Renderer; - - /** - * Enable GitHub flavored markdown. - */ - gfm?: boolean; - - /** - * Enable GFM tables. This option requires the gfm option to be true. - */ - tables?: boolean; - - /** - * Enable GFM line breaks. This option requires the gfm option to be true. - */ - breaks?: boolean; - - /** - * Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior. - */ - pedantic?: boolean; - - /** - * Sanitize the output. Ignore any HTML that has been input. - */ - sanitize?: boolean; - - /** - * Optionally sanitize found HTML with a sanitizer function. - */ - sanitizer?(html: string): string; - - /** - * Mangle autolinks (). - */ - mangle?: boolean; - - /** - * Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic. - */ - smartLists?: boolean; - - /** - * Shows an HTML error message when rendering fails. - */ - silent?: boolean; - - /** - * A function to highlight code blocks. The function takes three arguments: code, lang, and callback. - */ - highlight?(code: string, lang: string, callback?: (error: any | undefined, code: string) => void): string; - - /** - * Set the prefix for code block classes. - */ - langPrefix?: string; - - /** - * Use "smart" typograhic punctuation for things like quotes and dashes. - */ - smartypants?: boolean; - - /** - * Set the prefix for header tag ids. - */ - headerPrefix?: string; - - /** - * Generate closing slash for self-closing tags (
instead of
) - */ - xhtml?: boolean; - } -} diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.js deleted file mode 100644 index 04386a6c..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/help-module/src/main/resources/help/lib/marked.js +++ /dev/null @@ -1,1320 +0,0 @@ -/** - * marked - a markdown parser - * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) - * https://github.com/chjj/marked - */ - -; (function () { - 'use strict'; - - /** - * Block-Level Grammar - */ - - var block = { - newline: /^\n+/, - code: /^( {4}[^\n]+\n*)+/, - fences: noop, - hr: /^( *[-*_]){3,} *(?:\n+|$)/, - heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/, - nptable: noop, - lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/, - blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/, - list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/, - html: /^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/, - def: /^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/, - table: noop, - paragraph: /^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/, - text: /^[^\n]+/ - }; - - block.bullet = /(?:[*+-]|\d+\.)/; - block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/; - block.item = replace(block.item, 'gm') - (/bull/g, block.bullet) - (); - - block.list = replace(block.list) - (/bull/g, block.bullet) - ('hr', '\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))') - ('def', '\\n+(?=' + block.def.source + ')') - (); - - block.blockquote = replace(block.blockquote) - ('def', block.def) - (); - - block._tag = '(?!(?:' - + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code' - + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo' - + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b'; - - block.html = replace(block.html) - ('comment', //) - ('closed', /<(tag)[\s\S]+?<\/\1>/) - ('closing', /])*?>/) - (/tag/g, block._tag) - (); - - block.paragraph = replace(block.paragraph) - ('hr', block.hr) - ('heading', block.heading) - ('lheading', block.lheading) - ('blockquote', block.blockquote) - ('tag', '<' + block._tag) - ('def', block.def) - (); - - /** - * Normal Block Grammar - */ - - block.normal = merge({}, block); - - /** - * GFM Block Grammar - */ - - block.gfm = merge({}, block.normal, { - fences: /^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/, - paragraph: /^/, - heading: /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/ - }); - - block.gfm.paragraph = replace(block.paragraph) - ('(?!', '(?!' - + block.gfm.fences.source.replace('\\1', '\\2') + '|' - + block.list.source.replace('\\1', '\\3') + '|') - (); - - /** - * GFM + Tables Block Grammar - */ - - block.tables = merge({}, block.gfm, { - nptable: /^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/, - table: /^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/ - }); - - /** - * Block Lexer - */ - - function Lexer(options) { - this.tokens = []; - this.tokens.links = {}; - this.options = options || marked.defaults; - this.rules = block.normal; - - if (this.options.gfm) { - if (this.options.tables) { - this.rules = block.tables; - } else { - this.rules = block.gfm; - } - } - } - - /** - * Expose Block Rules - */ - - Lexer.rules = block; - - /** - * Static Lex Method - */ - - Lexer.lex = function (src, options) { - var lexer = new Lexer(options); - return lexer.lex(src); - }; - - /** - * Preprocessing - */ - - Lexer.prototype.lex = function (src) { - src = src - .replace(/\r\n|\r/g, '\n') - .replace(/\t/g, ' ') - .replace(/\u00a0/g, ' ') - .replace(/\u2424/g, '\n'); - - return this.token(src, true); - }; - - /** - * Lexing - */ - - Lexer.prototype.token = function (src, top, bq) { - var src = src.replace(/^ +$/gm, '') - , next - , loose - , cap - , bull - , b - , item - , space - , i - , l; - - while (src) { - // newline - if (cap = this.rules.newline.exec(src)) { - src = src.substring(cap[0].length); - if (cap[0].length > 1) { - this.tokens.push({ - type: 'space' - }); - } - } - - // code - if (cap = this.rules.code.exec(src)) { - src = src.substring(cap[0].length); - cap = cap[0].replace(/^ {4}/gm, ''); - this.tokens.push({ - type: 'code', - text: !this.options.pedantic - ? cap.replace(/\n+$/, '') - : cap - }); - continue; - } - - // fences (gfm) - if (cap = this.rules.fences.exec(src)) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'code', - lang: cap[2], - text: cap[3] || '' - }); - continue; - } - - // heading - if (cap = this.rules.heading.exec(src)) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'heading', - depth: cap[1].length, - text: cap[2] - }); - continue; - } - - // table no leading pipe (gfm) - if (top && (cap = this.rules.nptable.exec(src))) { - src = src.substring(cap[0].length); - - item = { - type: 'table', - header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */), - align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), - cells: cap[3].replace(/\n$/, '').split('\n') - }; - - for (i = 0; i < item.align.length; i++) { - if (/^ *-+: *$/.test(item.align[i])) { - item.align[i] = 'right'; - } else if (/^ *:-+: *$/.test(item.align[i])) { - item.align[i] = 'center'; - } else if (/^ *:-+ *$/.test(item.align[i])) { - item.align[i] = 'left'; - } else { - item.align[i] = null; - } - } - - for (i = 0; i < item.cells.length; i++) { - item.cells[i] = item.cells[i].split(/ *\| */); - } - - this.tokens.push(item); - - continue; - } - - // lheading - if (cap = this.rules.lheading.exec(src)) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'heading', - depth: cap[2] === '=' ? 1 : 2, - text: cap[1] - }); - continue; - } - - // hr - if (cap = this.rules.hr.exec(src)) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'hr' - }); - continue; - } - - // blockquote - if (cap = this.rules.blockquote.exec(src)) { - src = src.substring(cap[0].length); - - this.tokens.push({ - type: 'blockquote_start' - }); - - cap = cap[0].replace(/^ *> ?/gm, ''); - - // Pass `top` to keep the current - // "toplevel" state. This is exactly - // how markdown.pl works. - this.token(cap, top, true); - - this.tokens.push({ - type: 'blockquote_end' - }); - - continue; - } - - // list - if (cap = this.rules.list.exec(src)) { - src = src.substring(cap[0].length); - bull = cap[2]; - - this.tokens.push({ - type: 'list_start', - ordered: bull.length > 1 - }); - - // Get each top-level item. - cap = cap[0].match(this.rules.item); - - next = false; - l = cap.length; - i = 0; - - for (; i < l; i++) { - item = cap[i]; - - // Remove the list item's bullet - // so it is seen as the next token. - space = item.length; - item = item.replace(/^ *([*+-]|\d+\.) +/, ''); - - // Outdent whatever the - // list item contains. Hacky. - if (~item.indexOf('\n ')) { - space -= item.length; - item = !this.options.pedantic - ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') - : item.replace(/^ {1,4}/gm, ''); - } - - // Determine whether the next list item belongs here. - // Backpedal if it does not belong in this list. - if (this.options.smartLists && i !== l - 1) { - b = block.bullet.exec(cap[i + 1]) [0]; - if (bull !== b && !(bull.length > 1 && b.length > 1)) { - src = cap.slice(i + 1).join('\n') + src; - i = l - 1; - } - } - - // Determine whether item is loose or not. - // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/ - // for discount behavior. - loose = next || /\n\n(?!\s*$)/.test(item); - if (i !== l - 1) { - next = item.charAt(item.length - 1) === '\n'; - if (!loose) loose = next; - } - - this.tokens.push({ - type: loose - ? 'loose_item_start' - : 'list_item_start' - }); - - // Recurse. - this.token(item, false, bq); - - this.tokens.push({ - type: 'list_item_end' - }); - } - - this.tokens.push({ - type: 'list_end' - }); - - continue; - } - - // html - if (cap = this.rules.html.exec(src)) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: this.options.sanitize - ? 'paragraph' - : 'html', - pre: !this.options.sanitizer - && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'), - text: cap[0] - }); - continue; - } - - // def - if ((!bq && top) && (cap = this.rules.def.exec(src))) { - src = src.substring(cap[0].length); - this.tokens.links[cap[1].toLowerCase()] = { - href: cap[2], - title: cap[3] - }; - continue; - } - - // table (gfm) - if (top && (cap = this.rules.table.exec(src))) { - src = src.substring(cap[0].length); - - item = { - type: 'table', - header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */), - align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), - cells: cap[3].replace(/(?: *\| *)?\n$/, '').split('\n') - }; - - for (i = 0; i < item.align.length; i++) { - if (/^ *-+: *$/.test(item.align[i])) { - item.align[i] = 'right'; - } else if (/^ *:-+: *$/.test(item.align[i])) { - item.align[i] = 'center'; - } else if (/^ *:-+ *$/.test(item.align[i])) { - item.align[i] = 'left'; - } else { - item.align[i] = null; - } - } - - for (i = 0; i < item.cells.length; i++) { - item.cells[i] = item.cells[i] - .replace(/^ *\| *| *\| *$/g, '') - .split(/ *\| */); - } - - this.tokens.push(item); - - continue; - } - - // top-level paragraph - if (top && (cap = this.rules.paragraph.exec(src))) { - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'paragraph', - text: cap[1].charAt(cap[1].length - 1) === '\n' - ? cap[1].slice(0, -1) - : cap[1] - }); - continue; - } - - // text - if (cap = this.rules.text.exec(src)) { - // Top-level should never reach here. - src = src.substring(cap[0].length); - this.tokens.push({ - type: 'text', - text: cap[0] - }); - continue; - } - - if (src) { - throw new - Error('Infinite loop on byte: ' + src.charCodeAt(0)); - } - } - - return this.tokens; - }; - - /** - * Inline-Level Grammar - */ - - var inline = { - escape: /^\\([\\`*{}\[\]()#+\-.!_>])/, - autolink: /^<([^ <>]+(@|:\/)[^ <>]+)>/, - url: noop, - tag: /^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^<'">])*?>/, - link: /^!?\[(inside)\]\(href\)/, - reflink: /^!?\[(inside)\]\s*\[([^\]]*)\]/, - nolink: /^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/, - strong: /^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/, - em: /^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/, - code: /^(`+)([\s\S]*?[^`])\1(?!`)/, - br: /^ {2,}\n(?!\s*$)/, - del: noop, - text: /^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/; - - inline.link = replace(inline.link) - ('inside', inline._inside) - ('href', inline._href) - (); - - inline.reflink = replace(inline.reflink) - ('inside', inline._inside) - (); - - /** - * Normal Inline Grammar - */ - - inline.normal = merge({}, inline); - - /** - * Pedantic Inline Grammar - */ - - inline.pedantic = merge({}, inline.normal, { - strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, - em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/ - }); - - /** - * GFM Inline Grammar - */ - - inline.gfm = merge({}, inline.normal, { - escape: replace(inline.escape)('])', '~|])')(), - url: /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, - del: /^~~(?=\S)([\s\S]*?\S)~~/, - text: replace(inline.text) - (']|', '~]|') - ('|', '|https?://|') - () - }); - - /** - * GFM + Line Breaks Inline Grammar - */ - - inline.breaks = merge({}, inline.gfm, { - br: replace(inline.br)('{2,}', '*')(), - text: replace(inline.gfm.text)('{2,}', '*')() - }); - - /** - * Inline Lexer & Compiler - */ - - function InlineLexer(links, options) { - this.options = options || marked.defaults; - this.links = links; - this.rules = inline.normal; - this.renderer = this.options.renderer || new Renderer; - this.renderer.options = this.options; - - if (!this.links) { - throw new - Error('Tokens array requires a `links` property.'); - } - - if (this.options.gfm) { - if (this.options.breaks) { - this.rules = inline.breaks; - } else { - this.rules = inline.gfm; - } - } else if (this.options.pedantic) { - this.rules = inline.pedantic; - } - } - - /** - * Expose Inline Rules - */ - - InlineLexer.rules = inline; - - /** - * Static Lexing/Compiling Method - */ - - InlineLexer.output = function (src, links, options) { - var inline = new InlineLexer(links, options); - return inline.output(src); - }; - - /** - * Lexing/Compiling - */ - - InlineLexer.prototype.output = function (src) { - var out = '' - , link - , text - , href - , cap; - - while (src) { - // escape - if (cap = this.rules.escape.exec(src)) { - src = src.substring(cap[0].length); - out += cap[1]; - continue; - } - - // autolink - if (cap = this.rules.autolink.exec(src)) { - src = src.substring(cap[0].length); - if (cap[2] === '@') { - text = escape( - cap[1].charAt(6) === ':' - ? this.mangle(cap[1].substring(7)) - : this.mangle(cap[1]) - ); - href = this.mangle('mailto:') + text; - } else { - text = escape(cap[1]); - href = text; - } - out += this.renderer.link(href, null, text); - continue; - } - - // url (gfm) - if (!this.inLink && (cap = this.rules.url.exec(src))) { - src = src.substring(cap[0].length); - text = escape(cap[1]); - href = text; - out += this.renderer.link(href, null, text); - continue; - } - - // tag - if (cap = this.rules.tag.exec(src)) { - if (!this.inLink && /^/i.test(cap[0])) { - this.inLink = false; - } - src = src.substring(cap[0].length); - out += this.options.sanitize - ? this.options.sanitizer - ? this.options.sanitizer(cap[0]) - : escape(cap[0]) - : cap[0] - continue; - } - - // link - if (cap = this.rules.link.exec(src)) { - src = src.substring(cap[0].length); - this.inLink = true; - out += this.outputLink(cap, { - href: cap[2], - title: cap[3] - }); - this.inLink = false; - continue; - } - - // reflink, nolink - if ((cap = this.rules.reflink.exec(src)) - || (cap = this.rules.nolink.exec(src))) { - src = src.substring(cap[0].length); - link = (cap[2] || cap[1]).replace(/\s+/g, ' '); - link = this.links[link.toLowerCase()]; - if (!link || !link.href) { - out += cap[0].charAt(0); - src = cap[0].substring(1) + src; - continue; - } - this.inLink = true; - out += this.outputLink(cap, link); - this.inLink = false; - continue; - } - - // strong - if (cap = this.rules.strong.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.strong(this.output(cap[2] || cap[1])); - continue; - } - - // em - if (cap = this.rules.em.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.em(this.output(cap[2] || cap[1])); - continue; - } - - // code - if (cap = this.rules.code.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.codespan(escape(cap[2].trim(), true)); - continue; - } - - // br - if (cap = this.rules.br.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.br(); - continue; - } - - // del (gfm) - if (cap = this.rules.del.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.del(this.output(cap[1])); - continue; - } - - // text - if (cap = this.rules.text.exec(src)) { - src = src.substring(cap[0].length); - out += this.renderer.text(escape(this.smartypants(cap[0]))); - continue; - } - - if (src) { - throw new - Error('Infinite loop on byte: ' + src.charCodeAt(0)); - } - } - - return out; - }; - - /** - * Compile Link - */ - - InlineLexer.prototype.outputLink = function (cap, link) { - var href = escape(link.href) - , title = link.title ? escape(link.title) : null; - - return cap[0].charAt(0) !== '!' - ? this.renderer.link(href, title, this.output(cap[1])) - : this.renderer.image(href, title, escape(cap[1])); - }; - - /** - * Smartypants Transformations - */ - - InlineLexer.prototype.smartypants = function (text) { - if (!this.options.smartypants) return text; - return text - // em-dashes - .replace(/---/g, '\u2014') - // en-dashes - .replace(/--/g, '\u2013') - // opening singles - .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018') - // closing singles & apostrophes - .replace(/'/g, '\u2019') - // opening doubles - .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c') - // closing doubles - .replace(/"/g, '\u201d') - // ellipses - .replace(/\.{3}/g, '\u2026'); - }; - - /** - * Mangle Links - */ - - InlineLexer.prototype.mangle = function (text) { - if (!this.options.mangle) return text; - var out = '' - , l = text.length - , i = 0 - , ch; - - for (; i < l; i++) { - ch = text.charCodeAt(i); - if (Math.random() > 0.5) { - ch = 'x' + ch.toString(16); - } - out += '&#' + ch + ';'; - } - - return out; - }; - - /** - * Renderer - */ - - function Renderer(options) { - this.options = options || {}; - } - - Renderer.prototype.code = function (code, lang, escaped) { - if (this.options.highlight) { - var out = this.options.highlight(code, lang); - if (out != null && out !== code) { - escaped = true; - code = out; - } - } - - if (!lang) { - return '
'
-        + (escaped ? code : escape(code, true))
-        + '\n
'; - } - - return '
'
-      + (escaped ? code : escape(code, true))
-      + '\n
\n'; - }; - - Renderer.prototype.blockquote = function (quote) { - return '
\n' + quote + '
\n'; - }; - - Renderer.prototype.html = function (html) { - return html; - }; - - Renderer.prototype.heading = function (text, level, raw) { - return '' - + text - + '\n'; - }; - - Renderer.prototype.hr = function () { - return this.options.xhtml ? '
\n' : '
\n'; - }; - - Renderer.prototype.list = function (body, ordered) { - var type = ordered ? 'ol' : 'ul'; - return '<' + type + '>\n' + body + '\n'; - }; - - Renderer.prototype.listitem = function (text) { - return '
  • ' + text + '
  • \n'; - }; - - Renderer.prototype.paragraph = function (text) { - return '

    ' + text + '

    \n'; - }; - - Renderer.prototype.table = function (header, body) { - return '\n' - + '\n' - + header - + '\n' - + '\n' - + body - + '\n' - + '
    \n'; - }; - - Renderer.prototype.tablerow = function (content) { - return '\n' + content + '\n'; - }; - - Renderer.prototype.tablecell = function (content, flags) { - var type = flags.header ? 'th' : 'td'; - var tag = flags.align - ? '<' + type + ' style="text-align:' + flags.align + '">' - : '<' + type + '>'; - return tag + content + '\n'; - }; - - // span level renderer - Renderer.prototype.strong = function (text) { - return '' + text + ''; - }; - - Renderer.prototype.em = function (text) { - return '' + text + ''; - }; - - Renderer.prototype.codespan = function (text) { - return '' + text + ''; - }; - - Renderer.prototype.br = function () { - return this.options.xhtml ? '
    ' : '
    '; - }; - - Renderer.prototype.del = function (text) { - return '' + text + ''; - }; - - Renderer.prototype.link = function (href, title, text) { - if (this.options.sanitize) { - try { - var prot = decodeURIComponent(unescape(href)) - .replace(/[^\w:]/g, '') - .toLowerCase(); - } catch (e) { - return text; - } - if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) { - return text; - } - } - if (this.options.baseUrl && !originIndependentUrl.test(href)) { - href = resolveUrl(this.options.baseUrl, href); - } - var out = '
    '; - return out; - }; - - Renderer.prototype.image = function (href, title, text) { - if (this.options.baseUrl && !originIndependentUrl.test(href)) { - href = resolveUrl(this.options.baseUrl, href); - } - var out = '' + text + '' : '>'; - return out; - }; - - Renderer.prototype.text = function (text) { - return text; - }; - - /** - * Parsing & Compiling - */ - - function Parser(options) { - this.tokens = []; - this.token = null; - this.options = options || marked.defaults; - this.options.renderer = this.options.renderer || new Renderer; - this.renderer = this.options.renderer; - this.renderer.options = this.options; - } - - /** - * Static Parse Method - */ - - Parser.parse = function (src, options, renderer) { - var parser = new Parser(options, renderer); - return parser.parse(src); - }; - - /** - * Parse Loop - */ - - Parser.prototype.parse = function (src) { - this.inline = new InlineLexer(src.links, this.options, this.renderer); - this.tokens = src.reverse(); - - var out = ''; - while (this.next()) { - out += this.tok(); - } - - return out; - }; - - /** - * Next Token - */ - - Parser.prototype.next = function () { - return this.token = this.tokens.pop(); - }; - - /** - * Preview Next Token - */ - - Parser.prototype.peek = function () { - return this.tokens[this.tokens.length - 1] || 0; - }; - - /** - * Parse Text Tokens - */ - - Parser.prototype.parseText = function () { - var body = this.token.text; - - while (this.peek().type === 'text') { - body += '\n' + this.next().text; - } - - return this.inline.output(body); - }; - - /** - * Parse Current Token - */ - - Parser.prototype.tok = function () { - switch (this.token.type) { - case 'space': { - return ''; - } - case 'hr': { - return this.renderer.hr(); - } - case 'heading': { - return this.renderer.heading( - this.inline.output(this.token.text), - this.token.depth, - this.token.text); - } - case 'code': { - return this.renderer.code(this.token.text, - this.token.lang, - this.token.escaped); - } - case 'table': { - var header = '' - , body = '' - , i - , row - , cell - , flags - , j; - - // header - cell = ''; - for (i = 0; i < this.token.header.length; i++) { - flags = { header: true, align: this.token.align[i] }; - cell += this.renderer.tablecell( - this.inline.output(this.token.header[i]), - { header: true, align: this.token.align[i] } - ); - } - header += this.renderer.tablerow(cell); - - for (i = 0; i < this.token.cells.length; i++) { - row = this.token.cells[i]; - - cell = ''; - for (j = 0; j < row.length; j++) { - cell += this.renderer.tablecell( - this.inline.output(row[j]), - { header: false, align: this.token.align[j] } - ); - } - - body += this.renderer.tablerow(cell); - } - return this.renderer.table(header, body); - } - case 'blockquote_start': { - var body = ''; - - while (this.next().type !== 'blockquote_end') { - body += this.tok(); - } - - return this.renderer.blockquote(body); - } - case 'list_start': { - var body = '' - , ordered = this.token.ordered; - - while (this.next().type !== 'list_end') { - body += this.tok(); - } - - return this.renderer.list(body, ordered); - } - case 'list_item_start': { - var body = ''; - - while (this.next().type !== 'list_item_end') { - body += this.token.type === 'text' - ? this.parseText() - : this.tok(); - } - - return this.renderer.listitem(body); - } - case 'loose_item_start': { - var body = ''; - - while (this.next().type !== 'list_item_end') { - body += this.tok(); - } - - return this.renderer.listitem(body); - } - case 'html': { - var html = !this.token.pre && !this.options.pedantic - ? this.inline.output(this.token.text) - : this.token.text; - return this.renderer.html(html); - } - case 'paragraph': { - return this.renderer.paragraph(this.inline.output(this.token.text)); - } - case 'text': { - return this.renderer.paragraph(this.parseText()); - } - } - }; - - /** - * Helpers - */ - - function escape(html, encode) { - return html - .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&') - .replace(//g, '>') - .replace(/"/g, '"') - .replace(/'/g, '''); - } - - function unescape(html) { - // explicitly match decimal, hex, and named HTML entities - return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, function (_, n) { - n = n.toLowerCase(); - if (n === 'colon') return ':'; - if (n.charAt(0) === '#') { - return n.charAt(1) === 'x' - ? String.fromCharCode(parseInt(n.substring(2), 16)) - : String.fromCharCode(+n.substring(1)); - } - return ''; - }); - } - - function replace(regex, opt) { - regex = regex.source; - opt = opt || ''; - return function self(name, val) { - if (!name) return new RegExp(regex, opt); - val = val.source || val; - val = val.replace(/(^|[^\[])\^/g, '$1'); - regex = regex.replace(name, val); - return self; - }; - } - - function resolveUrl(base, href) { - if (!baseUrls[' ' + base]) { - // we can ignore everything in base after the last slash of its path component, - // but we might need to add _that_ - // https://tools.ietf.org/html/rfc3986#section-3 - if (/^[^:]+:\/*[^/]*$/.test(base)) { - baseUrls[' ' + base] = base + '/'; - } else { - baseUrls[' ' + base] = base.replace(/[^/]*$/, ''); - } - } - base = baseUrls[' ' + base]; - - if (href.slice(0, 2) === '//') { - return base.replace(/:[\s\S]*/, ':') + href; - } else if (href.charAt(0) === '/') { - return base.replace(/(:\/*[^/]*)[\s\S]*/, '$1') + href; - } else { - return base + href; - } - } - var baseUrls = {}; - var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i; - - function noop() { } - noop.exec = noop; - - function merge(obj) { - var i = 1 - , target - , key; - - for (; i < arguments.length; i++) { - target = arguments[i]; - for (key in target) { - if (Object.prototype.hasOwnProperty.call(target, key)) { - obj[key] = target[key]; - } - } - } - - return obj; - } - - - /** - * Marked - */ - - function marked(src, opt, callback) { - if (callback || typeof opt === 'function') { - if (!callback) { - callback = opt; - opt = null; - } - - opt = merge({}, marked.defaults, opt || {}); - - var highlight = opt.highlight - , tokens - , pending - , i = 0; - - try { - tokens = Lexer.lex(src, opt) - } catch (e) { - return callback(e); - } - - pending = tokens.length; - - var done = function (err) { - if (err) { - opt.highlight = highlight; - return callback(err); - } - - var out; - - try { - out = Parser.parse(tokens, opt); - } catch (e) { - err = e; - } - - opt.highlight = highlight; - - return err - ? callback(err) - : callback(null, out); - }; - - if (!highlight || highlight.length < 3) { - return done(); - } - - delete opt.highlight; - - if (!pending) return done(); - - for (; i < tokens.length; i++) { - (function (token) { - if (token.type !== 'code') { - return --pending || done(); - } - return highlight(token.text, token.lang, function (err, code) { - if (err) return done(err); - if (code == null || code === token.text) { - return --pending || done(); - } - token.text = code; - token.escaped = true; - --pending || done(); - }); - })(tokens[i]); - } - - return; - } - try { - if (opt) opt = merge({}, marked.defaults, opt); - return Parser.parse(Lexer.lex(src, opt), opt); - } catch (e) { - e.message += '\nPlease report this to https://github.com/chjj/marked.'; - if ((opt || marked.defaults).silent) { - return '

    An error occurred:

    '
    -          + escape(e.message + '', true)
    -          + '
    '; - } - throw e; - } - } - - /** - * Options - */ - - marked.options = - marked.setOptions = function (opt) { - merge(marked.defaults, opt); - return marked; - }; - - marked.defaults = { - gfm: true, - tables: true, - breaks: false, - pedantic: false, - sanitize: false, - sanitizer: null, - mangle: true, - smartLists: false, - silent: false, - highlight: null, - langPrefix: 'lang-', - smartypants: false, - headerPrefix: '', - renderer: new Renderer, - xhtml: false, - baseUrl: null - }; - - /** - * Expose - */ - - marked.Parser = Parser; - marked.parser = Parser.parse; - - marked.Renderer = Renderer; - - marked.Lexer = Lexer; - marked.lexer = Lexer.lex; - - marked.InlineLexer = InlineLexer; - marked.inlineLexer = InlineLexer.output; - - marked.parse = marked; - - if (typeof module !== 'undefined' && typeof exports === 'object') { - module.exports = marked; - } else if (typeof define === 'function' && define.amd) { - define(function () { return marked; }); - } else { - this.marked = marked; - } - -}).call(function () { - return this || (typeof window !== 'undefined' ? window : global); -}()); \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/help/pom.xml deleted file mode 100644 index 91fc77bb..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/help/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - 4.0.0 - - mwtn - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - .. - - pom - com.highstreet.technologies.odl.dlux - help - 0.5.1-SNAPSHOT - ${prefix} ${project.artifactId} - - - 3.0 - - - - help-module - help-bundle - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/pom.xml deleted file mode 100644 index 7499a987..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/pom.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - 4.0.0 - - mwtnBrowser - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - mwtnBrowser-bundle - ${prefix} ${project.artifactId} - bundle - - - org.osgi - org.osgi.core - ${osgi.core.version} - - - org.osgi - org.osgi.compendium - ${osgi.core.version} - - - org.apache.felix - org.osgi.compendium - ${apache.felix.compendium} - - - org.opendaylight.dlux - loader - ${dlux.loader.version} - - - com.highstreet.technologies.odl.dlux - mwtnBrowser-module - 0.5.1-SNAPSHOT - - - - - - target/generated-resources - - - src/main/resources - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.6 - - - - unpack-loader-resources - - unpack-dependencies - - generate-resources - - ${project.build.directory}/generated-resources - com.highstreet.technologies.odl.dlux - mwtnBrowser-module - META-INF\/** - true - false - - - - - - org.apache.felix - maven-bundle-plugin - true - - - org.osgi.service.http, - org.osgi.framework;version="1.0.0", - org.opendaylight.dlux.loader - - - - - - - - diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml deleted file mode 100644 index 383b124b..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - src/app/mwtnBrowser/mwtnBrowser-custom.css - - - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/pom.xml deleted file mode 100644 index 7c33ed89..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - 4.0.0 - mwtnBrowser-module - ${prefix} ${project.artifactId} - jar - - mwtnBrowser - com.highstreet.technologies.odl.dlux - 0.5.1-SNAPSHOT - - \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnBrowser.png b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnBrowser.png deleted file mode 100755 index ae596db7..00000000 Binary files a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnBrowser.png and /dev/null differ diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnConfig.png b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnConfig.png deleted file mode 100755 index ae596db7..00000000 Binary files a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/images/mwtnConfig.png and /dev/null differ diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser-custom.css b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser-custom.css deleted file mode 100644 index 15c398c1..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser-custom.css +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Add your application related css here - */ - -.json-formatter-row .constructor-name { - cursor: pointer; - color: #333333; -} - -.json-formatter-row .toggler:after { - color: darkgreen; - font-weight: bold; - display: inline-block; - transition: transform .1s ease-in; - content: ">" -} - -.owl span.key-text { - color: #333333; -} - -.owl span.colon { - color: #333333; -} \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.controller.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.controller.js deleted file mode 100644 index 76d3148d..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.controller.js +++ /dev/null @@ -1,1090 +0,0 @@ -/* - * @copyright 2017 highstreet technologies GmbH and others. All rights reserved. - * - * @license - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['app/mwtnBrowser/mwtnBrowser.module', - 'app/mwtnBrowser/mwtnBrowser.services'], - function(mwtnBrowserApp) { - - var getControlType = function(type) { - var result = 'text' - switch (type) { - case 'boolean': - result = 'checkbox'; - break; - case 'number': - result = 'number'; - break; - case 'string': - case 'array': - case 'object': - break; - default: - var message = 'Check control type for ' + type; - $mwtnLog.warning({ component: COMPONENT, message: message }); - } - return result; - }; - - mwtnBrowserApp.register.controller('ptpDefaultDsViewController', ['$scope', '$uibModalInstance', '$mwtnGlobal', '$mwtnCommons', '$mwtnDatabase', '$mwtnLog', 'defaultDs', - function ($scope, $uibModalInstance, $mwtnGlobal, $mwtnCommons, $mwtnDatabase, $mwtnLog, defaultDs) { - - var vm = this; - var COMPONENT = 'ptpDefaultDsViewController'; - $scope.data = defaultDs; - - $scope.getType = $mwtnGlobal.getType; - - - $mwtnCommons.getPtpDefaultDs(defaultDs).then(function (success) { - - $scope.configuredData = success; - $scope.viewData = $mwtnGlobal.getViewData($scope.configuredData['default-ds']); - - $mwtnDatabase.getSchema().then(function(schema){ - var ordered = {}; - var clone = JSON.parse(JSON.stringify($scope.viewData)); - var keys = Object.keys(clone).map(function(key){ - if ($mwtnGlobal.getType(key) !== 'string') { - console.log('key', key); - return; - } - var item = clone[key]; - if (!schema[key]) { - var message = 'No schema information for ' + key; - $mwtnLog.warning({ component: COMPONENT, message: message }); - item['order-number'] = $mwtnCommons.getOrderNumber(97, item); - item.description = 'No description available.'; - item.visible = true; - return key; - } - if (schema[key].controlType === undefined) { - item.controlType = getControlType(item.type); - } else { - item.controlType = schema[key].controlType; - } - item.unit = schema[key].unit; - item['is-read-only'] = schema[key]['is-read-only']; - if (schema[key].min) { - item.min = schema[key].min; - } - if (schema[key].max) { - item.max = schema[key].max; - if (item.unit) { - item.unit = schema[key].min + '..' + schema[key].max + ' ' + item.unit; - } else { - item.unit = schema[key].min + '..' + schema[key].max; - } - } - - - item['order-number'] = $mwtnCommons.getOrderNumber(schema[key]['order-number'], item); - item.description = schema[key].description; - if (item.description === undefined || item.description === '') { - item.description = 'No description available.'; - } - // hide complex types for now -> TODO - if (item.type === 'array' || item.type === 'object') { - item.visible = false; - } - return key; - }).sort(function(a,b){ - if (clone[a]['order-number'] < clone[b]['order-number']) return -1; - if (clone[a]['order-number'] > clone[b]['order-number']) return 1; - return 0; - }).map(function(key){ - ordered[key] = clone[key]; - }); - $scope.viewData = ordered; - }, function(error){ - $scope.empty = true; - }); - - }, function (error) { - $scope.configuredData = undefined; - $mwtnLog.error({ component: COMPONENT, message: 'Requesting PTP default ds ' + JSON.stringify($scope.data) + ' failed!' }); - }); - - $scope.$watch('viewData', function(newValue, oldValue) { - if (oldValue && newValue !== oldValue) { - Object.keys(newValue).filter(function(key){ - return newValue[key]['is-read-only'] !== true && newValue[key].controlType === 'number' ; - }).map(function(key){ - if (newValue[key].value < newValue[key].min) newValue[key].value = newValue[key].min; - if (newValue[key].value > newValue[key].max) newValue[key].value = newValue[key].max; - if (!newValue[key].value) newValue[key].value = newValue[key].min; - }); - } - }, true); - - $scope.newData = {}; - $scope.ok = function () { - $scope.processing = true; - $scope.newData = {}; - Object.keys($scope.viewData).map(function(key){ - $scope.newData[key] = $scope.viewData[key].value; - }); - - $mwtnCommons.setPtpDefaultDs($scope.data, $scope.newData).then(function(success){ - $scope.applied = {text: 'Applied: ' + new Date().toISOString(), class:'mwtnSuccess'}; - $scope.processing = false; - }, function(error){ - $scope.applied = {text: 'Error: ' + new Date().toISOString(), class:'mwtnError'}; - $scope.processing = false; - $mwtnLog.error({component: COMPONENT, message: JSON.stringify(error)}); - }); - - }; - - $scope.cancel = function () { - $uibModalInstance.close($scope.newData); - }; - - // events - - - }]); - - mwtnBrowserApp.register.controller('ptpPortConfigViewController', ['$scope', '$uibModalInstance', '$mwtnGlobal', '$mwtnCommons', '$mwtnDatabase', '$mwtnLog', 'valueData', - function ($scope, $uibModalInstance, $mwtnGlobal, $mwtnCommons, $mwtnDatabase, $mwtnLog, data) { - - var vm = this; - var COMPONENT = 'ptpPortConfigViewController'; - - $scope.data = data; - - $scope.getType = $mwtnGlobal.getType; - console.warn(JSON.stringify(data)); - $mwtnCommons.getPtpPort(data).then(function (success) { - - $scope.configuredData = success; - - $scope.viewData = $mwtnGlobal.getViewData($scope.configuredData['port-ds-list'][0]); - $mwtnDatabase.getSchema().then(function(schema){ - var ordered = {}; - var clone = JSON.parse(JSON.stringify($scope.viewData)); - var keys = Object.keys(clone).map(function(key){ - if ($mwtnGlobal.getType(key) !== 'string') { - console.log('key', key); - return; - } - var item = clone[key]; - if (!schema[key]) { - var message = 'No schema information for ' + key; - $mwtnLog.warning({ component: COMPONENT, message: message }); - item['order-number'] = $mwtnCommons.getOrderNumber(97, item); - item.description = 'No description available.'; - item.visible = true; - return key; - } - if (schema[key].controlType === undefined) { - item.controlType = getControlType(item.type); - } else { - item.controlType = schema[key].controlType; - } - item.unit = schema[key].unit; - console.warn(key, schema[key]['is-read-only']); - item['is-read-only'] = schema[key]['is-read-only']; - if (schema[key].min) { - item.min = schema[key].min; - } - if (schema[key].max) { - item.max = schema[key].max; - if (item.unit) { - item.unit = schema[key].min + '..' + schema[key].max + ' ' + item.unit; - } else { - item.unit = schema[key].min + '..' + schema[key].max; - } - } - - - item['order-number'] = $mwtnCommons.getOrderNumber(schema[key]['order-number'], item); - item.description = schema[key].description; - if (item.description === undefined || item.description === '') { - item.description = 'No description available.'; - } - // hide complex types for now -> TODO - if (item.type === 'array' || item.type === 'object') { - item.visible = false; - } - return key; - }).sort(function(a,b){ - if (clone[a]['order-number'] < clone[b]['order-number']) return -1; - if (clone[a]['order-number'] > clone[b]['order-number']) return 1; - return 0; - }).map(function(key){ - ordered[key] = clone[key]; - }); - $scope.viewData = ordered; - }, function(error){ - $scope.empty = true; - }); - - }, function (error) { - $scope.configuredData = undefined; - $mwtnLog.error({ component: COMPONENT, message: 'Requesting PTP port ' + JSON.stringify($scope.data) + ' failed!' }); - }); - - $scope.$watch('viewData', function(newValue, oldValue) { - if (oldValue && newValue !== oldValue) { - Object.keys(newValue).filter(function(key){ - return newValue[key]['is-read-only'] !== true && newValue[key].controlType === 'number' ; - }).map(function(key){ - if (newValue[key].value < newValue[key].min) newValue[key].value = newValue[key].min; - if (newValue[key].value > newValue[key].max) newValue[key].value = newValue[key].max; - if (!newValue[key].value) newValue[key].value = newValue[key].min; - }); - } - }, true); - - $scope.newData = {}; - $scope.ok = function () { - $scope.processing = true; - $scope.newData = {}; - Object.keys($scope.viewData).map(function(key){ - $scope.newData[key] = $scope.viewData[key].value; - }); - - $mwtnCommons.setPtpPort($scope.data, $scope.newData).then(function(success){ - $scope.applied = {text: 'Applied: ' + new Date().toISOString(), class:'mwtnSuccess'}; - $scope.processing = false; - }, function(error){ - $scope.applied = {text: 'Error: ' + new Date().toISOString(), class:'mwtnError'}; - $scope.processing = false; - $mwtnLog.error({component: COMPONENT, message: JSON.stringify(error)}); - }); - - }; - - $scope.cancel = function () { - $uibModalInstance.close($scope.newData); - }; - - // events - - - }]); - - mwtnBrowserApp.register.controller('mwtnPtpPortsController', ['$scope', '$filter', '$uibModal', '$mwtnGlobal', '$mwtnCommons', '$mwtnLog', - function ($scope, $filter, $uibModal, $mwtnGlobal, $mwtnCommons, $mwtnLog) { - var vm = this; - var COMPONENT = 'mwtnPtpPortsController'; - - $scope.info = false; - var data = JSON.parse(JSON.stringify($scope.data)); - if (!data) { - var message = 'No data to be displayed!";' - $mwtnLog.info({ component: COMPONENT, message: message }); - data = [{'message':message}]; - } - - if ($mwtnGlobal.getType(data) !== 'array') { - var message = 'Data must be of type "array"!'; - $mwtnLog.info({ component: COMPONENT, message: message }); - data = [{'message':message}]; - } - - if (data.length === 0) { - var message = 'Data list must have at least one entry!'; - $mwtnLog.info({ component: COMPONENT, message: message }); - data = [{'message':message}]; - } - - if ($mwtnGlobal.getType(data[0]) !== 'object') { - data = data.map(function(item){ - return {value: item}; - }); - } - - $scope.ptpPorts = []; - - $scope.gridOptions = JSON.parse(JSON.stringify($mwtnCommons.gridOptions)); - $scope.gridOptions.data = 'ptpPorts'; - $scope.highlightFilteredHeader = $mwtnCommons.highlightFilteredHeader; - - // $scope.getTableHeight = function() { - // var rowHeight = 30; - // var headerHeight = 40; - // var maxCount = 12; - // var rowCount = $scope.gridOptions.data.length + 2; - // if (rowCount > maxCount) { - // return { - // height: (maxCount * rowHeight + headerHeight) + 'px' - // }; - // } - // return {}; // use auto-resize feature - // }; - - var getCellTemplate = function(field) { - var object = ['transmission-mode-list', 'performance-data']; - if (object.contains(field)) { - return ['
    ', - ' ', - '{{grid.getCellValue(row, col)}}
    '].join(''); - } else if (field === 'action') { - return [ - '
    ', - ' ', - '' ].join(' '); - } else { - return '
    {{grid.getCellValue(row, col)}}
    '; - } - }; - - $scope.show = function(value){ - var type = $mwtnGlobal.getType(value); - // if (type === 'object') - var modalInstance = $uibModal.open({ - animation: true, - ariaLabelledBy: 'modal-title', - ariaDescribedBy: 'modal-body', - templateUrl: 'src/app/mwtnBrowser/templates/ptpPortConfigView.tpl.html', - controller: 'ptpPortConfigViewController', - size: 'huge', - resolve: { - valueData: function () { - return {networkElement: $scope.networkElement, value:value}; - } - } - }); - modalInstance.result.then(function(object) { - console.warn(JSON.stringify(object)); - $scope.ptpPorts.map(function(row, index){ - if (row['port-number'] === object['port-number']) { - console.log($scope.ptpPorts[index]['onf-ptp-dataset:master-only']); - $scope.ptpPorts[index] = object; - console.log($scope.ptpPorts[index]['onf-ptp-dataset:master-only']); - }; - }); - }, function () { - // ignore; - }); - }; - - var enable = data.length > 10; - $scope.gridOptions.columnDefs = Object.keys(data[0]).map(function (field) { - var type = $mwtnGlobal.getType(data[0][field]); - var labelId = $mwtnGlobal.getLabelId(field); - var displayName = $filter('translate')(labelId); - var visible = $mwtnGlobal.getVisibilityOf(field); - if (labelId.contains('$$') || labelId === 'MWTN_SPEC') { - visible = false; - } - return { - field: field, - type: type, - displayName: displayName, - enableSorting: true, - enableFiltering: enable, - headerCellClass: $scope.highlightFilteredHeader, - cellTemplate: getCellTemplate(field), - cellClass: type, - visible: visible - }; - }); - $scope.gridOptions.columnDefs.push({ - field: 'action', - displayName: 'Action', - enableSorting: false, - enableFiltering: false, - headerCellClass: $scope.highlightFilteredHeader, - cellTemplate: getCellTemplate('action'), - width: 100, - visible: true, - pinnedRight : true - - }); - if ($scope.gridOptions.data.length < 10) { - $scope.gridOptions.minRowsToShow = data.length; // 10 is default - } - $scope.ptpPorts = data.map(function(item){ - item.action = ''; - return item; - }); - // .sort(function(a, b){ - // if (a.type === 'object') return -1; - // if (a.type === 'array' ) return -2; - // return 0; - // }) - - $scope.myClipboard = { - data: $scope.data, - supported: true, - getJson: function () { - return JSON.stringify(this.data, null, ' '); - }, - copyToClipboard: function () { - var message = 'Copied to clipboard! ' + this.getJson(); - $mwtnLog.info({ component: COMPONENT, message: message }); - }, - error: function (err) { - $mwtnLog.error({ component: COMPONENT, message: err }); - } - }; - }]); - - mwtnBrowserApp.register.directive('mwtnPtpPorts', function () { - return { - restrict: 'E', - scope: { - data: '=', - path: '=', - networkElement: '=' - }, - controller: 'mwtnPtpPortsController', - controllerAs: 'vm', - templateUrl: 'src/app/mwtnBrowser/templates/mwtnPtpPorts.tpl.html' - }; - }); - - mwtnBrowserApp.register.controller('mwtnPtpClockViewerController', ['$scope', '$timeout', '$uibModal', '$mwtnGlobal', '$mwtnCommons', '$mwtnDatabase', '$mwtnLog', '$mwtnBrowser', - function ($scope, $timeout, $uibModal, $mwtnGlobal, $mwtnCommons, $mwtnDatabase, $mwtnLog, $mwtnBrowser) { - var vm = this; - var COMPONENT = 'mwtnPtpClockViewerController'; - if ($scope.data) { - $scope.replace = false; - if ($scope.path && $scope.path.endsWith('-configuration') ) { - $scope.replace = true; - } - $scope.viewData = $mwtnGlobal.getViewData($scope.data, $scope.ne); - var path = [undefined, undefined, undefined]; - if ($scope.path) { - path = $scope.path.split($mwtnCommons.separator); - } - - var processData = function(schema) { - var ordered = {}; - var clone = JSON.parse(JSON.stringify($scope.viewData)); - var keys = Object.keys(clone).map(function(key){ - if ($mwtnGlobal.getType(key) !== 'string') { - console.log('key', key); - return; - } - var item = clone[key]; - if (!schema[key]) { - var message = 'No schema information for ' + key; - $mwtnLog.warning({ component: COMPONENT, message: message }); - item['order-number'] = $mwtnCommons.getOrderNumber(97, item); - item.description = 'No description available.'; - item.visible = true; - return key; - } - item.unit = schema[key].unit; - item.description = schema[key].description; - item['order-number'] = $mwtnCommons.getOrderNumber(schema[key]['order-number'], item); - if (item.description === undefined || item.description === '') { - item.description = 'No description available.'; - } - return key; - }).sort(function(a,b){ - if (clone[a]['order-number'] < clone[b]['order-number']) return -1; - if (clone[a]['order-number'] > clone[b]['order-number']) return 1; - return 0; - }).map(function(key){ - if ($mwtnGlobal.getType( clone[key].value ) === 'object') { - Object.keys(clone[key].value).filter(function(subKey){ - return subKey.endsWith('-identity'); - }).map(function(subKey){ - var clockId = clone[key].value[subKey]; - if ($mwtnGlobal.getType(clockId) === 'object') { - if (clockId['clock-identity']) { - var ascii = clockId['clock-identity'].base64ToHex(); - clone[key].value[subKey]['clock-identity'] = [clone[key].value[subKey]['clock-identity'], '(ascii:', ascii, ')'].join(' '); - } - } else { - var ascii = clone[key].value[subKey].base64ToHex(); - clone[key].value[subKey] = [clone[key].value[subKey], '(ascii:', ascii, ')'].join(' '); - } - }); - ordered[key] = clone[key]; - } else { - ordered[key] = clone[key]; - } - }); - $scope.info = false; - if (Object.keys(ordered).length === 0) { - $scope.info = 'An empty object is displayed. Please check if the NetConf server has send an empty object.'; - } - return ordered; - }; - - - $mwtnDatabase.getSchema().then(function(schema){ - $scope.schema = schema; - $scope.viewData = processData($scope.schema); - }, function(error){ - // ignore; - }); - } - - $scope.show = function(value){ - var type = $mwtnGlobal.getType(value); - var modalInstance = $uibModal.open({ - animation: true, - ariaLabelledBy: 'modal-title', - ariaDescribedBy: 'modal-body', - templateUrl: 'src/app/mwtnBrowser/templates/ptpDefaultDsConfigView.tpl.html', - controller: 'ptpDefaultDsViewController', - size: 'huge', - resolve: { - defaultDs: function () { - return {networkElement: $scope.networkElement, value:value}; - } - } - }); - modalInstance.result.then(function(object) { - $mwtnBrowser.refreshPTP(); - }, function () { - // ignore; - }); - }; - }]); - - mwtnBrowserApp.register.directive('mwtnPtpClockViewer', function () { - return { - restrict: 'E', - scope: { - data: '=', - path: '=', - ne: '=', // flag if ne class - networkElement: '=' - }, - controller: 'mwtnPtpClockViewerController', - controllerAs: 'vm', - templateUrl: 'src/app/mwtnBrowser/templates/mwtnPtpClockViewer.tpl.html' - }; - }); - - - mwtnBrowserApp.register.controller('mwtnBrowserCtrl', ['$scope', '$rootScope', '$mwtnLog', '$mwtnCommons', '$mwtnEthernet', '$mwtnBrowser', '$translate', 'OnfNetworkElement', 'PtpClock', 'LogicalTerminationPoint', - function($scope, $rootScope, $mwtnLog, $mwtnCommons, $mwtnEthernet, $mwtnBrowser, $translate, OnfNetworkElement, PtpClock, LogicalTerminationPoint) { - - var COMPONENT = 'mwtnBrowserCtrl'; - $mwtnLog.info({component: COMPONENT, message: 'mwtnBrowserCtrl started!'}); - $rootScope.section_logo = 'src/app/mwtnBrowser/images/mwtnBrowser.png'; // Add your topbar logo location here such as 'assets/images/logo_topology.gif' - - var pacTemplate = { - 'layer-protocol': 'unknown' - }; - - $scope.fcDeletion = { - nodeId: $scope.networkElementId, - ltp:'', - info: 'handle with care, no further warning, qualified user expected ;)' - }; - $scope.deleteForwardingConstruct = function() { - $scope.fcDeletion.nodeId = $scope.networkElementId; - $scope.fcDeletion.info = 'Processing ...'; - $scope.fcDeletion.error = undefined; - if ($scope.fcDeletion.ltp === undefined || $scope.fcDeletion.ltp === '') { - $scope.fcDeletion.error = 'Please select a valid LTP#1.!'; - return; - } - $mwtnEthernet.deleteForwardingConstruct($scope.fcDeletion).then(function(success){ - console.log(success); - $scope.fcDeletion.info = success; - }, function(error){ - console.log(error); - $scope.fcDeletion.error = error; - }); - } - - $scope.fcCreation = { - nodeId: $scope.networkElementId, - ltp1:'', - ltp2:'', - vlan:42, - info:'handle with care, no further warning, qualified user expected ;)' - }; - $scope.createForwardingConstruct = function() { - console.warn(JSON.stringify($scope.networkElementId)); - console.warn(JSON.stringify($scope.networkElement)); - $scope.fcCreation.nodeId = $scope.networkElementId; - $scope.fcCreation.info = 'Processing ...'; - $scope.fcCreation.error = undefined; - if ($scope.fcCreation.ltp1 === undefined || $scope.fcCreation.ltp1 === '') { - $scope.fcCreation.error = 'Please select a valid LTP#1!'; - return; - } - if ($scope.fcCreation.ltp2 === undefined || $scope.fcCreation.ltp2 === '') { - $scope.fcCreation.error = 'Please select a valid LTP#2!'; - return; - } - if ($scope.fcCreation.vlan === undefined) { - $scope.fcCreation.error = 'Please select a valid vlan-id!'; - return; - } - if ($scope.fcCreation.ltp1 === $scope.fcCreation.ltp2) { - $scope.fcCreation.error = 'Please select different LTPs. Loopback is not supported yet!'; - return; - } - $mwtnEthernet.createForwardingConstruct($scope.fcCreation).then(function(success){ - console.log(success); - $scope.fcCreation.info = success; - }, function(error){ - console.log(error); - $scope.fcCreation.error = error; - }); - } - - // get important infromation from yang modules - console.error('help'); - $mwtnBrowser.getModules().then(function(success){ - - var pacOrder = [ - 'onf-otn-odu-conditional-packages:otn-odu-termination-pac', - 'onf-otn-odu-conditional-packages:otn-odu-connection-pac', - 'onf-ethernet-conditional-packages:ethernet-pac', - 'microwave-model:mw-air-interface-diversity-pac', - 'microwave-model:mw-air-interface-hsb-end-point-pac', - 'microwave-model:mw-air-interface-hsb-fc-switch-pac', - 'onf-core-model-conditional-packages:holder-pac', - 'onf-core-model-conditional-packages:connector-pac', - 'onf-core-model-conditional-packages:equipment-pac', - 'microwave-model:mw-ethernet-container-pac', - 'MicrowaveModel-ObjectClasses-EthernetContainer:MW_EthernetContainer_Pac', - 'microwave-model:mw-ethernet-container-pac', - 'microwave-model:mw-tdm-container-pac', - 'microwave-model:mw-pure-ethernet-structure-pac', - 'microwave-model:mw-hybrid-mw-structure-pac', - 'MicrowaveModel-ObjectClasses-PureEthernetStructure:MW_PureEthernetStructure_Pac', - 'microwave-model:mw-air-interface-pac', - 'MicrowaveModel-ObjectClasses-AirInterface:MW_AirInterface_Pac' - ]; - - $scope.modules = success; - $scope.orderedPacs = []; - $scope.parts = []; - Object.keys(success).map(function(module){ - Object.keys(success[module]).filter(function(key){ - return key.endsWith('-pac') || key.endsWith('_Pac'); - }).map(function(pacName){ - $scope.orderedPacs.push([module, pacName].join(':')); - // sort - $scope.orderedPacs.sort(function(a, b) { - if (!pacOrder.indexOf(a)) console.warn(a); - if (!pacOrder.indexOf(b)) console.warn(b); - if(pacOrder.indexOf(a) > pacOrder.indexOf(b)) return 1; - if(pacOrder.indexOf(a) < pacOrder.indexOf(b)) return -1; - return 0; - }) - - if (pacName === 'mw-air-interface-pac') { - $scope.parts = Object.keys(success[module][pacName]).filter(function(conditionalPackage){ - return success[module][pacName][conditionalPackage]['local-name']; - }).map(function(conditionalPackage){ - return success[module][pacName][conditionalPackage]['local-name']; - }); - } - }); - }); - }, function(error){ - $scope.modules = undefined; - $scope.orderedPacs = undefined; - $scope.parts = undefined; - }); - - /** - * @function updateNe - * A function, which updates onfNetworkElement by new data. - * @param {*} data New data recieved from OpenDaylight via RestConf - */ - var updateNe = function(data) { - if (!data) return; - // update onfNetworkElement - switch ($scope.mountpoint.onfCoreModelRevision) { - case '2016-03-23': - $scope.onfNetworkElement = JSON.parse(JSON.stringify(data['network-element'][0])); - $scope.onfLtps = data['network-element'][0].ltp; - $scope.onfNetworkElement.ltp = undefined; - break; - case '2016-08-09': - case '2016-08-11': - case '2017-02-17': - case '2017-03-20': - case '2017-10-20': - // console.log(JSON.stringify(data)); - $scope.onfNetworkElement = new OnfNetworkElement(data['network-element']); - var fd = $scope.onfNetworkElement.getForwardingDomain(); - $scope.forwardingDomain = undefined; - $scope.forwardingConstructs = undefined; - if (fd && fd.length > 0) { - $scope.forwardingDomain = fd[0]; // $mwtnBrowser.getViewData(fd[0]); - $scope.forwardingConstructs = []; - if (fd[0].fc) { - fd[0].fc.map(function(id){ - $mwtnBrowser.getForwardingConstruct($scope.networkElement, id).then(function(fc){ - - // TODO make robust - if (fc['forwarding-construct'] && fc['forwarding-construct'][0]) { - var item = fc['forwarding-construct'][0]; - if (item['fc-port'] && - item['fc-port'][0] && item['fc-port'][0].ltp && item['fc-port'][0].ltp[0] && - item['fc-port'][1] && item['fc-port'][1].ltp && item['fc-port'][1].ltp[0]) { - $scope.forwardingConstructs.push( { - uuid: item.uuid, - 'fc-port#1': $scope.onfNetworkElement.getLtp( item['fc-port'][0].ltp[0] ).getLabel(), - 'fc-port#2': $scope.onfNetworkElement.getLtp( item['fc-port'][1].ltp[0] ).getLabel() - }); - } - } - }); - }); - } - } - $scope.onfLtps = $scope.onfNetworkElement.getLogicalTerminationPoints(); - // $scope.onfNetworkElement.ltp = undefined; - break; - default: - $mwtnLog.info({component: COMPONENT, message: ['The ONF CoreModel revision', $scope.mountpoint.onfCoreModelRevision, ' is not supported (yet)!'].join(' ')}); - $scope.onfNetworkElement = {}; - $scope.onfLtps = {}; - } - - var order = $mwtnBrowser.layerProtocolNameOrder; - // update onfLTPs - $scope.onfLtps.sort(function(a, b){ - if(order[a.getLayer()] < order[b.getLayer()]) return -1; - if(order[a.getLayer()] > order[b.getLayer()]) return 1; - if(a.getId() < b.getId()) return -1; - if(a.getId() > b.getId()) return 1; - return 0; - }); - - // calculate conditional packages - $scope.pacs = {}; - $scope.onfLtps.map(function(ltp) { - ltp.getLayerProtocols().map( - /** - * A function processing a layer-protocol object - * @param {LayerProtocol} lp A layer-protocol object - */ - function(lp) { - var template = JSON.parse(JSON.stringify(pacTemplate)); - template['layer-protocol'] = lp.getId(); - var conditionalPackage = lp.getConditionalPackage(true); - // console.log(conditionalPackage); - if (conditionalPackage !== '') { - if ($scope.pacs[conditionalPackage] === undefined) { - // create missing pac array - $scope.pacs[conditionalPackage] = []; - } - $scope.pacs[conditionalPackage].push(template); - console.error(conditionalPackage, JSON.stringify(template)); - } else { - $mwtnLog.info({component: COMPONENT, message: 'No conditional package for ' + ltp.getLabel() }); - } - }); - }); - - // sort the conditional packages - if ($scope.orderedPacs) { - $scope.orderedPacs.filter(function(item){ - return $scope.pacs[item] !== undefined; - }).map(function(item){ - $scope.pacs[item].sort(function(a, b){ - if(a['layer-protocol'] < b['layer-protocol']) return -1; - if(a['layer-protocol'] > b['layer-protocol']) return 1; - return 0; - }); - }); - } - data.revision = undefined; - }; - - var updateNetworkElementCurrentProblems = function(data) { - if (data && data['network-element-current-problems'] && data['network-element-current-problems']['current-problem-list'] ) { - data.revision = undefined; - $scope.neCurrentProblems = data['network-element-current-problems']['current-problem-list']; - } else { - $scope.neCurrentProblems = []; - } - }; - - var updateLtp = function(data) { - $scope.onfLtps.map(function(ltp){ - if (ltp.getData().uuid === data.data.ltp[0].uuid) { - ltp = new LogicalTerminationPoint(data.data.ltp[0]); - } - }); - }; - - /** - * @deprecated since all conditaional packages are handle the same way even for - * 3rd and 4th PoC model - 2nd PoC model not supported any more. - * @param {*} lpId - * @param {*} part - * @param {*} data - */ - var updateAirInterface = function(lpId, part, data) { - // console.log(JSON.stringify(data), lpId); - $scope.airinterfaces.map(function(airinterface){ - // console.log(JSON.stringify(airinterface)); - if (airinterface['layer-protocol'] === lpId) { - if (Object.keys(data)[0].startsWith('air-interface')) { - airinterface[part] = data; - } else if (part === 'Capability') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - airinterface[part] = data['mw-air-interface-pac'][0]['air-interface-capability-list']; - } else if (part === 'CurrentProblems') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - airinterface[part] = data['mw-air-interface-pac'][0]['air-interface-current-problem-list']; - } - } - }); - data.revision = undefined; - }; - - /** - * @deprecated since all conditaional packages are handle the same way even for - * 3rd and 4th PoC model - 2nd PoC model not supported any more. - * @param {*} lpId - * @param {*} part - * @param {*} data - */ - var updateStructure = function(lpId, part, data) { - // console.log(JSON.stringify(data), lpId); - $scope.structures.map(function(structure){ - // console.log(JSON.stringify(structure)); - if (structure['layer-protocol'] === lpId) { - if (Object.keys(data)[0].contains('tructure')) { - structure[part] = data; - } else if (part === 'Capability') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - structure[part] = data['mw-structure-pac'][0]['structure.capability-list']; - } else if (part === 'CurrentProblems') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - structure[part] = data['mw-structure-pac'][0]['structure-current-problem-list']; - } - } - }); - data.revision = undefined; - }; - - /** - * @deprecated since all conditaional packages are handle the same way even for - * 3rd and 4th PoC model - 2nd PoC model not supported any more. - * @param {*} lpId - * @param {*} part - * @param {*} data - */ - var updateContainer = function(lpId, part, data) { - // console.log(JSON.stringify(data), lpId); - $scope.containers.map(function(container){ - // console.log(JSON.stringify(container)); - if (container['layer-protocol'] === lpId) { - if (Object.keys(data)[0].contains('ontainer') ) { - container[part] = data; - } else if (part === 'Capability') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - container[part] = data['mw-container-pac'][0]['container-capability-list']; - } else if (part === 'CurrentProblems') { - // 2. PoC - // console.log(part, JSON.stringify(data)); - container[part] = data['mw-container-pac'][0]['container-current-problem-list']; - } - } - }); - data.revision = undefined; - }; - - /** - * Creates a template of a conditional packages with its subclasses - * @param {{pacId: string, layerProtocolId: string, partId:string}} spec - Specification object of a conditional package subclass - */ - var initPac = function(spec) { - $scope.pacs[spec.pacId].filter(function(conditionalPackage){ - return conditionalPackage['layer-protocol'] === spec.layerProtocolId; - }).map(function(pac){ - $scope.parts.map(function(localName){ - pac[localName] = {id:$mwtnBrowser.getPartGlobalId(spec, localName),localName: localName, data:'No data available'} - }); - }); - }; - - /** - * Updates an existing template of a conditional packages with its subclasses - * @param {{pacId: string, layerProtocolId: string, partId:string}} spec - Specification object of a conditional package subclass - */ - var updateSubClassData = function(spec, data) { - $scope.pacs[spec.pacId].filter(function(conditionalPackage){ - return conditionalPackage['layer-protocol'] === spec.layerProtocolId; - }).map(function(conditionalPackage){ - conditionalPackage[$mwtnBrowser.getPartLocalId(spec)].data = data[$mwtnBrowser.yangify(spec.partId)]; - }); - }; - - var updatePart = function(spec, data) { - switch (spec.pacId) { - case 'ne': - updateNe(data); - break; - case 'forwardingDomain': - // TODO $scope.forwardingDomain = new ForwardingDomain(data); - break; - case 'neCurrentProblems': - updateNetworkElementCurrentProblems(data); - break; - case 'clock': - if (data) { - $scope.clock = new PtpClock(data); - } else { - $scope.clock = undefined; - } - break; - case 'ltp': - updateLtp(data); - break; - case 'airinterface': - console.warn(JSON.stringify(spec, JSON.stringify(data))); - updateAirInterface(spec.layerProtocolId, spec.partId, data); - break; - case 'structure': - console.warn(JSON.stringify(data)); - updateStructure(spec.layerProtocolId, spec.partId, data); - break; - case 'container': - console.warn(JSON.stringify(data)); - updateContainer(spec.layerProtocolId, spec.partId, data); - break; - // 3rd Poc - case 'MicrowaveModel-ObjectClasses-AirInterface:MW_AirInterface_Pac': - case 'MicrowaveModel-ObjectClasses-PureEthernetStructure:MW_PureEthernetStructure_Pac': - case 'MicrowaveModel-ObjectClasses-EthernetContainer:MW_EthernetContainer_Pac': - // 4th Poc - case 'microwave-model:mw-air-interface-pac': - case 'microwave-model:mw-air-interface-diversity-pac': - case 'microwave-model:mw-pure-ethernet-structure-pac': - case 'microwave-model:mw-hybrid-mw-structure-pac': - case 'microwave-model:mw-tdm-container-pac': - case 'microwave-model:mw-ethernet-container-pac': - case 'onf-ethernet-conditional-packages:ethernet-pac': - if (!spec.partId) { - initPac(spec); - } else { - updateSubClassData(spec, data); - } - break; - } - }; - - // events - $scope.status = {ne:false}; - $scope.spinner = {ne:false}; - $scope.separator = $mwtnBrowser.separator; //' ' - - $scope.collapseAll = function() { - // close all groups - Object.keys($scope.status).map(function(group){ - $scope.status[group] = false; - }); - Object.keys($scope.spinner).map(function(group){ - $scope.spinner[group] = false; - }); - }; - - $scope.$watch('status', function(status, oldValue) { - Object.keys(status).filter(function(key){ - return $scope.networkElementId && status[key] && status[key] !== oldValue[key]; - }).map(function(key){ - $scope.spinner[key] = true; - var info = key.split($scope.separator); - var spec = { - nodeId: $scope.networkElementId, - revision: $scope.revision, - pacId: info[0], - layerProtocolId: info[1], - partId: info[2] - }; - $mwtnBrowser.getPacParts(spec).then(function(success){ - success = $mwtnBrowser.yangifyObject(success) - updatePart(spec, success); - $scope.spinner[key] = false; - }, function(error){ - updatePart(spec, error); - $scope.spinner[key] = false; - }); - }); - }, true); - - $scope.$watch('networkElement', function(neId, oldValue) { - if (neId && neId !== '' && neId !== oldValue) { - - $scope.collapseAll(); - - // clear old data - $scope.airinterfaces = []; - $scope.structures = []; - $scope.containers = []; - $scope.onfLtps = []; - $scope.clock = undefined; - - $scope.networkElementId = neId; - $scope.revision = $scope.mountPoints.filter(function(mountpoint){ - return mountpoint['node-id'] === neId; - }).map(function(mountpoint){ - $scope.mountpoint = mountpoint; - return mountpoint.onfCoreModelRevision; - })[0]; - - var spec = { - nodeId: $scope.networkElementId, - revision: $scope.revision, - pacId: 'ne' - }; - $mwtnBrowser.getPacParts(spec).then(function(success){ - updatePart(spec, $mwtnBrowser.yangifyObject(success)); - }, function(error){ - updatePart(spec, error); - }); - - // network element alarms - var neAlarms = $scope.mountPoints.filter(function(mountpoint){ - return mountpoint['node-id'] === neId; - }).map(function(mountpoint){ - return mountpoint.onfCapabilities.filter(function(cap){ - return cap.module === 'MicrowaveModel-NetworkElement-CurrentProblemList' || cap.module === 'onf-core-model-conditional-packages'; - }); - }); - - if (neAlarms.length === 1 && neAlarms[0].length === 1 ) { - $translate('MWTN_LOADING').then(function (translation) { - $scope.neCurrentProblems = translation; - }); - } else { - $scope.neCurrentProblems = undefined; - } - - // ptp-clock - var ptpClock = $scope.mountPoints.filter(function(mountpoint){ - return mountpoint['node-id'] === neId; - }).map(function(mountpoint){ - return mountpoint.onfCapabilities.filter(function(cap){ - return cap.module === 'onf-ptp-dataset'; - }); - }); - if (ptpClock.length === 1 && ptpClock[0].length === 1 ) { - $translate('MWTN_LOADING').then(function (translation) { - $scope.clock = {'translation': translation}; - }); - } else { - $scope.clock = undefined; - } - - } - }); - - }]); - -}); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.module.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.module.js deleted file mode 100644 index d529ca2f..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.module.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2016 highstreet technologies GmbH and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['angularAMD', - 'app/routingConfig', - 'app/core/core.services', - 'common/config/env.module', - 'app/mwtnCommons/mwtnCommons.module', - 'app/mwtnCommons/bower_components/angular-clipboard/angular-clipboard'], function(ng) { - var mwtnBrowserApp = angular.module('app.mwtnBrowser', ['ui.grid', 'ui.bootstrap', 'app.core', 'ui.router.state', 'config', 'angular-clipboard']); - - mwtnBrowserApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) { - mwtnBrowserApp.register = { - controller : $controllerProvider.register, - directive : $compileProvider.directive, - factory : $provide.factory, - service : $provide.service - }; - - NavHelperProvider.addControllerUrl('app/mwtnBrowser/mwtnBrowser.controller'); - NavHelperProvider.addToMenu('mwtnBrowser', { - "link" : "#/pnfBrowser/", - "active" : "main.mwtnBrowser", - "title" : "pnf Config", - "icon" : "fa fa-cogs", // Add navigation icon css class here - "page" : { - "title" : "pnf Config", - "description" : "mwtnBrowser" - } - }); - - var access = routingConfig.accessLevels; - - $stateProvider.state('main.mwtnBrowser', { - url: 'pnfBrowser/:nodeId', - access: access.admin, - views : { - content : { - templateUrl: 'src/app/mwtnBrowser/templates/frame.tpl.html', - controller: 'mwtnBrowserCtrl' - } - } - }); - - }); - - return mwtnBrowserApp; -}); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.services.js b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.services.js deleted file mode 100644 index 7cd9dc07..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/mwtnBrowser.services.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * @copyright 2017 highstreet technologies and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -define(['app/mwtnCommons/mwtnCommons.module', 'app/mwtnBrowser/mwtnBrowser.module'],function(mwtnBrowserApp) { - - mwtnBrowserApp.register.factory('$mwtnBrowser', function($mwtnCommons, $mwtnDatabase, $mwtnLog) { - - var COMPONENT = '$mwtnBrowser'; - $mwtnLog.info({component: COMPONENT, message: '$mwtnBrowser started!'}); - - var service = {}; - - service.separator = $mwtnCommons.separator; - - service.parts = $mwtnCommons.parts; - service.getPacParts = $mwtnCommons.getPacParts; - service.getModules = $mwtnDatabase.getModules; - service.getPartGlobalId = $mwtnCommons.getPartGlobalId; - service.getPartLocalId = $mwtnCommons.getPartLocalId; - service.getViewData = $mwtnCommons.getViewData; - service.getForwardingConstruct = $mwtnCommons.getForwardingConstruct; - service.layerProtocolNameOrder = $mwtnCommons.layerProtocolNameOrder; - service.yangify = $mwtnCommons.yangify; - service.yangifyObject = $mwtnCommons.yangifyObject; - - service.refreshPTP = function() { - console.error('refresh ptp'); - } - return service; - }); - -}); diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/frame.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/frame.tpl.html deleted file mode 100644 index 6d43dbd8..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/frame.tpl.html +++ /dev/null @@ -1,191 +0,0 @@ - - - -
    -
    - -
    -
    - - - {{'MWTN_NETWORKELEMENT' | translate}} '{{onfNetworkElement.getName()}}' - (#{{'MWTN_LTPS' | translate}}: {{onfNetworkElement.getLogicalTerminationPoints().length}}) - - - -
    - - -
    - - - {{'MWTN_CURRENT_PROBLEM_LIST' | translate}} - - - - -
    - -
    - - - {{'MWTN_FORWARDING_DOMAIN' | translate}} - - - - -
    - -
    - - - {{'MWTN_FORWARDING_CONSTRUCTS' | translate}} - - - - - - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    - {{fcCreation.info}} - {{fcCreation.error}} -
    -
    - - -
    -
    -
    - -
    -
    -
    - -
    -
    - {{fcDeletion.info}} - {{fcDeletion.error}} -
    -
    - -
    - -
    - - - {{'MWTN_LTP' | translate}}( - {{ltp.getLayerProtocols()[0].getItuLabel().toUpperCase()}} - ): {{ltp.getName()}} (ID: {{ltp.getId()}}) - - - -
    -
    -
    - -
    - - - {{'MWTN_CLOCK' | translate}} - - - - - -
    - - -
    - - -
    -
    - -
    - -
    -
    - - - {{ ['mwtn', orderedPac].join('-').replaceAll('-', '_').toUpperCase() | translate }} '{{pac['layer-protocol']}}' - - -
    - - - {{ ['mwtn', part].join('-').replaceAll('-', '_').toUpperCase() | translate}} - - - - - - -
    Alarm free ;)
    - - - -
    - - - - - - - - -
    -
    -
    -
    -
    -
    - -
    - -
    -
    - ONAP SDN-R | ONF Wireless for @distversion@ - Build: @buildtime@ -
    diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpClockViewer.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpClockViewer.tpl.html deleted file mode 100644 index 1a6849df..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpClockViewer.tpl.html +++ /dev/null @@ -1,66 +0,0 @@ -
    -
    -
    - - -
    -
    -
    -
    - - - - - - -
    -
    - {{viewData['default-ds'].labelId | translate}} - -
    - -
    -
    - -
    - {{viewData['parent-ds'].labelId | translate}} -
    - -
    -
    - -
    - {{viewData[key].labelId | translate}} -
    - -
    -
    -
    - -
    -
    - {{'MWTN_PORT_DS_LIST' | translate}} -
    - -
    -
    -
    \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpPorts.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpPorts.tpl.html deleted file mode 100644 index 2751ffcb..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/mwtnPtpPorts.tpl.html +++ /dev/null @@ -1,23 +0,0 @@ -
    - -
    -
    - -
    - {{info}} -
    - -
    - -
    -
    - -
    \ No newline at end of file diff --git a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/ptpDefaultDsConfigView.tpl.html b/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/ptpDefaultDsConfigView.tpl.html deleted file mode 100644 index cb0e40c2..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnBrowser/mwtnBrowser-module/src/main/resources/mwtnBrowser/templates/ptpDefaultDsConfigView.tpl.html +++ /dev/null @@ -1,45 +0,0 @@ - -