blob: 750bba763396a360751aa9b131888a28db56a51c [file] [log] [blame]
xg353yb6b7bef2017-04-11 13:30:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<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">
3 <display-name>mso-catalog-db</display-name>
4
5 <context-param>
6 <param-name>log.configuration</param-name>
7 <param-value>logback.catalog.xml</param-value>
8 </context-param>
9 <context-param>
10 <param-name>mso.configuration</param-name>
11 <param-value>MSO_PROP_TOPOLOGY=topology.properties</param-value>
12 </context-param>
13 <context-param>
14 <param-name>resteasy.resources</param-name>
15 <param-value>
16 org.openecomp.mso.adapters.catalogdb.CatalogDbAdapterRest
17 </param-value>
18 </context-param>
19 <servlet>
20 <servlet-name>Resteasy</servlet-name>
21 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
22 </servlet>
23 <servlet-mapping>
24 <servlet-name>Resteasy</servlet-name>
25 <url-pattern>/*</url-pattern>
26 </servlet-mapping>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070027 <security-constraint>
28 <web-resource-collection>
29 <web-resource-name>MSO internal Requests</web-resource-name>
30 <description>Internal Requests</description>
31 <url-pattern>/logging/*</url-pattern>
32 <url-pattern>/properties/*</url-pattern>
33 <http-method>POST</http-method>
34 <http-method>GET</http-method>
35 </web-resource-collection>
36 <auth-constraint>
37 <role-name>MSO-Client</role-name>
38 </auth-constraint>
39 </security-constraint>
40 <security-role>
41 <role-name>MSO-Client</role-name>
42 </security-role>
xg353yb6b7bef2017-04-11 13:30:42 +020043 <filter>
44 <filter-name>LogFilter</filter-name>
45 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
46 </filter>
47 <filter-mapping>
48 <filter-name>LogFilter</filter-name>
49 <url-pattern>/*</url-pattern>
50 </filter-mapping>
51 <context-param>
52 <param-name>resteasy.scan</param-name>
53 <param-value>true</param-value>
54 </context-param>
55 <context-param>
56 <param-name>resteasy.scan.providers</param-name>
57 <param-value>true</param-value>
58 </context-param>
59 <context-param>
60 <param-name>resteasy.scan.resources</param-name>
61 <param-value>true</param-value>
62 </context-param>
63
64</web-app>