tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 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" |
| 3 | xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
| 4 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
| 5 | id="ONOS" version="2.5"> |
| 6 | <display-name>ONOS REST API v1.0</display-name> |
| 7 | |
| 8 | <servlet> |
| 9 | <servlet-name>JAX-RS Service</servlet-name> |
| 10 | <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> |
| 11 | <init-param> |
| 12 | <param-name>com.sun.jersey.config.property.packages</param-name> |
| 13 | <param-value>org.onlab.onos.rest</param-value> |
| 14 | </init-param> |
| 15 | <load-on-startup>1</load-on-startup> |
| 16 | </servlet> |
| 17 | |
| 18 | <servlet-mapping> |
| 19 | <servlet-name>JAX-RS Service</servlet-name> |
| 20 | <url-pattern>/*</url-pattern> |
| 21 | </servlet-mapping> |
| 22 | |
| 23 | </web-app> |