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 old MD-SAL APIs for removal These APIs are slated for removal in Aluminium, make sure our warning is more stern. JIRA: CONTROLLER-1917 Change-Id: Ib4f7dcfd5183b87dd10b9ce2b773a59a548892c9 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Fix modernization issues This fixes issues pointed out by Modernizer, which mostly boil down to using Objects.requireNonNull() and direct java.util collections. Change-Id: Id32530a6722cd101f96c23f6a745f91b2f09e2f9 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>
Remove unused exceptions This drops exception declarations which are never used. Change-Id: Icc8938b9c3b437a0d5961ec1b481fd06c52d47f2 Signed-off-by: Stephen Kitt <skitt@redhat.com>
Fix checkstyle violations in sal-binding-util and sal-schema-service Change-Id: I96c37055e8f632ab5ea7dd5c6111039a57430887 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Create a parent pom for md-sal sub-projects This will contain common configurations for checkstyle and findbugs (once all violations are fixed). Also, isolates the config system dependencies in one place which will make it easier to remove CSS. Change-Id: Ifcf4bcd5e1b96483714bad51858264f511c21237 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Bump yangtools to 2.0.0 This bumps odlparent to 3.0.1 and yangtools to 2.0.0. Also fixes references to features, so that the build reactor is consistent. Compilation fixes are addressed in a follow-up patch. Change-Id: I24f9997c2ec22861e674b74fb01d43f783e3dbc1 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump odlparent 2.0.4 to 2.0.5 Also moves config/rpc-context.yang to include revision, making the tests compatible with both 1.2.0 and 2.0.0 version of yangtools. Change-Id: Ic7eb7d8fd27f5f3e5ae0f0aea9ab642a9b1b6fac Signed-off-by: Stephen Kitt <skitt@redhat.com> Signed-off-by: Robert Varga <robert.varga@pantheon.tech>