From 9dfd7e28c1eb348fcb4a2de8c6faae2a01b34942 Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Wed, 20 Sep 2017 13:20:42 +0300 Subject: Global Read only role, Support VID specific Roles Issue-ID: VID-46 , VID-47 Change-Id: Ib100d20ac40a65d39e27a6e2741b19a173a2b8ea Signed-off-by: Ofir Sonsino --- .../src/test/resources/WEB-INF/jsp/testMso.jsp | 174 +++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 vid-app-common/src/test/resources/WEB-INF/jsp/testMso.jsp (limited to 'vid-app-common/src/test/resources/WEB-INF/jsp/testMso.jsp') diff --git a/vid-app-common/src/test/resources/WEB-INF/jsp/testMso.jsp b/vid-app-common/src/test/resources/WEB-INF/jsp/testMso.jsp new file mode 100644 index 00000000..abcc8e26 --- /dev/null +++ b/vid-app-common/src/test/resources/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