1 <link rel="stylesheet" type="text/css"
2 href="app/vid/test/testViewEdit.css" />
4 <script src="app/vid/test/testAaiData.js"></script>
5 <script src="app/vid/test/testViewEdit.js"></script>
7 <link rel="stylesheet" type="text/css" href="app/vid/styles/dialogs.css" />
9 <script src="app/vid/scripts/controller/creationDialogController.js"></script>
10 <script src="app/vid/scripts/controller/deletionDialogController.js"></script>
11 <script src="app/vid/scripts/controller/detailsDialogController.js"></script>
12 <script src="app/vid/scripts/controller/msoCommitController.js"></script>
14 <script src="app/vid/scripts/services/aaiService.js"></script>
15 <script src="app/vid/scripts/services/asdcService.js"></script>
16 <script src="app/vid/scripts/services/creationService.js"></script>
17 <script src="app/vid/scripts/services/dataService.js"></script>
18 <script src="app/vid/scripts/services/deletionService.js"></script>
19 <script src="app/vid/scripts/services/detailsService.js"></script>
20 <script src="app/vid/scripts/services/componentService.js"></script>
21 <script src="app/vid/scripts/services/msoService.js"></script>
22 <script src="app/vid/scripts/services/propertyService.js"></script>
23 <script src="app/vid/scripts/services/utilityService.js"></script>
25 <script src="app/vid/scripts/directives/extensionsDirective.js"></script>
26 <script src="app/vid/scripts/directives/parameterBlockDirective.js"></script>
27 <script src="app/vid/scripts/directives/popupWindowDirective.js"></script>
28 <script src="app/vid/scripts/directives/progressBarDirective.js"></script>
30 <script src="app/vid/scripts/constants/componentConstants.js"></script>
31 <script src="app/vid/scripts/constants/fieldConstants.js"></script>
32 <script src="app/vid/scripts/constants/parameterConstants.js"></script>
35 Read configuration properties from server-side properties settings and
36 pass to the test controller via the ng-include onload event.
38 Consider / investigate replacing this approach with an alternative
39 REST / Angular mechanism.
41 <%@ page import="org.openecomp.vid.mso.*"%>
42 <%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%>
44 String properties = "{msoMaxPolls:" + SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS)
45 + ",msoMaxPollingIntervalMsec:"
46 + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}";
49 <div ng-controller="testViewEditController"
50 ng-init="init(<%=properties%>);" ng-cloak>
52 <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
54 <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
55 <div ng-include="'app/vid/scripts/view-models/deletionDialog.htm'"></div>
56 <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"
57 onload="autoStartTest();"></div>
61 <center>Test View Edit Page</center>
64 These buttons simulate the add, delete and "show details" (called
65 "script" in User Stories) icons (or buttons) that are expected on the
69 <input type="checkbox" ng-change="testMsoModeChanged();"
70 ng-model="isTestMsoMode"></input> <span>Use test MSO
73 <h3 ng-style="callbackStyle">CALLBACK: {{callbackResults}}</h3>
78 <button type="button" ng-click="createService();" att-button
79 btn-type="primary" size="small">Add</button>
82 <button type="button" ng-click="deleteService();" att-button
83 btn-type="primary" size="small">Delete</button>
86 <button type="button" ng-click="showServiceDetails();" att-button
87 btn-type="primary" size="small">Show Details</button>
93 <button type="button" ng-click="createVnf();" att-button
94 btn-type="primary" size="small">Add</button>
97 <button type="button" ng-click="deleteVnf();" att-button
98 btn-type="primary" size="small">Delete</button>
101 <button type="button" ng-click="showVnfDetails();" att-button
102 btn-type="primary" size="small">Show Details</button>
108 <button type="button" ng-click="createVfModule();" att-button
109 btn-type="primary" size="small">Add</button>
112 <button type="button" ng-click="deleteVfModule();" att-button
113 btn-type="primary" size="small">Delete</button>
116 <button type="button" ng-click="showVfModuleDetails();" att-button
117 btn-type="primary" size="small">Show Details</button>
121 <td>Volume Group</td>
123 <button type="button" ng-click="createVolumeGroup();" att-button
124 btn-type="primary" size="small">Add</button>
127 <button type="button" ng-click="deleteVolumeGroup();" att-button
128 btn-type="primary" size="small">Delete</button>
131 <button type="button" ng-click="showVolumeGroupDetails();"
132 att-button btn-type="primary" size="small">Show Details</button>
138 <button type="button" ng-click="createNetwork();" att-button
139 btn-type="primary" size="small">Add</button>
142 <button type="button" ng-click="deleteNetwork();" att-button
143 btn-type="primary" size="small">Delete</button>
146 <button type="button" ng-click="showNetworkDetails();" att-button
147 btn-type="primary" size="small">Show Details</button>
153 <!-- Temporary solution for footer overlapping the men after talking to EComp SDK developer on 06/16/2016 -->