Give the ability to use netty native transport by DataStax Java Driver in OSGi

Description

netty-transport-native-epoll is OSGi bundle and can be deployed to OSGi container now: https://github.com/netty/netty/issues/5119

Currently DataStax Driver checks the ability to use netty-transport-native-epoll via Class.forName. In case of OSGi it does not work because netty-transport-native-epoll is a separate bundle and there is no correspondent import in DataStax Driver as OSGi bundle.

This problem can be resolved by adding of DynamicImport-Package or optional imports declaration to DataStax Driver MANIFEST.MF

Added "DynamicImport-Package: *" I got DataStax Driver 3.3.0 + netty-transport-native-epoll (4.0.52.Final) are up and running in OSGi container

Environment

None

Pull Requests

None
Fixed

Assignee

Unassigned

Reporter

Dmitry Konstantinov

Labels

PM Priority

None

Affects versions

Fix versions

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Priority

Major
Configure