1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <display-name>MUSIC</display-name>
5 <servlet-name>music-servlet</servlet-name>
7 com.sun.jersey.spi.container.servlet.ServletContainer
9 <!-- this enables jersey jackson logging.
11 <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
12 <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
16 <param-name>com.sun.jersey.config.property.packages</param-name>
18 io.swagger.jaxrs.json,
19 io.swagger.jaxrs.listing,
21 org.onap.music.exceptions
25 <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
26 <param-value>true</param-value>
28 <load-on-startup>1</load-on-startup>
33 <servlet-name>Jersey2Config</servlet-name>
34 <servlet-class>io.swagger.jaxrs.config.DefaultJaxrsConfig</servlet-class>
36 <param-name>api.version</param-name>
37 <param-value>1.0.0</param-value>
40 <param-name>swagger.api.basepath</param-name>
41 <param-value>http://localhost:8080/MUSIC/rest</param-value>
43 <load-on-startup>2</load-on-startup>
48 <servlet-name>music-servlet</servlet-name>
49 <url-pattern>/rest/*</url-pattern>
53 <welcome-file>index.html</welcome-file>
54 <welcome-file>index.htm</welcome-file>
55 <welcome-file>index.jsp</welcome-file>
56 <welcome-file>default.html</welcome-file>
57 <welcome-file>default.htm</welcome-file>
58 <welcome-file>default.jsp</welcome-file>
62 ============LICENSE_START==========================================
64 ===================================================================
65 Copyright (c) 2017 AT&T Intellectual Property
66 ===================================================================
67 Licensed under the Apache License, Version 2.0 (the "License");
68 you may not use this file except in compliance with the License.
69 You may obtain a copy of the License at
71 http://www.apache.org/licenses/LICENSE-2.0
73 Unless required by applicable law or agreed to in writing, software
74 distributed under the License is distributed on an "AS IS" BASIS,
75 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
76 See the License for the specific language governing permissions and
77 limitations under the License.
79 ============LICENSE_END=============================================
80 ====================================================================