Package keystore/truststore/transport-api 61/105761/9
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 30 Apr 2023 20:58:20 +0000 (22:58 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 2 May 2023 10:57:22 +0000 (12:57 +0200)
We have an incoming implementation of proper transport layer, add
features to support them. Note this does not separate
keystore/truststore APIs.

JIRA: NETCONF-590
Change-Id: I65b061c34c77fc0d55d893fec9d329cab95c05b0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
artifacts/pom.xml
features/features-netconf/pom.xml
features/odl-netconf-keystore/pom.xml [new file with mode: 0644]
features/odl-netconf-transport-api/pom.xml [new file with mode: 0644]
features/odl-netconf-transport-api/src/main/feature/feature.xml [new file with mode: 0644]
features/odl-netconf-truststore/pom.xml [new file with mode: 0644]
features/pom.xml

index 0bf8260024f5bbdaa23734018ab8ed0268a7b17c..73b7cf519b6888f48e8f7cb0a2232704de936bf4 100644 (file)
                 <version>${project.version}</version>
             </dependency>
 
+            <!-- NETCONF Transport features -->
+            <dependency>
+                <groupId>org.opendaylight.netconf</groupId>
+                <artifactId>odl-netconf-transport-api</artifactId>
+                <version>${project.version}</version>
+                <type>xml</type>
+                <classifier>features</classifier>
+            </dependency>
+
             <!-- YANG models -->
             <!-- RFC5277 NETCONF Event Notifications -->
             <dependency>
                 <artifactId>keystore-none</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.netconf</groupId>
+                <artifactId>odl-netconf-keystore</artifactId>
+                <version>${project.version}</version>
+                <type>xml</type>
+                <classifier>features</classifier>
+            </dependency>
 
             <!-- Truststore API and implementations. This is a manifestation of draft-ietf-netconf-truststore. -->
             <dependency>
                 <artifactId>truststore-none</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.netconf</groupId>
+                <artifactId>odl-netconf-truststore</artifactId>
+                <version>${project.version}</version>
+                <type>xml</type>
+                <classifier>features</classifier>
+            </dependency>
 
             <dependency>
                 <groupId>org.opendaylight.netconf</groupId>
index 880c1a44162bfacc0a7bd31629bf5463741f7114..9985b8a2488817d7c003160de43f3eba55a0cbcb 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-transport-api</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-keystore</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-truststore</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
     </dependencies>
 </project>
diff --git a/features/odl-netconf-keystore/pom.xml b/features/odl-netconf-keystore/pom.xml
new file mode 100644 (file)
index 0000000..fe61ae5
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © 2023 PANTHEON.tech, s.r.o. 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
+ -->
+<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">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.opendaylight.netconf</groupId>
+        <artifactId>feature-parent</artifactId>
+        <version>6.0.0-SNAPSHOT</version>
+        <relativePath>../parent</relativePath>
+    </parent>
+
+    <artifactId>odl-netconf-keystore</artifactId>
+    <packaging>feature</packaging>
+    <name>OpenDaylight :: Netconf :: Key Store</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-model-rfc8341</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>keystore-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>keystore-none</artifactId>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/features/odl-netconf-transport-api/pom.xml b/features/odl-netconf-transport-api/pom.xml
new file mode 100644 (file)
index 0000000..07f3193
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © 2023 PANTHEON.tech, s.r.o. 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
+ -->
+<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">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.opendaylight.netconf</groupId>
+        <artifactId>feature-parent</artifactId>
+        <version>6.0.0-SNAPSHOT</version>
+        <relativePath>../parent</relativePath>
+    </parent>
+
+    <artifactId>odl-netconf-transport-api</artifactId>
+    <packaging>feature</packaging>
+    <name>OpenDaylight :: Netconf :: Transport API</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.odlparent</groupId>
+            <artifactId>odl-netty-4</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>odl-yangtools-common</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>transport-api</artifactId>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/features/odl-netconf-transport-api/src/main/feature/feature.xml b/features/odl-netconf-transport-api/src/main/feature/feature.xml
new file mode 100644 (file)
index 0000000..1e592d5
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2023 PANTHEON.tech, s.r.o. 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 xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="odl-netconf-${project.version}">
+    <feature name="odl-netconf-transport-api" version="${project.version}">
+        <feature version="[12,13)">odl-netty-4</feature>
+        <feature version="[10,11)">odl-yangtools-common</feature>
+    </feature>
+</features>
diff --git a/features/odl-netconf-truststore/pom.xml b/features/odl-netconf-truststore/pom.xml
new file mode 100644 (file)
index 0000000..e8275ee
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © 2023 PANTHEON.tech, s.r.o. 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
+ -->
+<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">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.opendaylight.netconf</groupId>
+        <artifactId>feature-parent</artifactId>
+        <version>6.0.0-SNAPSHOT</version>
+        <relativePath>../parent</relativePath>
+    </parent>
+
+    <artifactId>odl-netconf-truststore</artifactId>
+    <packaging>feature</packaging>
+    <name>OpenDaylight :: Netconf :: Trust Store</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>odl-netconf-model-rfc8341</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>truststore-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.netconf</groupId>
+            <artifactId>truststore-none</artifactId>
+        </dependency>
+    </dependencies>
+</project>
index 3257de36ed293419daf4b319046b1983ff910dc6..459725651781898edb097c6322000f8335f8fb3b 100644 (file)
         <module>odl-netconf-connector</module>
         <module>odl-netconf-console</module>
         <module>odl-netconf-impl</module>
+        <module>odl-netconf-keystore</module>
         <module>odl-netconf-mdsal</module>
         <module>odl-netconf-netty-util</module>
         <module>odl-netconf-ssh</module>
         <module>odl-netconf-test-tools</module>
         <module>odl-netconf-topology</module>
+        <module>odl-netconf-transport-api</module>
+        <module>odl-netconf-truststore</module>
         <module>odl-netconf-util</module>
         <module>odl-restconf-all</module>
         <module>odl-restconf-common</module>