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>
Do not use Binding DTO compat methods This removes the use of compat methods, preferring explicit instantiation of the correct type. Change-Id: Ie3b739e1e31ba2762cdda92444f4734a8ac47ae8 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump mdsal to 5.0.2 This bumps mdsal to 5.0.2 as part of Magnesium MRI. Change-Id: I93e10e95b7a241d678829afb732e2adef82c1a24 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump odlparent to 6.0.0 This bumps odlparent to 6.0.0 as part of Magnesium MRI. Change-Id: I084c6a32c4facafd85e3b87c6d8a9a29a33848a8 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Suppress modernization Modernize as much as possible, but as we have legacy APIs in play, we have to add also some suppressions. Change-Id: I844821f129ad0bb0e186b6a4848a6d2937513f7b Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate from YangInstanceIdentifier.EMPTY This migrates to the replacement empty() method. Change-Id: I32ca026a33835edb16f8e1e6142e9192c880076b 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>
Move createProxy() This is a simple internal method, inline it. Change-Id: I5568f95f31c2487441fb19dbf3d33e02de5ada2a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Fixup checkstyle Updated checkstyle does not like some our docs, fix them up. Change-Id: I2d4f608fe9c44a56cdcac511cc1e2ae75c03b413 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Remove BindingToNormalizedNodeCodec service export This service is not used anywhere (not should it be), remove it. Change-Id: I841065ff4932c4d56ca20bd3c465da4fe814216c 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>
Make private methods static Eclipse is flagging a number of methods as potentially-static, make sure we mark them as such. Change-Id: I4254dd29716f4365d71f81c3f3a0e7a9590d9801 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Remove sal-binding-broker dependency on javassist We are not using Javassist anymore, remove the dependency on it. Change-Id: I46e8f30e002d13d324779f461ac0365b67a6f70a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump mdsal to 4.0.1 Upgrade mdsal to 4.0.1 and remove most references to Javassist and its associated streamer implementation. Change-Id: Ia9dc2c886217f1c353db6523b654e993ed9a397a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>