blob: 42a0acdf7540d87b27f11da815888ed1ae1d4ad5 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska781d18b2014-10-27 10:31:25 -07002<!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
10 ~
11 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
18 ~ under the License.
19 -->
tom0eb04ca2014-08-25 14:34:51 -070020<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
21 xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
22 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
23 id="ONOS" version="2.5">
24 <display-name>ONOS REST API v1.0</display-name>
25
26 <servlet>
27 <servlet-name>JAX-RS Service</servlet-name>
28 <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
29 <init-param>
30 <param-name>com.sun.jersey.config.property.packages</param-name>
31 <param-value>org.onlab.onos.rest</param-value>
32 </init-param>
33 <load-on-startup>1</load-on-startup>
34 </servlet>
35
36 <servlet-mapping>
37 <servlet-name>JAX-RS Service</servlet-name>
38 <url-pattern>/*</url-pattern>
39 </servlet-mapping>
40
41</web-app>