From 025301d08b061482c1f046d562bf017c8cbcfe8d Mon Sep 17 00:00:00 2001 From: ChrisC Date: Tue, 31 Jan 2017 11:40:03 +0100 Subject: Initial OpenECOMP MSO commit Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC --- .../WebContent/META-INF/MANIFEST.MF | 3 + .../WebContent/WEB-INF/beans.xml | 0 .../WEB-INF/jboss-deployment-structure.xml | 17 +++ .../WebContent/WEB-INF/jboss-web.xml | 6 + .../WebContent/WEB-INF/web.xml | 141 +++++++++++++++++++++ .../mso-api-handler-infra/WebContent/check.html | 11 ++ .../mso-api-handler-infra/WebContent/index.xhtml | 19 +++ 7 files changed, 197 insertions(+) create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/META-INF/MANIFEST.MF create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/beans.xml create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-deployment-structure.xml create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-web.xml create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/check.html create mode 100644 mso-api-handlers/mso-api-handler-infra/WebContent/index.xhtml (limited to 'mso-api-handlers/mso-api-handler-infra/WebContent') diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/META-INF/MANIFEST.MF b/mso-api-handlers/mso-api-handler-infra/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..5e9495128c --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/beans.xml b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/beans.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-deployment-structure.xml b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-deployment-structure.xml new file mode 100644 index 0000000000..88d5024f0d --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-deployment-structure.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-web.xml b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-web.xml new file mode 100644 index 0000000000..e1023bfe19 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/jboss-web.xml @@ -0,0 +1,6 @@ + + + + ecomp/mso/infra + other + \ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml new file mode 100644 index 0000000000..e34740d613 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml @@ -0,0 +1,141 @@ + + + + MSO API Handler Infra + + + + resteasy.jndi.resources + java:module/MsoPropertiesFactory + + + + + resteasy.async.job.service.enabled + true + + + + + + + resteasy.async.job.service.max.job.results + 100 + + + + + resteasy.async.job.service.max.wait + 300000 + + + + + resteasy.async.job.service.thread.pool.size + 100 + + + + + resteasy.async.job.service.base.path + /asynch/jobs + + + resteasy.scan + true + + + + + log.configuration + logback.apihandler-infra.xml + + + + mso.configuration + MSO_PROP_APIHANDLER_INFRA=mso.apihandler-infra.properties,MSO_PROP_TOPOLOGY=topology.properties + + + + resteasy.resources + org.openecomp.mso.logger.MsoLoggingServlet + + + + + org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap + + + + msoapihandler-infra-servlet + + org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher + + + + msoapihandler-infra-servlet + /* + + + + + HealthcheckNoAuth + No Authentication for Healthcheck + /healthcheck + /nodehealthcheck + /globalhealthcheck + GET + POST + + + + + SiteStatus + SiteStatus APIs + /setStatus/* + POST + + + SiteControl-Client + + + + + HTTPBasicAuth + Authentication for Infra Portal + /* + POST + GET + + + InfraPortal-Client + + + + + BASIC + ApplicationRealm + + + InfraPortal-Client + + + SiteControl-Client + + + + LogFilter + org.openecomp.mso.logger.LogFilter + + + LogFilter + /* + + + diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/check.html b/mso-api-handlers/mso-api-handler-infra/WebContent/check.html new file mode 100644 index 0000000000..ea2f0e265a --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/check.html @@ -0,0 +1,11 @@ + + + + +Health Check + + +Application ready + + + diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/index.xhtml b/mso-api-handlers/mso-api-handler-infra/WebContent/index.xhtml new file mode 100644 index 0000000000..f902af8cc0 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/index.xhtml @@ -0,0 +1,19 @@ + + + + + + + + <h:outputText value="#{msg.welcomeTitle}" /> + + + +

+

+ + -- cgit 1.2.3-korg