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>
Reduce JSR305 proliferation retention=runtime annotations are mixing really badly with Java EE injection and Java 11. Make sure we do not use javax.annotation package in APIs and reduce overall proliferation inside implementations. Change-Id: I569815f0336efdc0de662c3b80f0fa6e5dd47d8a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Deprecate controller APIs Deprecated the high-level interfaces, eg DataBroker. Change-Id: I754e3a5059c05d70616f3bd4ff3a00a05115fead Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Remove sal.core.api.BrokerService This interface has been long deprecated and it is not really used anywhere. Remove it. Change-Id: I8dcee98f19d80df4532891f73776dc4c268ef025 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Fix checkstyle violations in sal-dom-api Change-Id: I2be21dbde5cca70ca327828fd479779ceb958c3e Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix javadocs and enable doclint This eliminates the doclint suppression and fixes up javadoc, so they work with Java 8 out of the box. Change-Id: I7294f0dcd570e3e3c445e54cc8989078175d05d7 Signed-off-by: Robert Varga <rovarga@cisco.com>
Mechanical code cleanup (sal-dom-api) * Remove unnecessary type specifiers (use Java 7 <>) * Remove unnecessary "extends Object" declarations * Remove unnecessary semi-colons * Merge identical catch blocks * Remove redundant modifiers: - enum constructors are private by default - interface properties are public static final by default - interface methods are public abstract by default - interfaces are abstract by default - inner interfaces are static by default - inner classes in interfaces are public static by default Change-Id: I88c96965215d2f5dbf60967afe4a4ddbaed0072f Signed-off-by: Stephen Kitt <skitt@redhat.com>
Introduce DOMNotificationRejectedException DOMNotificationPublishService.REJECTED wraps a throwable, which may cause problems with code which attempts to unwind it, as frameworks tend to propagate Throwables rather than wrapping them. Change-Id: I77d7ceeef8213425636dab92f6994fcd3f1443e9 Signed-off-by: Robert Varga <rovarga@cisco.com> (cherry picked from commit 12bf820406245feb0285317a88e5c7b3c9829ce6)
Bug 2578 - Added Binding Adapters for new Notification Broker Implement and integrate Binding to DOM Notification adapters * implemented forwarded notification broker * added simple test for forwarded notification broker * added configuration of new modules and services to md-sal config Change-Id: I259c971f0dc61bc1b00cbaad2956c3d8b37ff780 Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
BUG-2288: DOMNotification API This API definition tries to fix the missing pieces in the CompositeNode-centered APIs, such as inability to drop a notification rather than waiting for resources needed to publish it to become available. Also adds missing documentation to the DOMService concept, which is used by the two services being defined. Change-Id: I93d22cf6121a7cf231b2da424e94d14b59fb883f Signed-off-by: Robert Varga <rovarga@cisco.com>