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/testMso.jsp | 174 +++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100755 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/jsp/testMso.jsp') 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 00000000..8678dcee --- /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. +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -- cgit 1.2.3-korg