From 3982f4f67314ec37fd9b22ae54049958af777c1b Mon Sep 17 00:00:00 2001 From: jimmydot Date: Sun, 7 May 2017 14:58:24 -0400 Subject: [VID-6] Initial rebase push Change-Id: I9077be9663754d9b22f77c6a7b3109b361b39346 Signed-off-by: jimmydot --- .../src/main/webapp/WEB-INF/jsp/login.jsp | 95 +++++++++++ .../src/main/webapp/WEB-INF/jsp/serviceModels.jsp | 81 ++++++++++ .../src/main/webapp/WEB-INF/jsp/testMso.jsp | 174 +++++++++++++++++++++ .../src/main/webapp/WEB-INF/jsp/testViewEdit.jsp | 172 ++++++++++++++++++++ .../src/main/webapp/WEB-INF/jsp/viewlog.jsp | 33 ++++ .../src/main/webapp/WEB-INF/jsp/welcome.jsp | 45 ++++++ 6 files changed, 600 insertions(+) create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/login.jsp create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testViewEdit.jsp create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/viewlog.jsp create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/jsp') diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/login.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/login.jsp new file mode 100755 index 000000000..1fa75ed03 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/login.jsp @@ -0,0 +1,95 @@ +<%@ page import="java.net.URLEncoder"%> +<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> + +<% + // Name is defined by app; do not throw if missing + final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME) + ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME) + : SystemProperties.APP_DISPLAY_NAME; +%> + + + + + + + Login + + + + +
+
+
${model.error}
+
+
+
+
+
+
+ + + diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp new file mode 100755 index 000000000..1dbb3c0dd --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/serviceModels.jsp @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@ page import="org.openecomp.vid.mso.*"%> +<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> +<% + String properties = "{msoMaxPolls:" + SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS) + + ",msoMaxPollingIntervalMsec:" + + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}"; +%> + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp new file mode 100755 index 000000000..8678dcee1 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@ page import="org.openecomp.vid.mso.*"%> +<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> +<% + String properties = "{msoMaxPolls:" + SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS) + + ",msoMaxPollingIntervalMsec:" + + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}"; +%> + +
+
+
+
+
+ +

+
Various MSO Tests
+

+
+ Use test MSO + controller +
+
+

These actions are expected to return successfully.

+ + + + + + + + + + + +
+
+

These actions are expected to generate errors. These tests assume the above + "Use test MSO controller" checkbox is checked. All tests are base on the Create Service + Instance transaction.

+
    +
  1. + Initial + response contains policy exception +
  2. +
  3. + Initial + response contains service exception +
  4. +
  5. + Subsequent + getOrchestrationRequest poll response contains MSO failure condition +
  6. +
  7. + Initial + response contains invalid data field +
  8. +
  9. + Subsequent + getOrchestrationRequest poll response contains invalid data field +
  10. +
  11. + + VID controller code generates general exception +
  12. +
  13. + Maximum + poll attempts exceeded +
  14. +
  15. + Timeout + on initial response +
  16. +
  17. + Timeout + on subsequent getOrchestrationRequest poll response +
  18. +
  19. + GUI + front-end specifies invalid URL - HTTP 404 response expected +
  20. +
  21. + GUI + front-end specifies invalid URL - HTTP 405 response expected +
  22. +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testViewEdit.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testViewEdit.jsp new file mode 100755 index 000000000..59c8a317e --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testViewEdit.jsp @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@ page import="org.openecomp.vid.mso.*"%> +<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%> +<% + String properties = "{msoMaxPolls:" + SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS) + + ",msoMaxPollingIntervalMsec:" + + SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS) + "}"; +%> + +
+ +
+
+
+
+
+ +

+
Test View Edit Page
+

+
+ These buttons simulate the add, delete and "show details" (called + "script" in User Stories) icons (or buttons) that are expected on the + view / edit page. +
+
+ Use test MSO + controller +
+

CALLBACK: {{callbackResults}}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Service + + + + + +
VNF + + + + + +
VF Module + + + + + +
Volume Group + + + + + +
Network + + + + + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/viewlog.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/viewlog.jsp new file mode 100755 index 000000000..c1bf19c75 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/viewlog.jsp @@ -0,0 +1,33 @@ + + +
+ +

View Log - Page under Construction...

+
+ + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp new file mode 100755 index 000000000..9cb6f85b7 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/welcome.jsp @@ -0,0 +1,45 @@ + +
+

ONAP

+
+

Welcome to VID

+
+ The Virtual Infrastructure Deployment (VID) application allows infrastructure service deployment operators + to instantiate service instances and their constituent parts for Distributed service models required by the + ONAP service operations that manage them, such as Mobility Network Services, etc. + The models are defined by ONAP component SDC. The service + deployment operator selects the service operations owner and model that they wish to instantiate. After + entry of appropriate data, the operator instructs VID to direct another ONAP component, MSO, to instantiate + the selected service model. Once the service instance has been instantiated, the service operator can instruct + VID to direct MSO to instantiate the service instance's component VNFs, VF Modules, Networks and Volume Groups. + The VID user can also search for, and display, existing service instances and direct the instantiation of + subsequent instance components. +

+ +

Contact Us

+ Please click here to contact us. + + + +
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + -- cgit 1.2.3-korg