ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 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-requests-db-adapter</display-name>
|
| 7 | <context-param>
|
| 8 | <param-name>resteasy.scan</param-name>
|
| 9 | <param-value>true</param-value>
|
| 10 | </context-param>
|
| 11 | <context-param>
|
| 12 | <param-name>resteasy.scan.providers</param-name>
|
| 13 | <param-value>true</param-value>
|
| 14 | </context-param>
|
| 15 | <context-param>
|
| 16 | <param-name>resteasy.scan.resources</param-name>
|
| 17 | <param-value>true</param-value>
|
| 18 | </context-param>
|
| 19 | <context-param>
|
| 20 | <param-name>mso.configuration</param-name>
|
| 21 | <param-value>MSO_PROP_TOPOLOGY=topology.properties</param-value>
|
| 22 | </context-param>
|
| 23 |
|
| 24 | <servlet>
|
| 25 | <servlet-name>Resteasy</servlet-name>
|
| 26 | <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
|
| 27 | </servlet>
|
| 28 | <servlet-mapping>
|
| 29 | <servlet-name>Resteasy</servlet-name>
|
| 30 | <url-pattern>/*</url-pattern>
|
| 31 | </servlet-mapping>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 32 |
|
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 33 | <filter>
|
| 34 | <filter-name>LogFilter</filter-name>
|
| 35 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
|
| 36 | </filter>
|
| 37 | <filter-mapping>
|
| 38 | <filter-name>LogFilter</filter-name>
|
| 39 | <url-pattern>/*</url-pattern>
|
| 40 | </filter-mapping>
|
| 41 |
|
| 42 | <context-param>
|
| 43 | <param-name>log.configuration</param-name>
|
| 44 | <param-value>logback.msorequestsdbadapter.xml</param-value>
|
| 45 | </context-param>
|
| 46 | <context-param>
|
| 47 | <param-name>resteasy.scan</param-name>
|
| 48 | <param-value>true</param-value>
|
| 49 | </context-param>
|
| 50 | <context-param>
|
| 51 | <param-name>resteasy.scan.providers</param-name>
|
| 52 | <param-value>true</param-value>
|
| 53 | </context-param>
|
| 54 | <context-param>
|
| 55 | <param-name>resteasy.scan.resources</param-name>
|
| 56 | <param-value>true</param-value>
|
| 57 | </context-param>
|
| 58 |
|
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 59 | <security-constraint>
|
| 60 | <web-resource-collection>
|
| 61 | <web-resource-name>SoapRequests</web-resource-name>
|
| 62 | <description>Soap Ingress Requests</description>
|
| 63 | <url-pattern>/RequestsDbAdapter</url-pattern>
|
| 64 | <http-method>POST</http-method>
|
| 65 | </web-resource-collection>
|
| 66 | <auth-constraint>
|
| 67 | <role-name>BPEL-Client</role-name>
|
| 68 | </auth-constraint>
|
| 69 | </security-constraint>
|
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 70 | <security-constraint>
|
| 71 | <web-resource-collection>
|
| 72 | <web-resource-name>SiteStatus</web-resource-name>
|
| 73 | <description>SiteStatus APIs</description>
|
| 74 | <url-pattern>/setStatus/*</url-pattern>
|
| 75 | <http-method>POST</http-method>
|
| 76 | </web-resource-collection>
|
| 77 | <auth-constraint>
|
| 78 | <role-name>SiteControl-Client</role-name>
|
| 79 | </auth-constraint>
|
| 80 | </security-constraint>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 81 | <security-constraint>
|
| 82 | <web-resource-collection>
|
| 83 | <web-resource-name>MSO internal Requests</web-resource-name>
|
| 84 | <description>Internal Requests</description>
|
| 85 | <url-pattern>/logging/*</url-pattern>
|
| 86 | <url-pattern>/properties/*</url-pattern>
|
| 87 | <http-method>POST</http-method>
|
| 88 | <http-method>GET</http-method>
|
| 89 | </web-resource-collection>
|
| 90 | <auth-constraint>
|
| 91 | <role-name>MSO-Client</role-name>
|
| 92 | </auth-constraint>
|
| 93 | </security-constraint>
|
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 94 | <login-config>
|
| 95 | <auth-method>BASIC</auth-method>
|
| 96 | <realm-name>ApplicationRealm</realm-name>
|
| 97 | </login-config>
|
| 98 | <security-role>
|
| 99 | <role-name>SiteControl-Client</role-name>
|
| 100 | </security-role>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 101 | <security-role>
|
| 102 | <role-name>MSO-Client</role-name>
|
| 103 | </security-role>
|
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 104 | </web-app>
|