Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [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
|
| 11 |
|
| 12 | http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
|
| 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 | -->
|
| 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">
|
| 22 | <display-name>MSO Infrastructure BPMN Workflow Servlet</display-name>
|
| 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>
|
Rob Daugherty | d1b3bf0 | 2018-03-29 11:19:55 -0400 | [diff] [blame] | 28 | <param-value>org.openecomp.mso.bpmn.infrastructure.workflow.service.WorkflowResourceApplication</param-value>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 29 | </init-param>
|
| 30 | </servlet>
|
| 31 | <servlet-mapping>
|
| 32 | <servlet-name>resteasy-servlet</servlet-name>
|
| 33 | <url-pattern>/*</url-pattern>
|
| 34 | </servlet-mapping>
|
| 35 | <context-param>
|
Rob Daugherty | 38f7207 | 2018-03-14 02:07:32 -0400 | [diff] [blame] | 36 | <param-name>contextConfigLocation</param-name>
|
| 37 | <param-value>/WEB-INF/applicationContext.xml</param-value>
|
| 38 | </context-param>
|
| 39 | <context-param>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 40 | <param-name>mso.configuration</param-name>
|
subhash kumar singh | 0075d1d | 2018-04-12 08:47:54 +0000 | [diff] [blame] | 41 | <param-value>MSO_PROP_TOPOLOGY=topology.properties,MSO_PROP_APIHANDLER_INFRA=mso.apihandler-infra.properties</param-value>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 42 | </context-param>
|
| 43 | <context-param>
|
| 44 | <param-name>log.configuration</param-name>
|
| 45 | <param-value>logback.bpmn.xml</param-value>
|
| 46 | </context-param>
|
| 47 | <context-param>
|
| 48 | <param-name>resteasy.resources</param-name>
|
| 49 | <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.bpmn.core.HealthCheckHandler</param-value>
|
| 50 | </context-param>
|
Rob Daugherty | 38f7207 | 2018-03-14 02:07:32 -0400 | [diff] [blame] | 51 | <listener>
|
| 52 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
biniek | 0b027e2 | 2018-04-19 15:02:18 +0200 | [diff] [blame^] | 53 | </listener>
|
| 54 | <listener>
|
subhash kumar singh | 6431c6e | 2018-04-07 10:34:48 +0000 | [diff] [blame] | 55 | <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
|
Rob Daugherty | 38f7207 | 2018-03-14 02:07:32 -0400 | [diff] [blame] | 56 | </listener>
|
subhash kumar singh | 6431c6e | 2018-04-07 10:34:48 +0000 | [diff] [blame] | 57 |
|
| 58 | <context-param>
|
| 59 | <param-name>resteasy.jndi.resources</param-name>
|
| 60 | <param-value>java:module/MsoPropertiesFactory</param-value>
|
| 61 | </context-param>
|
Determe, Sebastien (sd378r) | 94ee925 | 2017-05-02 03:53:18 -0700 | [diff] [blame] | 62 | <filter>
|
| 63 | <filter-name>LogFilter</filter-name>
|
| 64 | <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
|
| 65 | </filter>
|
| 66 | <filter-mapping>
|
| 67 | <filter-name>LogFilter</filter-name>
|
| 68 | <url-pattern>/*</url-pattern>
|
| 69 | </filter-mapping>
|
| 70 | <security-constraint>
|
| 71 | <web-resource-collection>
|
| 72 | <web-resource-name>HTTPBasicAuth</web-resource-name>
|
| 73 | <description>Authentication for Client Apps</description>
|
| 74 | <url-pattern>/workflow/*</url-pattern>
|
| 75 | <http-method>GET</http-method>
|
| 76 | <http-method>POST</http-method>
|
| 77 | </web-resource-collection>
|
| 78 | <auth-constraint>
|
| 79 | <role-name>BPMN-Client</role-name>
|
| 80 | </auth-constraint>
|
| 81 | </security-constraint>
|
| 82 | <login-config>
|
| 83 | <auth-method>BASIC</auth-method>
|
| 84 | <realm-name>ApplicationRealm</realm-name>
|
| 85 | </login-config>
|
| 86 | <security-role>
|
| 87 | <role-name>BPMN-Client</role-name>
|
| 88 | </security-role>
|
Rob Daugherty | bb5668f | 2017-09-19 18:08:26 -0400 | [diff] [blame] | 89 | </web-app>
|