Refactor IT code for re-use... 80/36480/2
authorJosh <jhershbe@redhat.com>
Sun, 20 Mar 2016 11:06:57 +0000 (13:06 +0200)
committerJosh <jhershbe@redhat.com>
Sat, 26 Mar 2016 18:51:46 +0000 (20:51 +0200)
commitf66d2df333690855be76b3a83962da51158c64fc
tree6e2df5229d0a6a96a2375613d0a81569535d3540
parentdf0dbd36cdab984ebc271216ddd8668b31773157
Refactor IT code for re-use...

..and to solve race condition in NetvirtIT

1. NotifyingDataChangeListener moved into mdsal-utils
2. NodeInfo moved into new it-utils. The original
thought was to place this in southbound-utils but it
has some dependencies on net-virt code. Instead,
create it-utils which since it is designated for IT
can really depend on everything.
3. Created ItUtils class. Eventually this could and
should hold more generic IT functions, e.g.,
validateFlow, etc. There is more to do here but wanted
to get this code review rolling. This can be just phase
one.

Change-Id: I23645bfbe54762516b182446a93577ee0033e828
Signed-off-by: Josh <jhershbe@redhat.com>
14 files changed:
features/pom.xml
features/src/main/features/features.xml
openstack/net-virt-it/pom.xml
openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java
openstack/net-virt-sfc/features/test/pom.xml
openstack/net-virt-sfc/features/test/src/main/features/features.xml
openstack/net-virt-sfc/it/pom.xml
openstack/net-virt-sfc/it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/sfc/it/NetvirtSfcIT.java
utils/it-utils/pom.xml [new file with mode: 0644]
utils/it-utils/src/main/java/org/opendaylight/ovsdb/utils/it/ItUtils.java [new file with mode: 0644]
utils/it-utils/src/main/java/org/opendaylight/ovsdb/utils/it/NodeInfo.java [new file with mode: 0644]
utils/mdsal-utils/pom.xml
utils/mdsal-utils/src/main/java/org/opendaylight/ovsdb/utils/mdsal/utils/NotifyingDataChangeListener.java [new file with mode: 0644]
utils/pom.xml