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>
Removed deprecated methods from BindingAwareProvider Also deprecated BindingAwareBroker.registerConsumer(BindingAwareConsumer,BundleContext) in favor of the newly added: BindingAwareBroker.registerConsumer(BindingAwareConsumer) and BindingAwareBroker.registerProvider(BindingAwareProvider,BundleContext) in favor of the newly added: BindingAwareBroker.registerProvider(BindingAwareProvider) Change-Id: Id256c81a7210640b9a493a3f0fc71a9e0379e317 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Cleanup imports/whitespace in MD-SAL Change-Id: I0f18ffe229ed213308a0cd5cf343fd64ff79a17c Signed-off-by: Robert Varga <rovarga@cisco.com>
Bulk-add copyright headers to java files Change-Id: I8c23739a21f3f6cecb138f62a54efbabf03b9c55 Signed-off-by: Robert Varga <rovarga@cisco.com>
Fixed deployment of mount points (dynamic instances of MD-SAL) - Converted some xtend sources into Java classes - Added mount point deployer - service responsible for deploying dynamic instances of MD-SAL, which have separate context and could be created and retrieved via MountService. Change-Id: I9c0798e2f5f0af647d97b22a2da2f6c46bf9b72d Signed-off-by: Tony Tkacik <ttkacik@cisco.com>