Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Add OSGified version of akka-pki #5

Open
rovarga opened this issue Jun 23, 2020 · 4 comments
Open

Add OSGified version of akka-pki #5

rovarga opened this issue Jun 23, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@rovarga
Copy link

rovarga commented Jun 23, 2020

Describe the bug
akka-2.6.6 has introduced a new jar, akka-pki, which does not have an OSGi manifest. This jar is used by akka-remote, which refers to versioned imports of packages contained therein.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to load akka-remote with osgified dependencies
  2. See error :)

Expected behavior
akka-remote should resolve its imports from akka-pki.

Environment

  • JDK 11.0.7
  • Scala 2.13.2
  • Akka 2.6.6
  • Bundle akka-remote, requiring akka-pki
  • Karaf 4.2.9 (OSGi R6)
  • Unable to resolve com.typesafe.akka.remote/2.6.6: missing requirement [com.typesafe.akka.remote/2.6.6] osgi.wiring.package; filter:="(&(osgi.wiring.package=akka.pki.pem)(version>=2.6.0)(!(version>=2.7.0)))"

Additional context
Add any other context about the problem here.

@atooni
Copy link
Member

atooni commented Jun 23, 2020

The full set of akka jars required in this use case can be seen in the karaf feature here
akka/akka#28304 (comment)

@atooni atooni self-assigned this Jun 23, 2020
@atooni atooni added the enhancement New feature or request label Jun 23, 2020
@karthickm512
Copy link

Hi, We are also affected by this broken osgi in typesafe. Looks like this thread is open for long. Any updates or closure expected in neartime?

@atooni
Copy link
Member

atooni commented Sep 23, 2021

Hello, at the moment we are not working actively on the project that is using OSGi, so the OSGi support is unlikely to evolve from our side. This having said, we are evaluating a new architecture outside of OSGi and Akka - looking to have a more FP oriented foundation for the next version of our framework.

I am afraid the Akka OSGi support is just dying out.

@rovarga
Copy link
Author

rovarga commented Sep 30, 2021

FWIW, we have opted to have an uber-bundle of what we need of Akka+OSGi for OpenDaylight -- it is available on Central here: https://search.maven.org/artifact/org.opendaylight.controller/repackaged-akka/ .
Alternatively, you can brew your own -- our approach at doing that can be found here: https://github.com/opendaylight/controller/tree/master/akka

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants