aboutsummaryrefslogtreecommitdiffstats
path: root/vid/src/main/webapp/test.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'vid/src/main/webapp/test.jsp')
-rw-r--r--vid/src/main/webapp/test.jsp29
1 files changed, 29 insertions, 0 deletions
diff --git a/vid/src/main/webapp/test.jsp b/vid/src/main/webapp/test.jsp
new file mode 100644
index 000000000..97ae70202
--- /dev/null
+++ b/vid/src/main/webapp/test.jsp
@@ -0,0 +1,29 @@
+<html>
+<head><title>Test VID Properties related to MSO </title></head>
+<!-- This is a temporary test page. It will be removed from source control -->
+<body>
+<%@ page import="org.openecomp.portalsdk.core.util.SystemProperties" %>
+<%@ page import="org.openecomp.vid.controller.MsoController" %>
+<%@ page import="org.openecomp.vid.mso.rest.Request" %>
+<%@ page import="org.openecomp.vid.mso.rest.RequestDetails" %>
+<%@ page import="org.openecomp.vid.mso.rest.RelatedModel" %>
+<%@ page import="org.openecomp.vid.domain.mso.SubscriberInfo" %>
+<%@ page import="org.openecomp.vid.domain.mso.Response" %>
+<%@ page import="org.openecomp.vid.domain.mso.ModelInfo" %>
+<%@ page import="org.openecomp.vid.domain.mso.RequestInfo" %>
+<%@ page import="org.openecomp.vid.domain.mso.CloudConfiguration" %>
+<%@ page import="org.openecomp.vid.mso.MsoProperties" %>
+<%@ page import="java.net.URI" %>
+<%@ page import="com.sun.jersey.api.client.ClientResponse" %>
+ <%
+ String url = SystemProperties.getProperty(MsoProperties.MSO_SERVER_URL);
+ String max_polls = SystemProperties.getProperty(MsoProperties.MSO_MAX_POLLS);
+ String max_polling_interval_msecs = SystemProperties.getProperty(MsoProperties.MSO_POLLING_INTERVAL_MSECS);
+ %>
+ <h2>VID properties related to MSO:</h2>
+ <h3>MSO server URL:</h3><p>"<%= url %>"</p>
+ <h3>MSO max number of polls:</h3><p>"<%= max_polls %>"</p>
+ <h3>MSO polling interval (msecs):</h3><p>"<%= max_polling_interval_msecs %>"</p>
+ <a href="<%= request.getRequestURI() %>"><h3>Try Again</h3></a>
+</body>
+</html>