Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [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" |
| 6 | version="3.0"> |
| 7 | <display-name>mso-workflow-message-adapter</display-name> |
| 8 | <welcome-file-list> |
| 9 | <welcome-file>check.html</welcome-file> |
| 10 | </welcome-file-list> |
| 11 | <context-param> |
| 12 | <param-name>log.configuration</param-name> |
| 13 | <param-value>logback.workflow-message-adapter.xml</param-value> |
| 14 | </context-param> |
| 15 | <context-param> |
| 16 | <param-name>mso.configuration</param-name> |
| 17 | <param-value>MSO_PROP_WORKFLOW_MESSAGE_ADAPTER=mso.workflow-message-adapter.properties,MSO_PROP_TOPOLOGY=topology.properties,MSO_PROP_AAF=cadi.properties</param-value> |
| 18 | </context-param> |
| 19 | <context-param> |
| 20 | <param-name>resteasy.resources</param-name> |
| 21 | <param-value> |
| 22 | org.openecomp.mso.logger.MsoLoggingServlet, |
| 23 | org.openecomp.mso.MsoStatusHandler, |
| 24 | org.openecomp.mso.adapters.workflowmessage.WMAdapterRest |
| 25 | </param-value> |
| 26 | </context-param> |
| 27 | <servlet> |
| 28 | <servlet-name>Resteasy</servlet-name> |
| 29 | <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> |
| 30 | </servlet> |
| 31 | <servlet-mapping> |
| 32 | <servlet-name>Resteasy</servlet-name> |
| 33 | <url-pattern>/*</url-pattern> |
| 34 | </servlet-mapping> |
| 35 | <filter> |
| 36 | <filter-name>LogFilter</filter-name> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 37 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class> |
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 38 | </filter> |
| 39 | <filter-mapping> |
| 40 | <filter-name>LogFilter</filter-name> |
| 41 | <url-pattern>/*</url-pattern> |
| 42 | </filter-mapping> |
| 43 | <listener> |
| 44 | <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class> |
| 45 | </listener> |
| 46 | <security-constraint> |
| 47 | <web-resource-collection> |
| 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>MSO internal Requests</web-resource-name> |
| 60 | <description>Internal Requests</description> |
| 61 | <url-pattern>/rest/logging/*</url-pattern> |
| 62 | <url-pattern>/rest/properties/*</url-pattern> |
| 63 | <http-method>POST</http-method> |
| 64 | <http-method>GET</http-method> |
| 65 | </web-resource-collection> |
| 66 | <auth-constraint> |
| 67 | <role-name>MSO-Client</role-name> |
| 68 | </auth-constraint> |
| 69 | </security-constraint> |
| 70 | <login-config> |
| 71 | <auth-method>BASIC</auth-method> |
| 72 | <realm-name>ApplicationRealm</realm-name> |
| 73 | </login-config> |
| 74 | <security-role> |
| 75 | <role-name>SiteControl-Client</role-name> |
| 76 | </security-role> |
| 77 | <security-role> |
| 78 | <role-name>MSO-Client</role-name> |
| 79 | </security-role> |
| 80 | </web-app> |