Remove odl-controller-exp-netty-config Remove all of configuration remnants, as there is just a single downstream user. JIRA: CONTROLLER-2092 Change-Id: I2d0bb01cfd061c2f0086fcc80b27e6b0a336e5dc Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Modernize AutoCloseableEventExecutor Remove unneeded indirection through a class, so that we can eliminate a suppression. Change-Id: I52710d8a85a2081afe4b325d57acef70d434acce 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>
Move BP xml files to standard OSGI-INF/blueprint We originally used org/opendaylight/blueprint in case we needed to customize how BP bundles are processed but this wasn't needed. So let's move to the standard BP dir. We'll keep the BlueprintBundleTracker as is for backwards compatibility - the only change was to modify it to look in both dirs for BP xml files when restarting the container for a bundle. Change-Id: I777e831ef4d8293b49d7aa6c8cdecec96b97937f Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
netty-event-executor-config: final parameters This automatically-generated patch flags all appropriate parameters as final (including caught exceptions). Change-Id: I53e5803a91a723714f4c9b5a2299c869d81b5a9a Signed-off-by: Stephen Kitt <skitt@redhat.com>
Mechanical code cleanup (config) * 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: Iefd8363a5eb120fdd43a4632b9e3db0e7e347dba Signed-off-by: Stephen Kitt <skitt@redhat.com>
Modify config Module impls to co-exist with blueprint Modified various config system Module implementation classes which have corresponding instances created and advertised via blueprint to obtain the instance in createInstance from the OSGi registry. The instance may not be available yet so it will wait. I added a WaitingServiceTracker class to encapsulate this logic using a ServiceTracker. For those modules that don't advertise services, createInstance simply returns a noop AutoCloseable since the components are created via blueprint. I also added the new disable-osgi-service-registration flag to the corresponding service yang identities to prevent the CSS from duplicating the service registrations. This patch also adds the blueprint bundle to the mdsal features and "turns on" blueprint. Change-Id: I60099c82a2a248fc233ad930c4808d6ab19ea881 Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Add blueprint wiring for netty configs Wiring for netty-threadgroup-config, netty-timer-config, and netty-event-executor-config. Change-Id: I759b222c6f3fcad1cacbc4aeb1af4cec19faff0d Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Fix checkstyle warnings in netty-event-executor-config. Change-Id: I955f3b546aee0ba7d4269ec62c25158b25d92d50 Signed-off-by: Marian Dubai <mdubai@cisco.com>
Close Bug:443 - Implement ImmediateEventExecutor wrapper to config-subsystem. Change-Id: I7b633407ce186507379c0008408deae3775fd0df Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>