[ONOS-5805] MEF NRP REST API app for CE App
Migrating MEF NRP API translation app to onos-app-samples.
- Originally developed mainly by Konstantinos Kanonakis <kanonakisk@gmail.com>
- fixed NRP example JSON
Change-Id: If846dab4e08dcd17bc65a475b72fb3dc1a58cd9d
diff --git a/mef-nrp-api/features.xml b/mef-nrp-api/features.xml
new file mode 100644
index 0000000..acc4098
--- /dev/null
+++ b/mef-nrp-api/features.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+ ~ Copyright 2015 Open Networking Laboratory
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ 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.
+ -->
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="${project.artifactId}-${project.version}">
+ <feature name="${project.artifactId}" version="${project.version}"
+ description="${project.description}">
+ <feature>onos-api</feature>
+ <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/${jackson.version}</bundle>
+ <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/${jackson.version}</bundle>
+ <bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
+ <!-- Extra bundles due to MEF NRP API -->
+ <bundle>mvn:io.swagger/swagger-annotations/${swagger-core-version}</bundle>
+ <bundle>mvn:io.swagger/swagger-core/${swagger-core-version}</bundle>
+ <bundle>mvn:io.swagger/swagger-models/${swagger-core-version}</bundle>
+ <bundle>mvn:io.swagger/swagger-jaxrs/${swagger-core-version}</bundle>
+ <bundle>mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/${jackson.version}</bundle>
+ <bundle>mvn:com.google.guava/guava/18.0</bundle> <!-- swagger needs this -->
+ <bundle>wrap:mvn:org.reflections/reflections/0.9.10</bundle> <!-- swagger needs this -->
+ <!-- End of extra bundles due to MEF NRP API -->
+ </feature>
+</features>