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