From 4ee52469687a116bbe0a042726d1a3208d55d02a Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 19 Mar 2019 15:07:49 +0100 Subject: [PATCH] Removal of dead code Cleanup of the Ui javascript code so that it's easier to work with op policies Issue-ID: CLAMP-330 Change-Id: Ia08b0af5ea818f49ac8625a3709b8f2a4cfdcddd Signed-off-by: sebdet --- .../META-INF/resources/designer/index.html | 2 +- .../lib/{jsoneditor.js => jsoneditor.min.js} | 0 .../partials/portfolios/clds_modelling.html | 137 +-------------------- .../designer/scripts/OperationalPolicyCtrl.js | 12 -- 4 files changed, 2 insertions(+), 149 deletions(-) rename src/main/resources/META-INF/resources/designer/lib/{jsoneditor.js => jsoneditor.min.js} (100%) diff --git a/src/main/resources/META-INF/resources/designer/index.html b/src/main/resources/META-INF/resources/designer/index.html index 62672d21..27e16d2b 100644 --- a/src/main/resources/META-INF/resources/designer/index.html +++ b/src/main/resources/META-INF/resources/designer/index.html @@ -94,7 +94,7 @@ - + diff --git a/src/main/resources/META-INF/resources/designer/lib/jsoneditor.js b/src/main/resources/META-INF/resources/designer/lib/jsoneditor.min.js similarity index 100% rename from src/main/resources/META-INF/resources/designer/lib/jsoneditor.js rename to src/main/resources/META-INF/resources/designer/lib/jsoneditor.min.js diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/clds_modelling.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/clds_modelling.html index 2cb937fb..f98fd952 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/clds_modelling.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/clds_modelling.html @@ -311,91 +311,6 @@ width: 14px; -
- - -
-
- - - - Service Name -
-
-
- {{serviceInfo.service.name}}
-
- -
- -
-
- - - - Port Name -
-
-
- {{serviceInfo.service.ports[0].name}}
-
-
- -
-
- - - - Binding Name -
-
-
- {{serviceInfo.bindingInfo.binding.name}}
-
-
- -
-
- - - - Binding Port Type -
-
-
- {{serviceInfo.bindingInfo.portTypeInfo.portType.name}}
-
-
- -
-
- - - - Operation Name -
-
-
- {{serviceInfo.bindingInfo.portTypeInfo.operationInfo[0].operation.name}}
-
-
-
-
@@ -488,26 +403,6 @@ width: 14px;
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
-
-
-
-
- +
@@ -563,22 +444,6 @@ width: 14px;
-
- -
-
- -
-
-
-
-
-
diff --git a/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js b/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js index d1f3e0c4..65577546 100644 --- a/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js +++ b/src/main/resources/META-INF/resources/designer/scripts/OperationalPolicyCtrl.js @@ -33,18 +33,6 @@ app function($scope, $rootScope, $uibModalInstance, data, operationalPolicyService, dialogs) { console.log("//////operationalPolicyCtrl"); - $rootScope.serviceInfo; - $rootScope.serviceInput; - $rootScope.serviceOutput; - $rootScope.serviceFault; - $rootScope.serviceInputPartInfo; - $rootScope.schemElemant1; - $rootScope.updateServiceInfo; - $rootScope.updateServiceInput; - $rootScope.updateServiceOutput; - $rootScope.updateServiceFault; - $rootScope.updateServiceInputPartInfo; - $rootScope.updateSchemElemant1; // Below code is added to get the policyNames var policies = getOperationalPolicyProperty(); for ( var obj in policies) { -- 2.16.6