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>
Another round of checkstyle fixes This fixes failures reported by upgraded checkstyle, as well as some non-enforced violations. Change-Id: I8b6a9667c6586bef528587d455f7a8597b4f483f 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>
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>
Fixup Augmentable and Identifiable methods changing This is a fixup of the change in binding codegen, adjusting: - getKey() -> key() - setKey() -> withKey() - getAugmentation() -> augmentation() As a drive-by cleanup, some more references to CheckedFuture are gone. Change-Id: Ifa573f93d1776ab2db98524df4da63259e811767 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Convert DCL tests to use DTCL Change-Id: I05bd3a9b42e1ab3d9a1e682aaacb585aee313e7a Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Adjust to yangtools-2.0.0 changes Change-Id: Ib86747e5ed19c0c00bb46b8d7e4936f4d90c4364 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> Signed-off-by: Stephen Kitt <skitt@redhat.com>
Bug 8568: Convert sal-binding-dom-it tests to use DataBroker Converted the tests in sal-binding-dom-it to use the DataBroker API instead of the deprecated DataProviderService. Change-Id: I6d4a3442d3c5cf5ddf34806b6a71454c48e3b54a Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix license header violations in sal-binding-dom-it Change-Id: I542ab52fd8bdbedfee3e469c8672a7981340d153 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Remove deprecation suppression Suppressed deprecation leads to false sense of completeness. This patch removes suppression in tests, so we see how muchh of the code relies on deprecated APIs. Change-Id: I01d56f3ef4fe385806a8fbebdbe96fd6af63828c Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG 2412 - Remove CompositeNode from sal-dom-* * removed CompositeNodes from sal-dom-broker * removed deprecated services from sal-dom-broker * removed deprecated services from sal-dom-api * removed deprecated api calls from sal-binding-broker tests and sal-dom-spi Change-Id: Iae44e5c0acd0ad602bf98b9961fcd808657ac07b Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
BUG 2412 - remove CompositeNode from sal-binding-dom-it * removed all CompositeNodes from tests which used it. Tests have to be rewriten with NormalizedNodes ASAP. Change-Id: Ib666f9fb9de9fc35e1be554cb630ea5f01f6617e Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Bug 868: Removed use of CompositeNode Binding Codecs. Change-Id: Iaaf22bd8bc788f26814e06873b483bf0424ceaf2 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Bug 2682 - Switch sal-binding-dom-it to sal-test-model * Migration to sal-test-model Change-Id: If46014ec4cc8b3311a7766bcb2cb9a61b9e71592 Signed-off-by: Jan Hajnar <jhajnar@cisco.com> Signed-off-by: Martin Bobak <mbobak@cisco.com> Signed-off-by: Michal Rehak <mirehak@cisco.com>
Remove old dependencies - Remove stale dependencies that prevent releasing of artifacts - Remove unused flow-management-compatibility and inventory-topology-compatibility modules - Make sure that if a dependency is on module with a version defined by a variable, lets specify the version in the dependency management in common pom - Replace in netconf-cli the reference from yang-data-json to yang-data-composite-node because yang-data-json has been removed - Removed whitespaces in config-netty-config that would cause checkstyle issues downstream otherwise Change-Id: I866e4b36e71c004b925bd181412ff4df91b3091f Signed-off-by: Giovanni Meo <gmeo@cisco.com>
BUG-1416 clean up flow statistic models - duplicate flow model removed from statistics augment - statistics notification processing adapted - sal-binding-dom-it fixed Change-Id: I7ad5bae45b47f5ea8ed918459fc83cbd839b0e3a Signed-off-by: Michal Rehak <mirehak@cisco.com>
BUG-1092: adjust to YangInstanceIdentifier This is a compation to I1e30a0df93d8bfb891d047c58abcb117d4006c76, adjusting the components to use the new name. Change-Id: I615763240581e850f7752f82e44d752c8fceb169 Signed-off-by: Robert Varga <rovarga@cisco.com>
Bug 1223: Cleaned up BindingTestContext from unsupported components. Change-Id: I26123a2a9d56c85dcc329fda0727e7e3e664c829 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Minor cleanup of test suites in MD-SAL - Added SuppressWarning("deprecation") to test suites which test backwards compatibility with Hydrogen APIs - Marked test which needs to be rewritten for new DataBroker API - Removed superflous version for test dependencies Change-Id: I6e8805e1895bc2171aa5c653d8d87fd8b5c9055b Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
BUG-272: remove trailing whitespace from Java files Preparatory patch, bulk-removes all trailing whitespace from Java files. Change-Id: I1fbef5746df7277b3865429d4faa82fc8ba8cbb5 Signed-off-by: Robert Varga <rovarga@cisco.com>