1 <?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-vfc-adapter</display-name>
6 <param-name>resteasy.jndi.resources</param-name>
7 <param-value>java:module/MsoPropertiesFactory,java:module/CloudConfigFactory</param-value>
11 <param-name>log.configuration</param-name>
12 <param-value>logback.vfc.xml</param-value>
15 <param-name>mso.configuration</param-name>
16 <param-value>MSO_PROP_NETWORK_ADAPTER=mso.vfc.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value>
19 <param-name>mso.cloud_config.configuration</param-name>
20 <param-value>cloud_config.json=2</param-value>
23 <param-name>resteasy.resources</param-name>
25 org.openecomp.mso.MsoStatusHandler,
26 org.openecomp.mso.logger.MsoLoggingServlet,
27 org.openecomp.mso.adapters.vfc.HealthCheckHandler,
28 org.openecomp.mso.adapters.vfc.VfcAdapterRest
32 <param-name>resteasy.servlet.mapping.prefix</param-name>
33 <param-value>/rest</param-value>
36 <servlet-name>Resteasy</servlet-name>
37 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
40 <servlet-name>Resteasy</servlet-name>
41 <url-pattern>/vfcadapter/*</url-pattern>
44 <web-resource-collection>
45 <web-resource-name>SoapRequests</web-resource-name>
46 <description>Soap Ingress Requests</description>
47 <url-pattern>/VfcAdapter</url-pattern>
48 <url-pattern>/VfcAdapterAsync</url-pattern>
49 <http-method>POST</http-method>
50 </web-resource-collection>
52 <role-name>BPEL-Client</role-name>
54 </security-constraint>
56 <web-resource-collection>
57 <web-resource-name>SiteStatus</web-resource-name>
58 <description>SiteStatus APIs</description>
59 <url-pattern>/rest/setStatus/*</url-pattern>
60 <http-method>POST</http-method>
61 </web-resource-collection>
63 <role-name>SiteControl-Client</role-name>
65 </security-constraint>
67 <web-resource-collection>
68 <web-resource-name>RestRequests</web-resource-name>
69 <description>Rest Ingress Requests</description>
70 <url-pattern>/rest/v1/vfc/*</url-pattern>
71 <http-method>DELETE</http-method>
72 <http-method>GET</http-method>
73 <http-method>POST</http-method>
74 <http-method>PUT</http-method>
75 </web-resource-collection>
77 <role-name>BPEL-Client</role-name>
79 </security-constraint>
81 <web-resource-collection>
82 <web-resource-name>MSO internal Requests</web-resource-name>
83 <description>Internal Requests</description>
84 <url-pattern>/rest/logging/*</url-pattern>
85 <url-pattern>/rest/properties/*</url-pattern>
86 <http-method>POST</http-method>
87 <http-method>GET</http-method>
88 </web-resource-collection>
90 <role-name>MSO-Client</role-name>
92 </security-constraint>
94 <auth-method>BASIC</auth-method>
95 <realm-name>ApplicationRealm</realm-name>
98 <role-name>BPEL-Client</role-name>
101 <role-name>SiteControl-Client</role-name>
104 <role-name>MSO-Client</role-name>
107 <filter-name>LogFilter</filter-name>
108 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
111 <filter-name>LogFilter</filter-name>
112 <url-pattern>/*</url-pattern>
115 <welcome-file>check.html</welcome-file>