From: Ed Warnicke Date: Mon, 5 May 2014 19:53:40 +0000 (+0000) Subject: Merge "Bug 949: Fixed support for DataChangeListeners listening directly on Augmentation" X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~139 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=576170185844b9fbd7f522704ba36b13ce77abd1;hp=d50fd36087206b887af371ab36ca56f4727ca756 Merge "Bug 949: Fixed support for DataChangeListeners listening directly on Augmentation" --- diff --git a/opendaylight/commons/opendaylight/pom.xml b/opendaylight/commons/opendaylight/pom.xml index e0891662ea..0ba356581f 100644 --- a/opendaylight/commons/opendaylight/pom.xml +++ b/opendaylight/commons/opendaylight/pom.xml @@ -1766,6 +1766,7 @@ generate-sources + src/main/yang ${jmxGeneratorPath} ${salGeneratorPath} ${xtend.dstdir} @@ -1862,7 +1863,7 @@ - + diff --git a/opendaylight/config/pom.xml b/opendaylight/config/pom.xml index bd2924ad9d..7c244f57fc 100644 --- a/opendaylight/config/pom.xml +++ b/opendaylight/config/pom.xml @@ -112,31 +112,6 @@ gmaven-plugin 1.0 - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.opendaylight.yangtools - yang-maven-plugin - [0.5.7-SNAPSHOT,) - - generate-sources - - - - - - - - - - org.opendaylight.yangtools yang-maven-plugin diff --git a/opendaylight/md-sal/pom.xml b/opendaylight/md-sal/pom.xml index 4e933c5bcf..b003ba15e5 100644 --- a/opendaylight/md-sal/pom.xml +++ b/opendaylight/md-sal/pom.xml @@ -89,19 +89,6 @@ - - - org.opendaylight.yangtools - yang-maven-plugin - [0,) - - generate-sources - - - - - - net.alchim31.maven diff --git a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfDevice.java b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfDevice.java index aa5c6f40a9..2ed941851b 100644 --- a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfDevice.java +++ b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfDevice.java @@ -222,7 +222,7 @@ public class NetconfDevice implements Provider, // logger.debug("Client capabilities {}", capabilities); for (QName capability : capabilities) { - it.addLeaf(NETCONF_INVENTORY_INITIAL_CAPABILITY, capability); + it.addLeaf(NETCONF_INVENTORY_INITIAL_CAPABILITY, capability.toString()); } logger.debug("Update device state transaction " + transaction.getIdentifier() diff --git a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfMapping.java b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfMapping.java index f0b711d368..55e17c56b3 100644 --- a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfMapping.java +++ b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfMapping.java @@ -135,7 +135,7 @@ public class NetconfMapping { SchemaContext schemaContext = ctx.get(); Set notifications = schemaContext.getNotifications(); Document document = message.getDocument(); - return XmlDocumentUtils.notificationToDomNodes(document, Optional.fromNullable(notifications)); + return XmlDocumentUtils.notificationToDomNodes(document, Optional.fromNullable(notifications), ctx.get()); } return null; } @@ -192,7 +192,7 @@ public class NetconfMapping { rawRpc = it.toInstance(); // sys(xmlData) } else { - rawRpc = (CompositeNode) toCompositeNode(message.getDocument()); + rawRpc = (CompositeNode) toCompositeNode(message, context); } else { rawRpc = (CompositeNode) toCompositeNode(message.getDocument()); diff --git a/opendaylight/md-sal/samples/toaster/pom.xml b/opendaylight/md-sal/samples/toaster/pom.xml index 4222daae13..5c8b20a4e3 100644 --- a/opendaylight/md-sal/samples/toaster/pom.xml +++ b/opendaylight/md-sal/samples/toaster/pom.xml @@ -20,36 +20,6 @@ - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.opendaylight.yangtools - yang-maven-plugin - [0.5,) - - generate-sources - - - - - - - - - - - - org.opendaylight.yangtools diff --git a/opendaylight/netconf/netconf-it/pom.xml b/opendaylight/netconf/netconf-it/pom.xml index 0c03dda45b..ce52032320 100644 --- a/opendaylight/netconf/netconf-it/pom.xml +++ b/opendaylight/netconf/netconf-it/pom.xml @@ -161,6 +161,10 @@ 1 false false + + com.google.collections:google-collections + org.ops4j.pax.url:pax-url-aether + diff --git a/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/entities/Pool.java b/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/entities/Pool.java index ae48a3a451..86e6a360dd 100644 --- a/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/entities/Pool.java +++ b/opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/entities/Pool.java @@ -164,7 +164,7 @@ public class Pool { public boolean removeVIP(String name){ for(VIP vip: this.vips){ if(vip.getName().equals(name)){ - this.members.remove(vip); + this.vips.remove(vip); return true; } }