aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-08-04 10:10:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-04 10:10:42 +0000
commit1ada8b67511f29e7d530073e1a612e568ba99c90 (patch)
tree7b8132d3c57746a69001be2545352719dc258cf1 /vid-app-common/src/main/webapp
parent1ee6b52b2053204601f3c50464f4c5b4b758e811 (diff)
parentcaf54c720010ddb6ef454f7e98ca5b31ee462a31 (diff)
Merge "Resolving some tests in CreatePortMirroringConfigurationTest by merging instantiate.html ecomp+onap"
Diffstat (limited to 'vid-app-common/src/main/webapp')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm38
1 files changed, 19 insertions, 19 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
index ceccb0af9..f80f924b3 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
@@ -20,19 +20,19 @@
<div>
- <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
- ng-cloak>
- <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/deleteResumeDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/statusDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/iframeDialog.htm'"></div>
- </div>
- <div ng-controller="aaiSubscriberController" ng-init="getComponentList() ">
- <div class="statusLine" ng-class="{true:'aaiVisible', false:'aaiHidden'}[isSpinnerVisible]">
- <img src="app/vid/images/spinner.gif"></img>
- <label>Status:</label><span class="status">{{status}}</span>
- </div>
+ <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
+ ng-cloak>
+ <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/deleteResumeDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/statusDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/iframeDialog.htm'"></div>
+ </div>
+ <div ng-controller="aaiSubscriberController" ng-init="getComponentList() ">
+ <div class="statusLine" ng-class="{true:'aaiVisible', false:'aaiHidden'}[isSpinnerVisible]">
+ <img src="app/vid/images/spinner.gif"></img>
+ <label>Status:</label><span class="status">{{status}}</span>
+ </div>
<div class="error-msg" ng-if="errorMsg != null" style="white-space: pre-line"><font color='red'>{{errorMsg}}
<pre>{{errorDetails | json}}</pre>
@@ -394,7 +394,7 @@
<li ng-repeat="vlan in network.vlans" ui-tree-node>
<div ui-tree-handle class="tree-node tree-node-content"
ng-class="'vlansTreeNode'">
- VLAN: {{vlan.vlanIdInner}} | TYPE: VLAN
+ VLAN: {{vlan.vlanIdOuter}} | TYPE: VLAN
</div>
</li>
@@ -429,7 +429,7 @@
<li ng-repeat="vlan in network.vlans" ui-tree-node>
<div ui-tree-handle class="tree-node tree-node-content"
ng-class="'vlansTreeNode'">
- VLAN: {{vlan.vlanIdInner}} | TYPE: VLAN
+ VLAN: {{vlan.vlanIdOuter}} | TYPE: VLAN
</div>
</li>
@@ -452,7 +452,7 @@
<a class="pull-right btn btn-danger btn-xs"
ng-if="!isMacro() && isPermitted && configuration.nodeStatus !== STATUS_CONSTANTS.AAI_ACTIVE"
ng-disabled="!isConfigurationDataAvailiable(configuration)"
- data-tests-id="deleteConfigurationButton"
+ data-tests-id="deleteConfigurationButton-{{configuration.name}}"
data-nodrag
ng-click="deleteConfiguration(aService, configuration)">
<span class="glyphicon glyphicon-remove"></span>
@@ -461,9 +461,9 @@
<a class="pull-right btn btn-primary btn-xs" data-nodrag
ng-click="toggleConfigurationStatus(aService, configuration)"
- ng-if="isPermitted && allowConfigurationActions"
+ ng-if="isPermitted && allowConfigurationActions(configuration)"
ng-disabled="!isConfigurationDataAvailiable(configuration)"
- data-tests-id="activateDeactivateButton">
+ data-tests-id="activateDeactivateButton-{{configuration.name}}">
{{configuration.nodeStatus === STATUS_CONSTANTS.AAI_ACTIVE ? "Deactivate" :
"Activate"}}
</a>
@@ -473,7 +473,7 @@
<div ui-tree-handle class="tree-node tree-node-content">
PORT: {{port.portName}} | ORCH STATUS: {{port.portStatus}}
- <button type="button" data-tests-id="enableDisableButton"
+ <button type="button" data-tests-id="enableDisableButton-{{configuration.name}}-{{port.portName}}"
class="pull-right btn btn-primary btn-xs"
ng-if="configuration.nodeStatus == STATUS_CONSTANTS.AAI_ACTIVE"
ng-disabled="!isConfigurationDataAvailiable(configuration)"