Rename *rfc8040 to *rfc8040-ietf-restconf 83/112583/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 16 Jul 2024 15:51:17 +0000 (17:51 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 16 Jul 2024 15:51:17 +0000 (17:51 +0200)
We are now packaging two models which are completely independent. Keep
them as two features, following such model packaging guidelines.

Change-Id: I89f2172b25935db65585468e6d55f05db43b5575
JIRA: MDSAL-862
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
15 files changed:
artifacts/pom.xml
binding/mdsal-binding-test-model/pom.xml
docs/pom.xml
features/odl-mdsal-model-rfc8040-ietf-restconf/pom.xml [moved from features/odl-mdsal-model-rfc8040/pom.xml with 83% similarity]
features/odl-mdsal-model-rfc8040-ietf-restconf/src/main/feature/feature.xml [moved from features/odl-mdsal-model-rfc8040/src/main/feature/feature.xml with 67% similarity]
features/odl-mdsal-model-rfc8072/pom.xml
features/odl-mdsal-model-rfc8639/pom.xml
features/pom.xml
karaf/pom.xml
model/ietf/pom.xml
model/ietf/rfc8040-ietf-restconf/pom.xml [moved from model/ietf/rfc8040/pom.xml with 95% similarity]
model/ietf/rfc8040-ietf-restconf/src/main/yang/ietf-restconf@2017-01-26.yang [moved from model/ietf/rfc8040/src/main/yang/ietf-restconf@2017-01-26.yang with 100% similarity]
model/ietf/rfc8072/pom.xml
model/ietf/rfc8639/pom.xml
model/ietf/rfc8641/pom.xml

index d8cd0da403871335ed9447a4194c51fbea28e21f..2dd2d684ecfd0bdb01223475347f2d9379c83c89 100644 (file)
             <!-- RFC8040 -->
             <dependency>
                 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-                <artifactId>rfc8040</artifactId>
+                <artifactId>rfc8040-ietf-restconf</artifactId>
                 <version>14.0.0-SNAPSHOT</version>
             </dependency>
             <dependency>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.mdsal.model</groupId>
-                <artifactId>odl-mdsal-model-rfc8040</artifactId>
+                <artifactId>odl-mdsal-model-rfc8040-ietf-restconf</artifactId>
                 <version>14.0.0-SNAPSHOT</version>
                 <classifier>features</classifier>
                 <type>xml</type>
index 3fe7a40ff3aa8f62526e8666c69821e1bb4c0b62..e41d064fb791e41219e919e6891813f1f5859174 100644 (file)
@@ -35,7 +35,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
index 2d4d3ccd0c2fabf226eb743ccfee57fa33984ae3..2ce799ae75f0cdd3e9c230dc54c200e026a01bf6 100644 (file)
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
similarity index 83%
rename from features/odl-mdsal-model-rfc8040/pom.xml
rename to features/odl-mdsal-model-rfc8040-ietf-restconf/pom.xml
index 072e8a03c6303c07957ccc78b7b24d54195298f1..71cbff0af56d80694a2d77ae3e7eea0a1831a2d8 100644 (file)
     </parent>
 
     <groupId>org.opendaylight.mdsal.model</groupId>
-    <artifactId>odl-mdsal-model-rfc8040</artifactId>
+    <artifactId>odl-mdsal-model-rfc8040-ietf-restconf</artifactId>
     <version>14.0.0-SNAPSHOT</version>
     <packaging>feature</packaging>
-    <name>OpenDaylight :: MD-SAL :: Model :: RFC8040</name>
-    <description>Models from RFC8040</description>
+    <name>OpenDaylight :: MD-SAL :: Model :: RFC8040 ietf-restconf</name>
+    <description>ietf-restconf module from RFC8040</description>
 
     <dependencies>
         <dependency>
@@ -31,7 +31,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
     </dependencies>
 </project>
similarity index 67%
rename from features/odl-mdsal-model-rfc8040/src/main/feature/feature.xml
rename to features/odl-mdsal-model-rfc8040-ietf-restconf/src/main/feature/feature.xml
index da904a9017ce7d666280aee24acf1edc75c10a2b..ee82f67fc086c1374ccae959c574288554b8ae98 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-binding-base">
-    <feature name="odl-mdsal-model-rfc8040">
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-mdsal-model-rfc8040-ietf-restconf">
+    <feature name="odl-mdsal-model-rfc8040-ietf-restconf">
         <feature version="[14,15)">odl-yangtools-binding-spec</feature>
     </feature>
 </features>
index 44a92fe64f135c542d9db1fa89e215b760d5fd37..5aef0ba16846634ad78f4bb01f602a97e6088dbc 100644 (file)
@@ -25,7 +25,7 @@
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
-            <artifactId>odl-mdsal-model-rfc8040</artifactId>
+            <artifactId>odl-mdsal-model-rfc8040-ietf-restconf</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
index 0b59e925a797106a65470f1207f7a9057d11c738..57aca12f02245175b02d414b49feef1f85627540 100644 (file)
@@ -26,7 +26,7 @@
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
-            <artifactId>odl-mdsal-model-rfc8040</artifactId>
+            <artifactId>odl-mdsal-model-rfc8040-ietf-restconf</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
index cf17427554ff19f0f534666f1ef96ecd62074ad8..935c0091e5f4e56ab1ffe6433c482fa40f7e1798 100644 (file)
@@ -77,7 +77,7 @@
         <module>odl-mdsal-model-rfc7317-iana-crypt-hash</module>
         <module>odl-mdsal-model-rfc7407-ietf-x509-cert-to-name</module>
         <module>odl-mdsal-model-rfc7952</module>
-        <module>odl-mdsal-model-rfc8040</module>
+        <module>odl-mdsal-model-rfc8040-ietf-restconf</module>
         <module>odl-mdsal-model-rfc8040-ietf-restconf-monitoring</module>
         <module>odl-mdsal-model-rfc8072</module>
         <module>odl-mdsal-model-rfc8294</module>
index b2fae3a58949f0b7a3e79e924a9a072757b2c961..3f55a2b41ce7b209d86d463f53e86b5f88f01b05 100644 (file)
     </dependency>
     <dependency>
         <groupId>org.opendaylight.mdsal.model</groupId>
-        <artifactId>odl-mdsal-model-rfc8040</artifactId>
+        <artifactId>odl-mdsal-model-rfc8040-ietf-restconf</artifactId>
         <classifier>features</classifier>
         <type>xml</type>
     </dependency>
index 4d59732fd534a2e72a488248def96e8ce285c017..62428fc6128b023012507579d01432e211a68d82 100644 (file)
@@ -49,8 +49,7 @@
         <module>rfc7407-ietf-x509-cert-to-name</module>
 
         <!-- RFC8040 RESTCONF -->
-        <!-- FIXME: rename to rfc8040-ietf-restconf -->
-        <module>rfc8040</module>
+        <module>rfc8040-ietf-restconf</module>
         <module>rfc8040-ietf-restconf-monitoring</module>
 
         <!-- RFC8072 YANG Patch -->
similarity index 95%
rename from model/ietf/rfc8040/pom.xml
rename to model/ietf/rfc8040-ietf-restconf/pom.xml
index 8299c407a4bc92086591ff6678748aab2e6014e9..43c8ccac918e0433c7ef8bf8cde96208bcd44dd3 100644 (file)
     </parent>
 
     <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-    <artifactId>rfc8040</artifactId>
+    <artifactId>rfc8040-ietf-restconf</artifactId>
     <version>14.0.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>${project.artifactId}</name>
-    <description>RFC8040 RESTCONF Protocol</description>
+    <description>RFC8040 ietf-restconf</description>
 
     <dependencies>
         <dependency>
index d0979df307d58e2fec284c6aeae2cabb901bb56e..528c46600d6dd2300d551ec03a3908b015224399 100644 (file)
@@ -27,7 +27,7 @@
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
     </dependencies>
 
index 0a45a03a9ed537b9b3394145fd72f46ae8c82bc8..3303c90ed51fcd880ef44c4f0183d85424d73268 100644 (file)
@@ -36,7 +36,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
index 1598220aad4fc1f175fd416d518cb8997e97cb69..11de1c6779e35ba97185da1a29f2a11fb5f4eb56 100644 (file)
@@ -36,7 +36,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc8040</artifactId>
+            <artifactId>rfc8040-ietf-restconf</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>