blob: a2e6c0c517b4bd21ba6997cab6aa19430b9765c6 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<?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-vnf-adapter</display-name>
4
5 <context-param>
6 <param-name>resteasy.jndi.resources</param-name>
7 <param-value>java:module/MsoPropertiesFactory,java:module/CloudConfigFactory</param-value>
8 </context-param>
9
10 <context-param>
11 <param-name>log.configuration</param-name>
12 <param-value>logback.vnf.xml</param-value>
13 </context-param>
14 <context-param>
15 <param-name>mso.configuration</param-name>
16 <param-value>MSO_PROP_VNF_ADAPTER=mso.vnf.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value>
17 </context-param>
18 <context-param>
19 <param-name>mso.cloud_config.configuration</param-name>
20 <param-value>cloud_config.json=2</param-value>
21 </context-param>
22 <context-param>
23 <param-name>resteasy.resources</param-name>
24 <param-value>
25 org.openecomp.mso.MsoStatusHandler,
26 org.openecomp.mso.logger.MsoLoggingServlet,
27 org.openecomp.mso.adapters.vnf.HealthCheckHandler,
28 org.openecomp.mso.adapters.vnf.VnfAdapterRest,
Rob Daugherty38f72072018-03-14 02:07:32 -040029 org.openecomp.mso.adapters.vnf.VnfAdapterRestV2,
ChrisC025301d2017-01-31 11:40:03 +010030 org.openecomp.mso.adapters.vnf.VolumeAdapterRest
31 </param-value>
32 </context-param>
33 <context-param>
Rob Daugherty38f72072018-03-14 02:07:32 -040034 <param-name>resteasy.providers</param-name>
35 <param-value>org.openecomp.mso.adapters.providers.JettisonStyleMapperProvider</param-value>
36 </context-param>
37 <context-param>
ChrisC025301d2017-01-31 11:40:03 +010038 <param-name>resteasy.servlet.mapping.prefix</param-name>
39 <param-value>/rest</param-value>
40 </context-param>
41 <servlet>
42 <servlet-name>Resteasy</servlet-name>
43 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
44 </servlet>
45 <servlet-mapping>
46 <servlet-name>Resteasy</servlet-name>
47 <url-pattern>/rest/*</url-pattern>
48 </servlet-mapping>
49
50 <security-constraint>
51 <web-resource-collection>
52 <web-resource-name>RestRequests</web-resource-name>
53 <description>Rest Ingress Requests</description>
Rob Daugherty38f72072018-03-14 02:07:32 -040054 <url-pattern>/rest/v*/*</url-pattern>
ChrisC025301d2017-01-31 11:40:03 +010055 <http-method>POST</http-method>
56 <http-method>GET</http-method>
57 <http-method>PUT</http-method>
58 <http-method>DELETE</http-method>
59 </web-resource-collection>
60 <auth-constraint>
61 <role-name>BPEL-Client</role-name>
62 </auth-constraint>
63 </security-constraint>
64 <security-constraint>
65 <web-resource-collection>
66 <web-resource-name>SoapRequests</web-resource-name>
67 <description>Soap Ingress Requests</description>
68 <url-pattern>/VnfAdapter</url-pattern>
69 <url-pattern>/VnfAdapterAsync</url-pattern>
70 <http-method>POST</http-method>
71 </web-resource-collection>
72 <auth-constraint>
73 <role-name>BPEL-Client</role-name>
74 </auth-constraint>
75 </security-constraint>
76 <security-constraint>
77 <web-resource-collection>
78 <web-resource-name>SiteStatus</web-resource-name>
79 <description>SiteStatus APIs</description>
80 <url-pattern>/rest/setStatus/*</url-pattern>
81 <http-method>POST</http-method>
82 </web-resource-collection>
83 <auth-constraint>
84 <role-name>SiteControl-Client</role-name>
85 </auth-constraint>
86 </security-constraint>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070087 <security-constraint>
88 <web-resource-collection>
89 <web-resource-name>MSO internal Requests</web-resource-name>
90 <description>Internal Requests</description>
91 <url-pattern>/rest/logging/*</url-pattern>
92 <url-pattern>/rest/properties/*</url-pattern>
93 <http-method>POST</http-method>
94 <http-method>GET</http-method>
95 </web-resource-collection>
96 <auth-constraint>
97 <role-name>MSO-Client</role-name>
98 </auth-constraint>
99 </security-constraint>
ChrisC025301d2017-01-31 11:40:03 +0100100 <login-config>
101 <auth-method>BASIC</auth-method>
102 <realm-name>ApplicationRealm</realm-name>
103 </login-config>
104 <security-role>
105 <role-name>BPEL-Client</role-name>
106 </security-role>
107 <security-role>
108 <role-name>SiteControl-Client</role-name>
109 </security-role>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700110 <security-role>
111 <role-name>MSO-Client</role-name>
112 </security-role>
ChrisC025301d2017-01-31 11:40:03 +0100113
114 <filter>
115 <filter-name>LogFilter</filter-name>
116 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
117 </filter>
118 <filter-mapping>
119 <filter-name>LogFilter</filter-name>
120 <url-pattern>/*</url-pattern>
121 </filter-mapping>
122</web-app>