Clean up features-config-netty 05/89405/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 26 Apr 2020 19:37:09 +0000 (21:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 26 Apr 2020 20:20:28 +0000 (22:20 +0200)
This feature repository contains a single feature, odl-config-netty,
which really is a remnant of config subsystem.

It further attempts to unify configuration of various southbound
modules' use of Netty, which unfortunately does not work because
downstreams need have better control over verious aspects of Netty
configuration.

Furthermore not everyone is using this infrastructure, and even
then it is a bad idea, as it lowers the amount of isolation plugins
get.

Repurpose this feature repository as features-controller-experimental,
holding a single odl-controller-exp-netty-config feature. This
clearly indicates the amount of stability that can be expected
and the plan is to move downstreams away from this feature.

Change-Id: I2edb9da48795cf1ff7de68c943c1bf895f584577
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
artifacts/pom.xml
features/features-controller-experimental/pom.xml [moved from features/features-config-netty/pom.xml with 56% similarity]
features/odl-controller-exp-netty-config/pom.xml [moved from features/odl-config-netty/pom.xml with 91% similarity]
features/odl-controller-exp-netty-config/src/main/feature/feature.xml [moved from features/odl-config-netty/src/main/feature/feature.xml with 83% similarity]
features/odl-mdsal-broker-local/pom.xml
features/odl-mdsal-broker/pom.xml
features/pom.xml
karaf/pom.xml

index d11ef7c5ecb65d7f6bf8a64fe6111c67698975cc..2311567e4244ba970510736565b624d2c26d3f69 100644 (file)
             </dependency>
 
             <!-- Features -->
+            <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>features-controller-experimental</artifactId>
+                <version>${project.version}</version>
+                <classifier>features</classifier>
+                <type>xml</type>
+                <scope>runtime</scope>
+            </dependency>
             <dependency>
                 <groupId>${project.groupId}</groupId>
                 <artifactId>features-mdsal</artifactId>
             </dependency>
             <dependency>
                 <groupId>${project.groupId}</groupId>
-                <artifactId>odl-config-netty</artifactId>
+                <artifactId>odl-controller-exp-netty-config</artifactId>
                 <version>0.13.0-SNAPSHOT</version>
                 <classifier>features</classifier>
                 <type>xml</type>
similarity index 56%
rename from features/features-config-netty/pom.xml
rename to features/features-controller-experimental/pom.xml
index dbad156f9793b21bd24a69d5893b1110d046f1f4..0eeeafd6d4a9383e3a775d37725d162c13e39508 100644 (file)
     </parent>
 
     <groupId>org.opendaylight.controller</groupId>
-    <artifactId>features-config-netty</artifactId>
-    <version>0.13.0-SNAPSHOT</version>
+    <artifactId>features-controller-experimental</artifactId>
+    <version>1.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
+    <name>OpenDaylight :: Controller :: Experimental Features</name>
+    <description>Controller Experimental Features</description>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>controller-artifacts</artifactId>
+                <version>1.12.0-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
     <dependencies>
         <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>odl-config-netty</artifactId>
-            <version>${project.version}</version>
+            <groupId>org.opendaylight.controller</groupId>
+            <artifactId>odl-controller-exp-netty-config</artifactId>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
     </dependencies>
-
 </project>
similarity index 91%
rename from features/odl-config-netty/pom.xml
rename to features/odl-controller-exp-netty-config/pom.xml
index ece654dfc3bfe7802cd4d73f3966bc516e71d3be..eaaf3d2198a4fb81eb14c1d232d045d538dbef4a 100644 (file)
     </parent>
 
     <groupId>org.opendaylight.controller</groupId>
-    <artifactId>odl-config-netty</artifactId>
+    <artifactId>odl-controller-exp-netty-config</artifactId>
     <version>0.13.0-SNAPSHOT</version>
     <packaging>feature</packaging>
-
-    <name>OpenDaylight :: Config-Netty</name>
+    <name>OpenDaylight :: Controller :: Experimental :: Netty Configuration</name>
+    <description>Common configuration for Netty resources</description>
 
     <dependencies>
         <dependency>
@@ -57,5 +57,4 @@
             <artifactId>threadpool-config-impl</artifactId>
         </dependency>
     </dependencies>
-
 </project>
similarity index 83%
rename from features/odl-config-netty/src/main/feature/feature.xml
rename to features/odl-controller-exp-netty-config/src/main/feature/feature.xml
index cebeab5dbe53d4534022b13c82754fe5eccd69fa..c61f9fc3dfcc011a52771fd33761828b4231e3e2 100644 (file)
@@ -6,8 +6,8 @@
  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 xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-config-netty">
-    <feature name="odl-config-netty">
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odlodl-controller-exp-netty-config">
+    <feature name="odl-controller-exp-netty-config">
         <feature version="[7,8)">odl-netty-4</feature>
     </feature>
 </features>
index db6e40e7b2a0d034ed6b1376ae2918eb67c74aac..69eb8178ee55f3c199c2112e15d074bbe857ac9f 100644 (file)
             <artifactId>mdsal-eos-dom-simple</artifactId>
         </dependency>
 
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>odl-config-netty</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
-
         <dependency>
             <groupId>org.opendaylight.mdsal</groupId>
             <artifactId>mdsal-dom-inmemory-datastore</artifactId>
index 7b1bbf6ed9b913c9905b509d74de048ff6c5e41a..d108423778405a5e65863d55b8ca0b04365d9d07 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
-
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>odl-config-netty</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
     </dependencies>
 </project>
index 29ae8cb22b99aeba68feeb5e86d07ad605b213fe..c64b2a563b1a40b213ffd3e8a70cf4b26de26276 100644 (file)
     <!-- Common infra to cut down definitions -->
     <module>single-feature-parent</module>
 
+    <!-- Experimental features -->
+    <module>features-controller-experimental</module>
+    <module>odl-controller-exp-netty-config</module>
+
+
+
     <!-- Single features, to be cleaned up -->
     <module>odl-benchmark-api</module>
     <module>odl-clustering-test-app</module>
-    <module>odl-config-netty</module>
     <module>odl-controller-blueprint</module>
     <module>odl-controller-mdsal-common</module>
     <module>odl-controller-model-topology</module>
@@ -50,7 +55,6 @@
     <module>odl-toaster</module>
 
     <!-- Repositories, to be cleaned up -->
-    <module>features-config-netty</module>
     <module>features-extras</module>
     <module>features-mdsal</module>
     <module>features-mdsal-benchmark</module>
index 7598c8f484525c945937be8bfe27537e830f6c97..beffc09253a8d180cdae6f218c403863dc2f6904 100644 (file)
   <version>1.15.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>mdsal-parent</artifactId>
+        <version>1.12.0-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <dependencies>
     <dependency>
       <!-- scope is compile so all features (there is only one) are installed
           Note: Nothing should go here that is not locked
           down with testing... ie, no broken feature repos
     -->
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>features-controller-experimental</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
 
     <!-- MD-SAL Related Features -->
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>features-mdsal</artifactId>
-      <version>1.12.0-SNAPSHOT</version>
       <classifier>features</classifier>
       <type>xml</type>
       <scope>runtime</scope>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>features-extras</artifactId>
-      <version>${project.version}</version>
       <classifier>features</classifier>
+      <version>${project.version}</version>
       <type>xml</type>
       <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal</groupId>
       <artifactId>features-mdsal</artifactId>
-      <version>6.0.0</version>
       <classifier>features</classifier>
       <type>xml</type>
       <scope>runtime</scope>