1 <?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" version="3.0">
6 <display-name>mso-vfc-adapter</display-name>
9 <param-name>resteasy.jndi.resources</param-name>
10 <param-value>java:module/MsoPropertiesFactory,java:module/CloudConfigFactory</param-value>
14 <param-name>log.configuration</param-name>
15 <param-value>logback.vfc.xml</param-value>
18 <param-name>mso.configuration</param-name>
19 <param-value>MSO_PROP_NETWORK_ADAPTER=mso.vfc.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value>
22 <param-name>mso.cloud_config.configuration</param-name>
23 <param-value>cloud_config.json=2</param-value>
26 <param-name>resteasy.resources</param-name>
28 org.openecomp.mso.MsoStatusHandler,
29 org.openecomp.mso.logger.MsoLoggingServlet,
30 org.openecomp.mso.adapters.vfc.HealthCheckHandler,
31 org.openecomp.mso.adapters.vfc.VfcAdapterRest
35 <param-name>resteasy.servlet.mapping.prefix</param-name>
36 <param-value>/rest</param-value>
39 <servlet-name>Resteasy</servlet-name>
40 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
43 <servlet-name>Resteasy</servlet-name>
44 <url-pattern>/vfcadapter/*</url-pattern>
47 <web-resource-collection>
48 <web-resource-name>SoapRequests</web-resource-name>
49 <description>Soap Ingress Requests</description>
50 <url-pattern>/VfcAdapter</url-pattern>
51 <url-pattern>/VfcAdapterAsync</url-pattern>
52 <http-method>POST</http-method>
53 </web-resource-collection>
55 <role-name>BPEL-Client</role-name>
57 </security-constraint>
59 <web-resource-collection>
60 <web-resource-name>SiteStatus</web-resource-name>
61 <description>SiteStatus APIs</description>
62 <url-pattern>/rest/setStatus/*</url-pattern>
63 <http-method>POST</http-method>
64 </web-resource-collection>
66 <role-name>SiteControl-Client</role-name>
68 </security-constraint>
70 <web-resource-collection>
71 <web-resource-name>RestRequests</web-resource-name>
72 <description>Rest Ingress Requests</description>
73 <url-pattern>/rest/v1/vfc/*</url-pattern>
74 <http-method>DELETE</http-method>
75 <http-method>GET</http-method>
76 <http-method>POST</http-method>
77 <http-method>PUT</http-method>
78 </web-resource-collection>
80 <role-name>BPEL-Client</role-name>
82 </security-constraint>
84 <web-resource-collection>
85 <web-resource-name>MSO internal Requests</web-resource-name>
86 <description>Internal Requests</description>
87 <url-pattern>/rest/logging/*</url-pattern>
88 <url-pattern>/rest/properties/*</url-pattern>
89 <http-method>POST</http-method>
90 <http-method>GET</http-method>
91 </web-resource-collection>
93 <role-name>MSO-Client</role-name>
95 </security-constraint>
97 <auth-method>BASIC</auth-method>
98 <realm-name>ApplicationRealm</realm-name>
101 <role-name>BPEL-Client</role-name>
104 <role-name>SiteControl-Client</role-name>
107 <role-name>MSO-Client</role-name>
110 <filter-name>LogFilter</filter-name>
111 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
114 <filter-name>LogFilter</filter-name>
115 <url-pattern>/*</url-pattern>
118 <welcome-file>check.html</welcome-file>