1 <link rel="stylesheet" type="text/css"
\r
2 href="app/vid/test/testViewEdit.css" />
\r
4 <script src="app/vid/test/testAaiData.js"></script>
\r
5 <script src="app/vid/test/testViewEdit.js"></script>
\r
7 <link rel="stylesheet" type="text/css" href="app/vid/styles/dialogs.css" />
\r
9 <script src="app/vid/scripts/controller/creationDialogController.js"></script>
\r
10 <script src="app/vid/scripts/controller/deletionDialogController.js"></script>
\r
11 <script src="app/vid/scripts/controller/detailsDialogController.js"></script>
\r
12 <script src="app/vid/scripts/controller/statusDialogController.js"></script>
\r
13 <script src="app/vid/scripts/controller/msoCommitController.js"></script>
\r
15 <script src="app/vid/scripts/services/aaiService.js"></script>
\r
16 <script src="app/vid/scripts/services/asdcService.js"></script>
\r
17 <script src="app/vid/scripts/services/creationService.js"></script>
\r
18 <script src="app/vid/scripts/services/dataService.js"></script>
\r
19 <script src="app/vid/scripts/services/deletionService.js"></script>
\r
20 <script src="app/vid/scripts/services/detailsService.js"></script>
\r
21 <script src="app/vid/scripts/services/statusService.js"></script>
\r
22 <script src="app/vid/scripts/services/componentService.js"></script>
\r
23 <script src="app/vid/scripts/services/msoService.js"></script>
\r
24 <script src="app/vid/scripts/services/propertyService.js"></script>
\r
25 <script src="app/vid/scripts/services/utilityService.js"></script>
\r
27 <script src="app/vid/scripts/directives/extensionsDirective.js"></script>
\r
28 <script src="app/vid/scripts/directives/parameterBlockDirective.js"></script>
\r
29 <script src="app/vid/scripts/directives/popupWindowDirective.js"></script>
\r
30 <script src="app/vid/scripts/directives/progressBarDirective.js"></script>
\r
32 <script src="app/vid/scripts/constants/componentConstants.js"></script>
\r
33 <script src="app/vid/scripts/constants/fieldConstants.js"></script>
\r
34 <script src="app/vid/scripts/constants/parameterConstants.js"></script>
\r
37 Read configuration properties from server-side properties settings and
\r
38 pass to the test controller via the ng-include onload event.
\r
40 Consider / investigate replacing this approach with an alternative
\r
41 REST / Angular mechanism.
\r
43 <%@ page import="org.openecomp.vid.mso.*"%>
\r
44 <%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%>
\r
46 String properties = "{msoMaxPolls:" + SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS)
\r
47 + ",msoMaxPollingIntervalMsec:"
\r
48 + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}";
\r
51 <div ng-controller="testViewEditController"
\r
52 ng-init="init(<%=properties%>);" ng-cloak>
\r
54 <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
\r
56 <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
\r
57 <div ng-include="'app/vid/scripts/view-models/deletionDialog.htm'"></div>
\r
58 <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"
\r
59 onload="autoStartTest();"></div>
\r
62 <h1 class="heading2">
\r
63 <center>Test View Edit Page</center>
\r
66 These buttons simulate the add, delete and "show details" (called
\r
67 "script" in User Stories) icons (or buttons) that are expected on the
\r
71 <input type="checkbox" ng-change="testMsoModeChanged();"
\r
72 ng-model="isTestMsoMode"></input> <span>Use test MSO
\r
75 <h3 ng-style="callbackStyle">CALLBACK: {{callbackResults}}</h3>
\r
80 <button type="button" ng-click="createService();" att-button
\r
81 btn-type="primary" size="small">Add</button>
\r
84 <button type="button" ng-click="deleteService();" att-button
\r
85 btn-type="primary" size="small">Delete</button>
\r
88 <button type="button" ng-click="showServiceDetails();" att-button
\r
89 btn-type="primary" size="small">Show Details</button>
\r
95 <button type="button" ng-click="createVnf();" att-button
\r
96 btn-type="primary" size="small">Add</button>
\r
99 <button type="button" ng-click="deleteVnf();" att-button
\r
100 btn-type="primary" size="small">Delete</button>
\r
103 <button type="button" ng-click="showVnfDetails();" att-button
\r
104 btn-type="primary" size="small">Show Details</button>
\r
110 <button type="button" ng-click="createVfModule();" att-button
\r
111 btn-type="primary" size="small">Add</button>
\r
114 <button type="button" ng-click="deleteVfModule();" att-button
\r
115 btn-type="primary" size="small">Delete</button>
\r
118 <button type="button" ng-click="showVfModuleDetails();" att-button
\r
119 btn-type="primary" size="small">Show Details</button>
\r
123 <td>Volume Group</td>
\r
125 <button type="button" ng-click="createVolumeGroup();" att-button
\r
126 btn-type="primary" size="small">Add</button>
\r
129 <button type="button" ng-click="deleteVolumeGroup();" att-button
\r
130 btn-type="primary" size="small">Delete</button>
\r
133 <button type="button" ng-click="showVolumeGroupDetails();"
\r
134 att-button btn-type="primary" size="small">Show Details</button>
\r
140 <button type="button" ng-click="createNetwork();" att-button
\r
141 btn-type="primary" size="small">Add</button>
\r
144 <button type="button" ng-click="deleteNetwork();" att-button
\r
145 btn-type="primary" size="small">Delete</button>
\r
148 <button type="button" ng-click="showNetworkDetails();" att-button
\r
149 btn-type="primary" size="small">Show Details</button>
\r
155 <!-- Temporary solution for footer overlapping the men after talking to EComp SDK developer on 06/16/2016 -->
\r