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,MSO_ASDC_CLIENTS=mso.asdc.clients.properties</param-value>
\r
66 <param-name>resteasy.resources</param-name>
\r
67 <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.asdc.healthcheck.HealthCheckHandler</param-value>
\r
72 org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
\r
76 <servlet-name>asdccontroller-servlet</servlet-name>
\r
78 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
\r
82 <servlet-name>asdccontroller-servlet</servlet-name>
\r
83 <url-pattern>/*</url-pattern>
\r
87 <filter-name>LogFilter</filter-name>
\r
88 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
\r
91 <filter-name>LogFilter</filter-name>
\r
92 <url-pattern>/*</url-pattern>
\r
95 <security-constraint>
\r
96 <web-resource-collection>
\r
97 <web-resource-name>SiteStatus</web-resource-name>
\r
98 <description>SiteStatus APIs</description>
\r
99 <url-pattern>/setStatus/*</url-pattern>
\r
100 <http-method>POST</http-method>
\r
101 </web-resource-collection>
\r
103 <role-name>SiteControl-Client</role-name>
\r
105 </security-constraint>
\r
106 <security-constraint>
\r
107 <web-resource-collection>
\r
108 <web-resource-name>MSO internal Requests</web-resource-name>
\r
109 <description>Internal Requests</description>
\r
110 <url-pattern>/logging/*</url-pattern>
\r
111 <url-pattern>/properties/*</url-pattern>
\r
112 <http-method>POST</http-method>
\r
113 <http-method>GET</http-method>
\r
114 </web-resource-collection>
\r
116 <role-name>MSO-Client</role-name>
\r
118 </security-constraint>
\r
120 <auth-method>BASIC</auth-method>
\r
121 <realm-name>ApplicationRealm</realm-name>
\r
124 <role-name>SiteControl-Client</role-name>
\r
127 <role-name>MSO-Client</role-name>
\r