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> |
c00149107 | d3c4fa0 | 2018-01-22 10:52:39 +0800 | [diff] [blame^] | 19 | <param-value>MSO_PROP_VFC_ADAPTER=mso.vfc.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 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> |
c00149107 | a13d6f4 | 2017-10-18 11:48:21 +0800 | [diff] [blame] | 44 | <url-pattern>/rest/*</url-pattern> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 45 | </servlet-mapping> |
| 46 | <security-constraint> |
| 47 | <web-resource-collection> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 48 | <web-resource-name>SiteStatus</web-resource-name> |
| 49 | <description>SiteStatus APIs</description> |
| 50 | <url-pattern>/rest/setStatus/*</url-pattern> |
| 51 | <http-method>POST</http-method> |
| 52 | </web-resource-collection> |
| 53 | <auth-constraint> |
| 54 | <role-name>SiteControl-Client</role-name> |
| 55 | </auth-constraint> |
| 56 | </security-constraint> |
| 57 | <security-constraint> |
| 58 | <web-resource-collection> |
| 59 | <web-resource-name>RestRequests</web-resource-name> |
| 60 | <description>Rest Ingress Requests</description> |
c00149107 | a13d6f4 | 2017-10-18 11:48:21 +0800 | [diff] [blame] | 61 | <url-pattern>/rest/v1/vfcadapter/*</url-pattern> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 62 | <http-method>DELETE</http-method> |
| 63 | <http-method>GET</http-method> |
| 64 | <http-method>POST</http-method> |
| 65 | <http-method>PUT</http-method> |
| 66 | </web-resource-collection> |
| 67 | <auth-constraint> |
| 68 | <role-name>BPEL-Client</role-name> |
| 69 | </auth-constraint> |
| 70 | </security-constraint> |
| 71 | <security-constraint> |
| 72 | <web-resource-collection> |
| 73 | <web-resource-name>MSO internal Requests</web-resource-name> |
| 74 | <description>Internal Requests</description> |
| 75 | <url-pattern>/rest/logging/*</url-pattern> |
| 76 | <url-pattern>/rest/properties/*</url-pattern> |
| 77 | <http-method>POST</http-method> |
| 78 | <http-method>GET</http-method> |
| 79 | </web-resource-collection> |
| 80 | <auth-constraint> |
| 81 | <role-name>MSO-Client</role-name> |
| 82 | </auth-constraint> |
| 83 | </security-constraint> |
| 84 | <login-config> |
| 85 | <auth-method>BASIC</auth-method> |
| 86 | <realm-name>ApplicationRealm</realm-name> |
| 87 | </login-config> |
| 88 | <security-role> |
| 89 | <role-name>BPEL-Client</role-name> |
| 90 | </security-role> |
| 91 | <security-role> |
| 92 | <role-name>SiteControl-Client</role-name> |
| 93 | </security-role> |
| 94 | <security-role> |
| 95 | <role-name>MSO-Client</role-name> |
| 96 | </security-role> |
| 97 | <filter> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 98 | <filter-name>LogFilter</filter-name> |
| 99 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 100 | </filter> |
| 101 | <filter-mapping> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 102 | <filter-name>LogFilter</filter-name> |
| 103 | <url-pattern>/*</url-pattern> |
| 104 | </filter-mapping> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 105 | <welcome-file-list> |
| 106 | <welcome-file>check.html</welcome-file> |
| 107 | </welcome-file-list> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 108 | </web-app> |
| 109 | |