| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ============LICENSE_START======================================================= |
| ECOMP MSO |
| ================================================================================ |
| Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| ================================================================================ |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| ============LICENSE_END========================================================= |
| --> |
| <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"> |
| <display-name>MSO Common BPMN Workflow Servlet</display-name> |
| <servlet> |
| <servlet-name>resteasy-servlet</servlet-name> |
| <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> |
| <init-param> |
| <param-name>javax.ws.rs.Application</param-name> |
| <param-value>org.openecomp.mso.bpmn.common.workflow.service.WorkflowResourceApplication</param-value> |
| </init-param> |
| </servlet> |
| <servlet-mapping> |
| <servlet-name>resteasy-servlet</servlet-name> |
| <url-pattern>/*</url-pattern> |
| </servlet-mapping> |
| <context-param> |
| <param-name>mso.configuration</param-name> |
| <param-value>MSO_PROP_TOPOLOGY=topology.properties</param-value> |
| </context-param> |
| <context-param> |
| <param-name>log.configuration</param-name> |
| <param-value>logback.bpmn.xml</param-value> |
| </context-param> |
| <context-param> |
| <param-name>resteasy.resources</param-name> |
| <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.bpmn.core.HealthCheckHandler</param-value> |
| </context-param> |
| <filter> |
| <filter-name>LogFilter</filter-name> |
| <filter-class>org.openecomp.mso.logger.LogFilter</filter-class> |
| </filter> |
| <filter-mapping> |
| <filter-name>LogFilter</filter-name> |
| <url-pattern>/*</url-pattern> |
| </filter-mapping> |
| <security-constraint> |
| <web-resource-collection> |
| <web-resource-name>HTTPBasicAuth</web-resource-name> |
| <description>Authentication for Client Apps</description> |
| <url-pattern>/workflow/*</url-pattern> |
| <http-method>GET</http-method> |
| <http-method>POST</http-method> |
| </web-resource-collection> |
| <auth-constraint> |
| <role-name>BPMN-Client</role-name> |
| </auth-constraint> |
| </security-constraint> |
| <login-config> |
| <auth-method>BASIC</auth-method> |
| <realm-name>ApplicationRealm</realm-name> |
| </login-config> |
| <security-role> |
| <role-name>BPMN-Client</role-name> |
| </security-role> |
| </web-app> |