Convert ntfbenchmark to blueprint 18/58418/4
authorTom Pantelis <tompantelis@gmail.com>
Wed, 7 Jun 2017 14:04:06 +0000 (10:04 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 8 Jun 2017 15:48:46 +0000 (11:48 -0400)
Change-Id: I6e4fe58575783d94cf9d01dbcd5b45d50d8b0f60
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
14 files changed:
benchmark/ntfbenchmark/pom.xml
benchmark/ntfbenchmark/src/main/config/default-config.xml [deleted file]
benchmark/ntfbenchmark/src/main/config/maven-metadata-local.xml [deleted file]
benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchmarkProvider.java
benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java [deleted file]
benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModuleFactory.java [deleted file]
benchmark/ntfbenchmark/src/main/resources/org/opendaylight/blueprint/ntfbenchmark.xml [new file with mode: 0644]
benchmark/ntfbenchmark/src/main/yang/ntfbenchmark-impl.yang [deleted file]
features/benchmark/features-mdsal-benchmark/pom.xml
features/benchmark/features-mdsal-benchmark/src/main/features/features.xml
features/benchmark/odl-mdsal-benchmark/pom.xml
features/benchmark/odl-mdsal-benchmark/src/main/feature/feature.xml
features/benchmark/odl-ntfbenchmark/pom.xml
features/benchmark/odl-ntfbenchmark/src/main/feature/feature.xml [deleted file]

index fbf9b91dd564649d87277ff0b3a2574b891cd8e9..53bd833fa99fcdc4e04a3bd2137cc85ea08f4bbd 100644 (file)
@@ -9,10 +9,10 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 <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">
 
   <parent>
 <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">
 
   <parent>
-    <groupId>org.opendaylight.controller</groupId>
-    <artifactId>config-parent</artifactId>
-    <version>0.7.0-SNAPSHOT</version>
-    <relativePath>../../opendaylight/config/config-parent/pom.xml</relativePath>
+    <groupId>org.opendaylight.mdsal</groupId>
+    <artifactId>binding-parent</artifactId>
+    <version>0.11.0-SNAPSHOT</version>
+    <relativePath/>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
@@ -20,12 +20,29 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <artifactId>ntfbenchmark</artifactId>
   <version>1.4.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <artifactId>ntfbenchmark</artifactId>
   <version>1.4.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>1.6.0-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <dependencies>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>benchmark-api</artifactId>
       <version>${project.version}</version>
     </dependency>
   <dependencies>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>benchmark-api</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>sal-binding-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-core-api</artifactId>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-core-api</artifactId>
diff --git a/benchmark/ntfbenchmark/src/main/config/default-config.xml b/benchmark/ntfbenchmark/src/main/config/default-config.xml
deleted file mode 100644 (file)
index 9853304..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
-Copyright (c) 2015 Cisco Systems Inc. and others.  All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
--->
-<snapshot>
-  <required-capabilities>
-      <capability>urn:opendaylight:params:xml:ns:yang:ntfbenchmark:impl?module=ntfbenchmark-impl&amp;revision=2014-12-10</capability>
-      <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
-  </required-capabilities>
-  <configuration>
-
-    <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
-      <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
-        <module>
-          <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:ntfbenchmark:impl">prefix:ntfbenchmark</type>
-          <name>ntfbenchmark-default</name>
-          <broker>
-            <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
-            <name>binding-osgi-broker</name>
-          </broker>
-           <publish-service>
-            <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-publish-service</type>
-            <name>binding-notification-publish-adapter</name>
-          </publish-service>
-           <listen-service>
-            <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-new-notification-service</type>
-            <name>binding-notification-adapter</name>
-          </listen-service>
-        </module>
-      </modules>
-    </data>
-  </configuration>
-</snapshot>
diff --git a/benchmark/ntfbenchmark/src/main/config/maven-metadata-local.xml b/benchmark/ntfbenchmark/src/main/config/maven-metadata-local.xml
deleted file mode 100644 (file)
index cf4dd85..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<metadata modelVersion="1.1.0">
-  <groupId>org.opendaylight.controller</groupId>
-  <artifactId>ntfbenchmark</artifactId>
-  <version>1.1.0-SNAPSHOT</version>
-  <versioning>
-    <snapshot>
-      <localCopy>true</localCopy>
-    </snapshot>
-    <lastUpdated>20151113053911</lastUpdated>
-    <snapshotVersions>
-      <snapshotVersion>
-        <classifier>config</classifier>
-        <extension>xml</extension>
-        <value>1.1.0-SNAPSHOT</value>
-        <updated>20151113053911</updated>
-      </snapshotVersion>
-    </snapshotVersions>
-  </versioning>
-</metadata>
index c41729e45ea42b5dfd654b31b9c2ed59c0a7fb98..4b2a1ebdf3b2fd50d6ed7c93dde1f287b8927a78 100644 (file)
@@ -15,11 +15,8 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.Executors;
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
-
 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
 import org.opendaylight.controller.md.sal.binding.api.NotificationService;
 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
 import org.opendaylight.controller.md.sal.binding.api.NotificationService;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
-import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.NtfbenchmarkService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.StartTestInput;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.StartTestInput.ProducerType;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.NtfbenchmarkService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.StartTestInput;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.rev150105.StartTestInput.ProducerType;
@@ -32,11 +29,11 @@ import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class NtfbenchmarkProvider implements BindingAwareProvider, AutoCloseable, NtfbenchmarkService {
+public class NtfbenchmarkProvider implements AutoCloseable, NtfbenchmarkService {
 
     private static final Logger LOG = LoggerFactory.getLogger(NtfbenchmarkProvider.class);
 
     private static final Logger LOG = LoggerFactory.getLogger(NtfbenchmarkProvider.class);
-    private NotificationService listenService;
-    private NotificationPublishService publishService;
+    private final NotificationService listenService;
+    private final NotificationPublishService publishService;
     private static final int testTimeout = 5;
 
     public NtfbenchmarkProvider(final NotificationService listenServiceDependency,
     private static final int testTimeout = 5;
 
     public NtfbenchmarkProvider(final NotificationService listenServiceDependency,
@@ -46,15 +43,13 @@ public class NtfbenchmarkProvider implements BindingAwareProvider, AutoCloseable
         publishService = publishServiceDependency;
     }
 
         publishService = publishServiceDependency;
     }
 
-    @Override
-    public void onSessionInitiated(final ProviderContext session) {
-        LOG.debug("NtfbenchmarkProvider Session Initiated");
-        session.addRpcImplementation(NtfbenchmarkService.class, this);
+    public void init() {
+        LOG.info("NtfbenchmarkProvider initiated");
     }
 
     @Override
     public void close() throws Exception {
     }
 
     @Override
     public void close() throws Exception {
-        LOG.debug("NtfbenchmarkProvider Closed");
+        LOG.info("NtfbenchmarkProvider closed");
     }
 
     @Override
     }
 
     @Override
@@ -128,8 +123,8 @@ public class NtfbenchmarkProvider implements BindingAwareProvider, AutoCloseable
                             .setListenerOk(allListeners)
                             .setProducerOk(allProducersOk)
                             .setProducerError(allProducersError)
                             .setListenerOk(allListeners)
                             .setProducerOk(allProducersOk)
                             .setProducerError(allProducersError)
-                            .setProducerRate(((allProducersOk + allProducersError) * 1000000000) / producerElapsedTime)
-                            .setListenerRate((allListeners * 1000000000) / listenerElapsedTime)
+                            .setProducerRate((allProducersOk + allProducersError) * 1000000000 / producerElapsedTime)
+                            .setListenerRate(allListeners * 1000000000 / listenerElapsedTime)
                            .build();
             return RpcResultBuilder.success(output).buildFuture();
         } finally {
                            .build();
             return RpcResultBuilder.success(output).buildFuture();
         } finally {
diff --git a/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java b/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java
deleted file mode 100644 (file)
index d418dff..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2015 Cisco Systems Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210;
-
-import ntfbenchmark.impl.NtfbenchmarkProvider;
-
-public class NtfbenchmarkModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210.AbstractNtfbenchmarkModule {
-    public NtfbenchmarkModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier, final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(identifier, dependencyResolver);
-    }
-
-    public NtfbenchmarkModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier, final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, final org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210.NtfbenchmarkModule oldModule, final java.lang.AutoCloseable oldInstance) {
-        super(identifier, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public void customValidation() {
-        // add custom validation form module attributes here.
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        NtfbenchmarkProvider provider = new NtfbenchmarkProvider(getListenServiceDependency(), getPublishServiceDependency());
-        getBrokerDependency().registerProvider(provider);
-        return provider;
-    }
-
-}
diff --git a/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModuleFactory.java b/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModuleFactory.java
deleted file mode 100644 (file)
index 43d7a2e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2015 Cisco Systems Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/*
-* Generated file
-*
-* Generated from: yang module name: ntfbenchmark yang module local name: ntfbenchmark
-* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
-* Generated at: Fri Jan 02 13:49:24 CST 2015
-*
-* Do not modify this file unless it is present under src/main directory
-*/
-package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210;
-public class NtfbenchmarkModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210.AbstractNtfbenchmarkModuleFactory {
-
-}
diff --git a/benchmark/ntfbenchmark/src/main/resources/org/opendaylight/blueprint/ntfbenchmark.xml b/benchmark/ntfbenchmark/src/main/resources/org/opendaylight/blueprint/ntfbenchmark.xml
new file mode 100644 (file)
index 0000000..93ba1ce
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2017 Inocybe Technologies Inc. and others.  All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+           odl:use-default-for-reference-types="true">
+
+  <reference id="publishService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"/>
+  <reference id="listenerService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"/>
+
+  <bean id="provider" class="ntfbenchmark.impl.NtfbenchmarkProvider"
+          init-method="init" destroy-method="close">
+    <argument ref="publishService"/>
+    <argument ref="listenerService"/>
+  </bean>
+
+  <odl:rpc-implementation ref="provider"/>
+</blueprint>
diff --git a/benchmark/ntfbenchmark/src/main/yang/ntfbenchmark-impl.yang b/benchmark/ntfbenchmark/src/main/yang/ntfbenchmark-impl.yang
deleted file mode 100644 (file)
index b12e10f..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-module ntfbenchmark-impl {
-    yang-version 1;
-    namespace "urn:opendaylight:params:xml:ns:yang:ntfbenchmark:impl";
-    prefix "ntfbenchmark-impl";
-
-    import config { prefix config; revision-date 2013-04-05; }
-    import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
-    import opendaylight-sal-binding-broker-impl {prefix binding-impl; revision-date 2013-10-28;}
-
-    description
-        "Service definition for ntfbenchmark project";
-
-    revision "2014-12-10" {
-        description
-            "Initial revision";
-    }
-
-    identity ntfbenchmark {
-        base config:module-type;
-        config:java-name-prefix Ntfbenchmark;
-    }
-
-    augment "/config:modules/config:module/config:configuration" {
-        case ntfbenchmark {
-            when "/config:modules/config:module/config:type = 'ntfbenchmark'";
-            container broker {
-                uses config:service-ref {
-                    refine type {
-                        mandatory true;
-                        config:required-identity md-sal-binding:binding-broker-osgi-registry;
-                    }
-                }
-            }
-            container publish-service {
-                uses config:service-ref {
-                    refine type {
-                        mandatory true;
-                        config:required-identity binding-impl:binding-new-notification-publish-service;
-                    }
-                }
-            }
-            container listen-service {
-                uses config:service-ref {
-                    refine type {
-                        mandatory true;
-                        config:required-identity binding-impl:binding-new-notification-service;
-                    }
-                }
-            }
-
-        }
-    }
-}
index dea279b584aa28ce508567c6a48719cc6b6cd577..72e9812fcdb96e5f7973148e6487bc7204b3e471 100644 (file)
@@ -68,13 +68,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
       <artifactId>ntfbenchmark</artifactId>
       <version>${project.version}</version>
     </dependency>
       <artifactId>ntfbenchmark</artifactId>
       <version>${project.version}</version>
     </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>ntfbenchmark</artifactId>
-      <version>${project.version}</version>
-      <type>xml</type>
-      <classifier>config</classifier>
-    </dependency>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>rpcbenchmark</artifactId>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>rpcbenchmark</artifactId>
index 9e5e5c89545934a54947714d8a768d374a121f36..b1a1a1889a9b587ab0de5eb87e5be9964ee0ba15 100644 (file)
@@ -27,7 +27,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
     <feature version='${project.version}'>odl-benchmark-api</feature>
     <bundle>mvn:org.opendaylight.controller/ntfbenchmark/{{VERSION}}</bundle>
     <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature>
     <feature version='${project.version}'>odl-benchmark-api</feature>
     <bundle>mvn:org.opendaylight.controller/ntfbenchmark/{{VERSION}}</bundle>
-    <configfile finalname="ntfbenchmark-impl-default-config.xml">mvn:org.opendaylight.controller/ntfbenchmark/{{VERSION}}/xml/config</configfile>
   </feature>
   <feature name='odl-mdsal-benchmark' version='${project.version}' description='OpenDaylight :: dsbenchmark :: '>
     <feature version='${project.version}'>odl-dsbenchmark</feature>
   </feature>
   <feature name='odl-mdsal-benchmark' version='${project.version}' description='OpenDaylight :: dsbenchmark :: '>
     <feature version='${project.version}'>odl-dsbenchmark</feature>
index 22ad6301c83d721a1c224c8995872e84a69d7a60..ec732703e81ccef8f7368e3d0d96c72c8db82a1a 100644 (file)
             <artifactId>rpcbenchmark</artifactId>
             <version>${project.version}</version>
         </dependency>
             <artifactId>rpcbenchmark</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <!-- finalname="ntfbenchmark-impl-default-config.xml" -->
-            <groupId>${project.groupId}</groupId>
-            <artifactId>ntfbenchmark</artifactId>
-            <version>${project.version}</version>
-            <type>xml</type>
-            <classifier>config</classifier>
-        </dependency>
         <dependency>
             <!-- finalname="rpcbenchmark-impl-default-config.xml" -->
             <groupId>${project.groupId}</groupId>
         <dependency>
             <!-- finalname="rpcbenchmark-impl-default-config.xml" -->
             <groupId>${project.groupId}</groupId>
index 36d134267b49b47597561d1c0fe40ddf08f81523..f5f1e0a9c2206db7455da9e1128d54b63d1c35bc 100644 (file)
@@ -8,9 +8,6 @@
  -->
 <features name="odl-dsbenchmark-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
     <feature name="odl-mdsal-benchmark" version="${project.version}">
  -->
 <features name="odl-dsbenchmark-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
     <feature name="odl-mdsal-benchmark" version="${project.version}">
-        <configfile finalname="ntfbenchmark-impl-default-config.xml">
-            mvn:org.opendaylight.controller/ntfbenchmark/${project.version}/xml/config
-        </configfile>
         <configfile finalname="rpcbenchmark-impl-default-config.xml">
             mvn:org.opendaylight.controller/rpcbenchmark/${project.version}/xml/config
         </configfile>
         <configfile finalname="rpcbenchmark-impl-default-config.xml">
             mvn:org.opendaylight.controller/rpcbenchmark/${project.version}/xml/config
         </configfile>
index 4ef19c8bf81f6891c03543b6bd14e582a031189c..03dd870d102c2071febb37e050d1a691b2bf05c5 100644 (file)
             <artifactId>ntfbenchmark</artifactId>
             <version>${project.version}</version>
         </dependency>
             <artifactId>ntfbenchmark</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <!-- finalname="ntfbenchmark-impl-default-config.xml" -->
-            <groupId>${project.groupId}</groupId>
-            <artifactId>ntfbenchmark</artifactId>
-            <version>${project.version}</version>
-            <type>xml</type>
-            <classifier>config</classifier>
-        </dependency>
     </dependencies>
 
     </dependencies>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/features/benchmark/odl-ntfbenchmark/src/main/feature/feature.xml b/features/benchmark/odl-ntfbenchmark/src/main/feature/feature.xml
deleted file mode 100644 (file)
index ee4127b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright © 2016, 2017 Red Hat, Inc. and others.
-
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v1.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v10.html
- -->
-<features name="odl-dsbenchmark-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
-    <feature name="odl-ntfbenchmark" version="${project.version}">
-        <configfile finalname="ntfbenchmark-impl-default-config.xml">
-            mvn:org.opendaylight.controller/ntfbenchmark/${project.version}/xml/config
-        </configfile>
-    </feature>
-</features>