From 622163b47f6ecbc995ac3aba7d7b531b55933860 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Sat, 21 Feb 2015 04:34:14 +0000 Subject: [PATCH] Revert "BUG-2637: migrate features" This reverts commit 300d247c3c68387bf0bed3fc9dd90558ebe01f3f. 300d247c3c68387bf0bed3fc9dd90558ebe01f3f broke because the flow-features were not migrated properly to openflowplugin. Change-Id: I6502a93b10b4c5ee41d037da216092cdf003d17f Signed-off-by: Ed Warnicke --- features/flow/pom.xml | 41 ++++++++++++++++++- features/flow/src/main/resources/features.xml | 15 +++++++ .../md-sal/sal-binding-broker/pom.xml | 3 -- .../test/sal/binding/it/TestHelper.java | 2 + .../test/sal/binding/it/NotificationTest.java | 1 + .../sample/toaster/it/ToasterTest.java | 2 + .../md-sal/samples/toaster-provider/pom.xml | 21 ---------- 7 files changed, 60 insertions(+), 25 deletions(-) diff --git a/features/flow/pom.xml b/features/flow/pom.xml index d4a3f02762..53b45d2810 100644 --- a/features/flow/pom.xml +++ b/features/flow/pom.xml @@ -24,6 +24,26 @@ xml + + org.opendaylight.controller.md + statistics-manager-config + ${mdsal.version} + xml + config + + + + org.opendaylight.controller.model + model-flow-base + + + org.opendaylight.controller.model + model-flow-service + + + org.opendaylight.controller.model + model-flow-statistics + org.opendaylight.controller.model model-inventory @@ -32,7 +52,26 @@ org.opendaylight.controller.model model-topology - + + org.opendaylight.controller.md + topology-manager + + + org.opendaylight.controller.md + topology-lldp-discovery + + + org.opendaylight.controller.md + statistics-manager + + + org.opendaylight.controller.md + inventory-manager + + + org.opendaylight.controller.md + forwardingrules-manager + org.opendaylight.yangtools diff --git a/features/flow/src/main/resources/features.xml b/features/flow/src/main/resources/features.xml index 860d0c27a2..cf54e8b446 100644 --- a/features/flow/src/main/resources/features.xml +++ b/features/flow/src/main/resources/features.xml @@ -6,7 +6,22 @@ mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features odl-yangtools-models + mvn:org.opendaylight.controller.model/model-flow-base/${project.version} + mvn:org.opendaylight.controller.model/model-flow-service/${project.version} + mvn:org.opendaylight.controller.model/model-flow-statistics/${project.version} mvn:org.opendaylight.controller.model/model-inventory/${project.version} mvn:org.opendaylight.controller.model/model-topology/${project.version} + + odl-mdsal-broker + odl-flow-model + mvn:org.opendaylight.controller.md/topology-manager/${project.version} + mvn:org.opendaylight.controller.md/topology-lldp-discovery/${project.version} + mvn:org.opendaylight.controller.md/statistics-manager/${project.version} + mvn:org.opendaylight.controller.md/inventory-manager/${project.version} + mvn:org.opendaylight.controller.md/forwardingrules-manager/${project.version} + mvn:org.opendaylight.controller/liblldp/${sal.version} + mvn:org.opendaylight.controller.md/statistics-manager-config/${mdsal.version}/xml/config + + diff --git a/opendaylight/md-sal/sal-binding-broker/pom.xml b/opendaylight/md-sal/sal-binding-broker/pom.xml index 1cf0f7f097..9346e223df 100644 --- a/opendaylight/md-sal/sal-binding-broker/pom.xml +++ b/opendaylight/md-sal/sal-binding-broker/pom.xml @@ -50,17 +50,14 @@ org.opendaylight.controller.model model-flow-base - test org.opendaylight.controller.model model-flow-service - test org.opendaylight.controller.model model-flow-statistics - test org.opendaylight.yangtools diff --git a/opendaylight/md-sal/sal-binding-it/src/main/java/org/opendaylight/controller/test/sal/binding/it/TestHelper.java b/opendaylight/md-sal/sal-binding-it/src/main/java/org/opendaylight/controller/test/sal/binding/it/TestHelper.java index 9f5bdd439e..96f52bd8dc 100644 --- a/opendaylight/md-sal/sal-binding-it/src/main/java/org/opendaylight/controller/test/sal/binding/it/TestHelper.java +++ b/opendaylight/md-sal/sal-binding-it/src/main/java/org/opendaylight/controller/test/sal/binding/it/TestHelper.java @@ -156,6 +156,8 @@ public class TestHelper { public static Option flowCapableModelBundles() { return new DefaultCompositeOption( // + mavenBundle(CONTROLLER_MODELS, "model-flow-base").versionAsInProject(), // // + mavenBundle(CONTROLLER_MODELS, "model-flow-service").versionAsInProject(), // // mavenBundle(CONTROLLER_MODELS, "model-inventory").versionAsInProject() // ); diff --git a/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java b/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java index 41208091cf..e1d5d0060d 100644 --- a/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java +++ b/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java @@ -165,6 +165,7 @@ public class NotificationTest extends AbstractTest { } /** + * * Implements * {@link OpendaylightTestNotificationListener} and contains attributes which keep lists of objects of * the type {@link OutOfFairyDustNotification}. diff --git a/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java b/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java index 93b398f5b1..30f1762197 100644 --- a/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java +++ b/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java @@ -31,6 +31,7 @@ import static org.junit.Assert.assertEquals; import static org.opendaylight.controller.test.sal.binding.it.TestHelper.baseModelBundles; import static org.opendaylight.controller.test.sal.binding.it.TestHelper.bindingAwareSalBundles; import static org.opendaylight.controller.test.sal.binding.it.TestHelper.configMinumumBundles; +import static org.opendaylight.controller.test.sal.binding.it.TestHelper.flowCapableModelBundles; import static org.opendaylight.controller.test.sal.binding.it.TestHelper.junitAndMockitoBundles; import static org.opendaylight.controller.test.sal.binding.it.TestHelper.mdSalCoreBundles; import static org.ops4j.pax.exam.CoreOptions.mavenBundle; @@ -66,6 +67,7 @@ public class ToasterTest { configMinumumBundles(), // BASE Models baseModelBundles(), + flowCapableModelBundles(), // Set fail if unresolved bundle present systemProperty("pax.exam.osgi.unresolved.fail").value("true"), diff --git a/opendaylight/md-sal/samples/toaster-provider/pom.xml b/opendaylight/md-sal/samples/toaster-provider/pom.xml index dd9810388d..08f0988b5c 100644 --- a/opendaylight/md-sal/samples/toaster-provider/pom.xml +++ b/opendaylight/md-sal/samples/toaster-provider/pom.xml @@ -64,27 +64,6 @@ test - - com.google.guava - guava - - - org.opendaylight.yangtools - yang-binding - - - org.opendaylight.yangtools.model - yang-ext - - - org.opendaylight.yangtools.model - ietf-yang-types - - - org.opendaylight.yangtools.model - opendaylight-l2-types - - -- 2.36.6