Remove SouthboundProvider.db 25/110725/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 13 Mar 2024 23:46:01 +0000 (00:46 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 14 Mar 2024 00:53:40 +0000 (01:53 +0100)
commitffb4cf120818df72f63801c6f10c6ba9951f4285
tree39ad4b7339a50711471b314a845c0941c8dee7a8
parent2a2b3f59163943f7512317ef543f41eb572e4d1d
Remove SouthboundProvider.db

We have access to the properly-injected DataBroker, used that instead of
the static field.

Also fixes some cases where we access DTO properties multiple times.

JIRA: OVSDB-468
Change-Id: I328b59c8027e27512ae14d451b372c1a1b664608
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/AutoAttachRemovedCommand.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/AutoAttachUpdateCommand.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/BridgeOperationalState.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/TerminationPointUpdateCommand.java
southbound/southbound-impl/src/test/java/org/opendaylight/ovsdb/southbound/SouthboundProviderTest.java
southbound/southbound-impl/src/test/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/BridgeOperationalStateTest.java