blob: c26a444465fdb50c9654a9b2b4ab0d2d4a736f56 [file] [log] [blame]
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -07001<?xml version="1.0" encoding="UTF-8"?>
2<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://java.sun.com/xml/ns/javaee"
4 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5 id="WebApp_ID"
6 version="3.0">
7 <display-name>mso-workflow-message-adapter</display-name>
8 <welcome-file-list>
9 <welcome-file>check.html</welcome-file>
10 </welcome-file-list>
11 <context-param>
12 <param-name>log.configuration</param-name>
13 <param-value>logback.workflow-message-adapter.xml</param-value>
14 </context-param>
15 <context-param>
16 <param-name>mso.configuration</param-name>
Rob Daugherty38f72072018-03-14 02:07:32 -040017 <param-value>MSO_PROP_WORKFLOW_MESSAGE_ADAPTER=mso.workflow-message-adapter.properties,MSO_PROP_TOPOLOGY=topology.properties,MSO_PROP_AAF=cadi.properties</param-value>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070018 </context-param>
19 <context-param>
20 <param-name>resteasy.resources</param-name>
21 <param-value>
22 org.openecomp.mso.logger.MsoLoggingServlet,
23 org.openecomp.mso.MsoStatusHandler,
24 org.openecomp.mso.adapters.workflowmessage.WMAdapterRest
25 </param-value>
26 </context-param>
Rob Daugherty38f72072018-03-14 02:07:32 -040027 <context-param>
28 <param-name>resteasy.providers</param-name>
29 <param-value>org.openecomp.mso.adapters.providers.JettisonStyleMapperProvider</param-value>
30 </context-param>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070031 <servlet>
32 <servlet-name>Resteasy</servlet-name>
33 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
34 </servlet>
35 <servlet-mapping>
36 <servlet-name>Resteasy</servlet-name>
37 <url-pattern>/*</url-pattern>
38 </servlet-mapping>
39 <filter>
40 <filter-name>LogFilter</filter-name>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040041 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070042 </filter>
43 <filter-mapping>
44 <filter-name>LogFilter</filter-name>
45 <url-pattern>/*</url-pattern>
46 </filter-mapping>
47 <listener>
48 <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
49 </listener>
50 <security-constraint>
51 <web-resource-collection>
52 <web-resource-name>SiteStatus</web-resource-name>
53 <description>SiteStatus APIs</description>
54 <url-pattern>/rest/setStatus/*</url-pattern>
55 <http-method>POST</http-method>
56 </web-resource-collection>
57 <auth-constraint>
58 <role-name>SiteControl-Client</role-name>
59 </auth-constraint>
60 </security-constraint>
61 <security-constraint>
62 <web-resource-collection>
63 <web-resource-name>MSO internal Requests</web-resource-name>
64 <description>Internal Requests</description>
65 <url-pattern>/rest/logging/*</url-pattern>
66 <url-pattern>/rest/properties/*</url-pattern>
67 <http-method>POST</http-method>
68 <http-method>GET</http-method>
69 </web-resource-collection>
70 <auth-constraint>
71 <role-name>MSO-Client</role-name>
72 </auth-constraint>
73 </security-constraint>
74 <login-config>
75 <auth-method>BASIC</auth-method>
76 <realm-name>ApplicationRealm</realm-name>
77 </login-config>
78 <security-role>
79 <role-name>SiteControl-Client</role-name>
80 </security-role>
81 <security-role>
82 <role-name>MSO-Client</role-name>
83 </security-role>
84</web-app>