Merge "Close read-only transactions"
authorTomas Cere <tomas.cere@pantheon.tech>
Wed, 15 May 2019 07:15:30 +0000 (07:15 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 15 May 2019 07:15:30 +0000 (07:15 +0000)
features/netconf-connector/odl-netconf-connector/pom.xml
features/netconf/odl-netconf-api/pom.xml
features/netconf/odl-netconf-notifications-impl/pom.xml
features/restconf/odl-restconf-common/pom.xml
features/restconf/odl-restconf-nb-bierman02/pom.xml
netconf/mdsal-netconf-connector/pom.xml
netconf/mdsal-netconf-notification/src/main/java/org/opendaylight/netconf/mdsal/notification/impl/ops/NotificationsTransformUtil.java
netconf/messagebus-netconf/src/main/java/org/opendaylight/netconf/messagebus/eventsources/netconf/NetconfEventSourceMount.java
netconf/netconf-parent/pom.xml
restconf/restconf-parent/pom.xml

index e441e364771eeed3071a1fa117f6d86545b51771..202213e6c2720f2379022e248e3138e2c643121d 100644 (file)
@@ -28,7 +28,7 @@
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>4.0.0</version>
+                <version>4.0.1</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
index 7da5eb94ada95fc4ca5ac81859fb52826345e8ea..9bd9d72cdaa3425d315323d21c93fd6024637bad 100644 (file)
@@ -35,7 +35,7 @@
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>4.0.0</version>
+                <version>4.0.1</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
index 53d78d022c576e87f84fb525e3449bdbcb543520..88622d93470101acfe266b425bf0e5508d58e722 100644 (file)
@@ -28,7 +28,7 @@
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>4.0.0</version>
+                <version>4.0.1</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
index c5d989245aa71688a46fe550124c44d13fa2c4ea..b336f44a98661878673a671bb54c5cf8b664b6bd 100644 (file)
@@ -35,7 +35,7 @@
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>4.0.0</version>
+                <version>4.0.1</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
index 31272e661f6b69938a718be66f1128fe06489bf6..6e2c338e98d854bc4b6bb819ee95151be9de50fa 100644 (file)
@@ -28,7 +28,7 @@
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>4.0.0</version>
+                <version>4.0.1</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
index bbc8d3b8f3979ca6819ed7b5d44ed2d3b0630ba2..162aeace7affab6d38da5d74c3f51ce883088c94 100644 (file)
       <artifactId>ietf-netconf</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.opendaylight.controller</groupId>
-      <artifactId>sal-broker-impl</artifactId>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>mdsal-dom-broker</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>mdsal-dom-inmemory-datastore</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
index 24c669e86849ec4d3c80326fcce111957e567d1d..c146200e9906b4fa6a02b5f4603d6a430b612e84 100644 (file)
@@ -15,14 +15,11 @@ import java.io.IOException;
 import java.util.Collections;
 import java.util.Date;
 import java.util.Optional;
-import javassist.ClassPool;
 import javax.xml.stream.XMLStreamException;
 import javax.xml.transform.dom.DOMResult;
-import org.opendaylight.mdsal.binding.dom.codec.gen.impl.StreamWriterGenerator;
 import org.opendaylight.mdsal.binding.dom.codec.impl.BindingNormalizedNodeCodecRegistry;
 import org.opendaylight.mdsal.binding.generator.impl.ModuleInfoBackedContext;
 import org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext;
-import org.opendaylight.mdsal.binding.generator.util.JavassistUtils;
 import org.opendaylight.netconf.api.xml.XmlUtil;
 import org.opendaylight.netconf.notifications.NetconfNotification;
 import org.opendaylight.netconf.util.NetconfUtil;
@@ -52,9 +49,7 @@ public final class NotificationsTransformUtil {
 
         Preconditions.checkNotNull(CREATE_SUBSCRIPTION_RPC);
 
-        final JavassistUtils javassist = JavassistUtils.forClassPool(ClassPool.getDefault());
-        CODEC_REGISTRY = new BindingNormalizedNodeCodecRegistry(StreamWriterGenerator.create(javassist));
-        CODEC_REGISTRY.onBindingRuntimeContextUpdated(BindingRuntimeContext.create(moduleInfoBackedContext,
+        CODEC_REGISTRY = new BindingNormalizedNodeCodecRegistry(BindingRuntimeContext.create(moduleInfoBackedContext,
                 NOTIFICATIONS_SCHEMA_CTX));
     }
 
index 223354d615b4b6e2367d246545f3c8527a2c4946..c67995b4126d753fb4187fca6b188beaa8ba50ae 100644 (file)
@@ -17,12 +17,9 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Optional;
 import java.util.concurrent.ExecutionException;
-import javassist.ClassPool;
-import org.opendaylight.mdsal.binding.dom.codec.gen.impl.StreamWriterGenerator;
 import org.opendaylight.mdsal.binding.dom.codec.impl.BindingNormalizedNodeCodecRegistry;
 import org.opendaylight.mdsal.binding.generator.impl.ModuleInfoBackedContext;
 import org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext;
-import org.opendaylight.mdsal.binding.generator.util.JavassistUtils;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
 import org.opendaylight.mdsal.dom.api.DOMDataBroker;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeReadTransaction;
@@ -64,9 +61,7 @@ class NetconfEventSourceMount {
                 .xml.ns.netmod.notification.rev080714.$YangModuleInfoImpl.getInstance()));
         SchemaContext notificationsSchemaCtx = moduleInfoBackedContext.tryToCreateSchemaContext().get();
 
-        final JavassistUtils javassist = JavassistUtils.forClassPool(ClassPool.getDefault());
-        CODEC_REGISTRY = new BindingNormalizedNodeCodecRegistry(StreamWriterGenerator.create(javassist));
-        CODEC_REGISTRY.onBindingRuntimeContextUpdated(BindingRuntimeContext.create(moduleInfoBackedContext,
+        CODEC_REGISTRY = new BindingNormalizedNodeCodecRegistry(BindingRuntimeContext.create(moduleInfoBackedContext,
                 notificationsSchemaCtx));
     }
 
index 9c051a43f877de74f1c5a051b5ac47d6cfcfa27f..c569b4e20928b649f82dc03b102860ac07bf1a67 100644 (file)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>4.0.0</version>
+    <version>4.0.1</version>
     <relativePath/>
   </parent>
 
index 71d9ed32e57f70c283c559766b616db23543c057..06e896dd6ab27d1fa59f9c8891c147051d16653c 100644 (file)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>4.0.0</version>
+    <version>4.0.1</version>
     <relativePath/>
   </parent>