Remove deprecated MD-SAL APIs The APIs in controller have been deprecated for removal and cannot sustain an upgrade to Guava-28+. Remove them along with all supporting implementations. JIRA: CONTROLLER-1903 Change-Id: I213797b7045cfd7bef744e249614e2b1f6169c1c Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Deprecate all MD-SAL APIs These APIs have either been completely deprecated or have their replacements in the mdsal project. Mark all of them as deprecated, including their implementations. JIRA: CONTROLLER-1902 Change-Id: I903afcef57c70c1013ab479cfcf31a42f475dc0f Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Cache reflection operations in AbstractSchemaAwareTest The design of AbstractSchemaAwareTest requires reflection-based loading of SchemaContext for each test case, which is slow. Instantiate weak caches to speed up tests which are co-located on the same class loader. Change-Id: I1a79d7e99f6efcccab37445f3de25a74cb6f02b6 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Simplify code using Java 8 features * List::sort * lambda expressions * Comparator::comparing... * Collection::removeIf * method references * Map::computeIfAbsent * Map::merge Change-Id: I1793591c071c7ce5465939afe8b4846b769b5953 Signed-off-by: Stephen Kitt <skitt@redhat.com>
Use moved BindingReflections BindingReflections are being evacuated from yang-binding, use them from their new location. Change-Id: Ib14971102980688227f1f761c17a22362d4e7e3c Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Convert DCL tests to use DTCL Change-Id: I05bd3a9b42e1ab3d9a1e682aaacb585aee313e7a Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix checkstyle violations in sal-binding-broker Change-Id: Ia5bcaa7073ff3fb4c004864649e8f5bc2bf23281 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Bug 8163: Use MT DTCL executor in AbstractConcurrentDataBrokerTest Using a direct executor can cause deadlocks so the DTCL executor was made configurable to use a threadpool as an opt-in. Direct executor is still the default as many existing tests would break. Change-Id: I41e14f1e6d3b77a44e61dfc75abff29d11a777dc Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Bug 3090: An AsyncDataChangeEvent instance's getCreatedData() added tests Change-Id: Icfa7d1ef72962cb96929eddcabe51d7b0037f606 Signed-off-by: Filip Gregor <fgregor@cisco.com>