Adding EVC rest enpoint for CarrierEthernet app
Change-Id: Ie6a1c0e5ab1fe1cd17d0fefb892f51cf540ead3e
diff --git a/carrierethernet/pom.xml b/carrierethernet/pom.xml
index 4ef8f36..1a97a99 100644
--- a/carrierethernet/pom.xml
+++ b/carrierethernet/pom.xml
@@ -13,20 +13,19 @@
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.onosproject</groupId>
<artifactId>onos-dependencies</artifactId>
- <version>1.8.0</version>
+ <version>1.9.0</version>
<relativePath/><!-- parent is remote -->
</parent>
<groupId>org.onosproject</groupId>
<artifactId>onos-app-carrierethernet</artifactId>
- <version>1.8.0-SNAPSHOT</version>
+ <version>04.2017</version>
<packaging>bundle</packaging>
<description>Application for installing MEF services in ONOS</description>
@@ -34,12 +33,17 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <onos.version>1.8.0</onos.version>
+ <onos.version>1.9.0</onos.version>
+ <api.version>1.0.0</api.version>
<onos.app.name>org.onosproject.ecord.carrierethernet</onos.app.name>
<onos.app.origin>ON.Lab</onos.app.origin>
<onos.app.requires>org.onosproject.newoptical</onos.app.requires>
+ <api.description>Carrier Ethernet REST APIs</api.description>
<onos.app.category>Traffic Steering</onos.app.category>
+ <web.context>/onos</web.context>
+ <api.title>Carrier Ethernet REST APIs</api.title>
<onos.app.title>Carrier Ethernet</onos.app.title>
+ <api.package>org.onosproject.ecord.carrierethernet.rest</api.package>
<onos.app.url>https://wiki.onosproject.org/display/ONOS/Carrier+Ethernet+Application</onos.app.url>
</properties>
@@ -64,7 +68,7 @@
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-apps-newoptical</artifactId>
- <version>${onos.version}</version>
+ <version>1.10.0-SNAPSHOT</version>
</dependency>
<dependency>
@@ -109,6 +113,48 @@
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>javax.ws.rs-api</artifactId>
+ <version>2.0.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ <version>2.8.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.onosproject</groupId>
+ <artifactId>onos-rest</artifactId>
+ <version>${onos.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>2.8.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-servlet</artifactId>
+ <version>2.25</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>5.0.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.onosproject</groupId>
+ <artifactId>onlab-rest</artifactId>
+ <version>${onos.version}</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
@@ -128,6 +174,16 @@
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
<extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <_wab>src/main/webapp/</_wab>
+ <Include-Resource>WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
+ {maven-resources}</Include-Resource>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Import-Package>*,org.glassfish.jersey.servlet</Import-Package>
+ <Web-ContextPath>${web.context}</Web-ContextPath>
+ </instructions>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>