c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 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> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 7 | |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 8 | <context-param> |
| 9 | <param-name>resteasy.jndi.resources</param-name> |
| 10 | <param-value>java:module/MsoPropertiesFactory,java:module/CloudConfigFactory</param-value> |
| 11 | </context-param> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 12 | |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 13 | <context-param> |
| 14 | <param-name>log.configuration</param-name> |
| 15 | <param-value>logback.vfc.xml</param-value> |
| 16 | </context-param> |
| 17 | <context-param> |
| 18 | <param-name>mso.configuration</param-name> |
| 19 | <param-value>MSO_PROP_NETWORK_ADAPTER=mso.vfc.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value> |
| 20 | </context-param> |
| 21 | <context-param> |
| 22 | <param-name>mso.cloud_config.configuration</param-name> |
| 23 | <param-value>cloud_config.json=2</param-value> |
| 24 | </context-param> |
| 25 | <context-param> |
| 26 | <param-name>resteasy.resources</param-name> |
| 27 | <param-value> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 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 |
| 32 | </param-value> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 33 | </context-param> |
| 34 | <context-param> |
| 35 | <param-name>resteasy.servlet.mapping.prefix</param-name> |
| 36 | <param-value>/rest</param-value> |
| 37 | </context-param> |
| 38 | <servlet> |
| 39 | <servlet-name>Resteasy</servlet-name> |
| 40 | <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> |
| 41 | </servlet> |
| 42 | <servlet-mapping> |
| 43 | <servlet-name>Resteasy</servlet-name> |
| 44 | <url-pattern>/vfcadapter/*</url-pattern> |
| 45 | </servlet-mapping> |
| 46 | <security-constraint> |
| 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> |
| 54 | <auth-constraint> |
| 55 | <role-name>BPEL-Client</role-name> |
| 56 | </auth-constraint> |
| 57 | </security-constraint> |
| 58 | <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> |
| 65 | <auth-constraint> |
| 66 | <role-name>SiteControl-Client</role-name> |
| 67 | </auth-constraint> |
| 68 | </security-constraint> |
| 69 | <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> |
| 79 | <auth-constraint> |
| 80 | <role-name>BPEL-Client</role-name> |
| 81 | </auth-constraint> |
| 82 | </security-constraint> |
| 83 | <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> |
| 92 | <auth-constraint> |
| 93 | <role-name>MSO-Client</role-name> |
| 94 | </auth-constraint> |
| 95 | </security-constraint> |
| 96 | <login-config> |
| 97 | <auth-method>BASIC</auth-method> |
| 98 | <realm-name>ApplicationRealm</realm-name> |
| 99 | </login-config> |
| 100 | <security-role> |
| 101 | <role-name>BPEL-Client</role-name> |
| 102 | </security-role> |
| 103 | <security-role> |
| 104 | <role-name>SiteControl-Client</role-name> |
| 105 | </security-role> |
| 106 | <security-role> |
| 107 | <role-name>MSO-Client</role-name> |
| 108 | </security-role> |
| 109 | <filter> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 110 | <filter-name>LogFilter</filter-name> |
| 111 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 112 | </filter> |
| 113 | <filter-mapping> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 114 | <filter-name>LogFilter</filter-name> |
| 115 | <url-pattern>/*</url-pattern> |
| 116 | </filter-mapping> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame^] | 117 | <welcome-file-list> |
| 118 | <welcome-file>check.html</welcome-file> |
| 119 | </welcome-file-list> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 120 | </web-app> |
| 121 | |