ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ECOMP MSO |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 11 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 13 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 21 | <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"> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 22 | <display-name>MSO Infrastructure BPMN Workflow Servlet</display-name> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 23 | <servlet> |
| 24 | <servlet-name>resteasy-servlet</servlet-name> |
| 25 | <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> |
| 26 | <init-param> |
| 27 | <param-name>javax.ws.rs.Application</param-name> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 28 | <param-value>org.openecomp.mso.bpmn.infrastructure.workflow.service.WorkflowResourceApplication</param-value> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 29 | </init-param> |
| 30 | </servlet> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 31 | <servlet-mapping> |
| 32 | <servlet-name>resteasy-servlet</servlet-name> |
| 33 | <url-pattern>/*</url-pattern> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 34 | </servlet-mapping> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 35 | <context-param> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 36 | <param-name>mso.configuration</param-name> |
| 37 | <param-value>MSO_PROP_TOPOLOGY=topology.properties</param-value> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 38 | </context-param> |
| 39 | <context-param> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 40 | <param-name>log.configuration</param-name> |
| 41 | <param-value>logback.bpmn.xml</param-value> |
| 42 | </context-param> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 43 | <context-param> |
| 44 | <param-name>resteasy.resources</param-name> |
| 45 | <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.bpmn.core.HealthCheckHandler</param-value> |
| 46 | </context-param> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 47 | <filter> |
| 48 | <filter-name>LogFilter</filter-name> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 49 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 50 | </filter> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 51 | <filter-mapping> |
| 52 | <filter-name>LogFilter</filter-name> |
| 53 | <url-pattern>/*</url-pattern> |
| 54 | </filter-mapping> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 55 | <security-constraint> |
| 56 | <web-resource-collection> |
| 57 | <web-resource-name>HTTPBasicAuth</web-resource-name> |
| 58 | <description>Authentication for Client Apps</description> |
| 59 | <url-pattern>/workflow/*</url-pattern> |
| 60 | <http-method>GET</http-method> |
| 61 | <http-method>POST</http-method> |
| 62 | </web-resource-collection> |
| 63 | <auth-constraint> |
| 64 | <role-name>BPMN-Client</role-name> |
| 65 | </auth-constraint> |
| 66 | </security-constraint> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 67 | <login-config> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 68 | <auth-method>BASIC</auth-method> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 69 | <realm-name>ApplicationRealm</realm-name> |
| 70 | </login-config> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 71 | <security-role> |
| 72 | <role-name>BPMN-Client</role-name> |
| 73 | </security-role> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 74 | </web-app> |