1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
\r
4 <display-name>ASDC Controller</display-name>
\r
7 <!-- enable the Asynchronous Job Service -->
\r
9 <param-name>resteasy.async.job.service.enabled</param-name>
\r
10 <param-value>true</param-value>
\r
14 <param-name>resteasy.jndi.resources</param-name>
\r
15 <param-value>java:module/MsoPropertiesFactory</param-value>
\r
18 <!-- The next context parameters are all optional.
\r
19 Their default values are shown as example param-values -->
\r
21 <!-- How many jobs results can be held in memory at once? -->
\r
23 <param-name>resteasy.async.job.service.max.job.results</param-name>
\r
24 <param-value>100</param-value>
\r
27 <!-- Maximum wait time on a job when a client is querying for it -->
\r
29 <param-name>resteasy.async.job.service.max.wait</param-name>
\r
30 <param-value>300000</param-value>
\r
33 <!-- Thread pool size of background threads that run the job -->
\r
35 <param-name>resteasy.async.job.service.thread.pool.size</param-name>
\r
36 <param-value>100</param-value>
\r
39 <!-- Set the base path for the Job uris -->
\r
41 <param-name>resteasy.async.job.service.base.path</param-name>
\r
42 <param-value>/asynch/jobs</param-value>
\r
45 <param-name>resteasy.scan</param-name>
\r
46 <param-value>true</param-value>
\r
51 <param-name>resteasy.servlet.mapping.prefix</param-name>
\r
52 <param-value>/v1</param-value>
\r
56 <param-name>log.configuration</param-name>
\r
57 <param-value>logback.asdc.xml</param-value>
\r
61 <param-name>mso.configuration</param-name>
\r
62 <param-value>MSO_PROP_ASDC=mso.asdc.json,MSO_PROP_TOPOLOGY=topology.properties</param-value>
\r
67 <param-name>resteasy.resources</param-name>
\r
68 <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.asdc.healthcheck.HealthCheckHandler</param-value>
\r
73 org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
\r
77 <servlet-name>asdccontroller-servlet</servlet-name>
\r
79 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
\r
83 <servlet-name>asdccontroller-servlet</servlet-name>
\r
84 <url-pattern>/*</url-pattern>
\r
88 <filter-name>LogFilter</filter-name>
\r
89 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
\r
92 <filter-name>LogFilter</filter-name>
\r
93 <url-pattern>/*</url-pattern>
\r
96 <security-constraint>
\r
97 <web-resource-collection>
\r
98 <web-resource-name>SiteStatus</web-resource-name>
\r
99 <description>SiteStatus APIs</description>
\r
100 <url-pattern>/setStatus/*</url-pattern>
\r
101 <http-method>POST</http-method>
\r
102 </web-resource-collection>
\r
104 <role-name>SiteControl-Client</role-name>
\r
106 </security-constraint>
\r
108 <auth-method>BASIC</auth-method>
\r
109 <realm-name>ApplicationRealm</realm-name>
\r
112 <role-name>SiteControl-Client</role-name>
\r