Hi David,
I had a quick look at the examples but did not get far as some/most of the examples are poms and I
did not proceed. I will have another look.
Just a couple of questions,
In my case I wrapped the acme4j jars in a bundle and manually added a META_INF.services folder then
followed a suggestion of Peter's
sometime ago to add
Private-Package: META-INF.services.*; -split-package:=merge-first
This seems to do what is necessary in the generated mapped bundle.
Is this the way to go?
Also
When using a wrapped bundle does the wrapped bundle and the application using it BOTH have to have
the added Provide and/or Require Capabilities as per your blog or just the wrapped bundle.
I could not follow this from the blog, not your fault, probably mine :-)
Thanks
Paul
On 12/07/2017 9:24 PM, David Bosschaert wrote:
Hi Paul,
Did you try the SPI-Fly examples from
http://aries.apache.org/modules/spi-fly.html ?
If these work for you it might be an option to change them to do the serviceloading for your use
case? At least that might help providing some insight into what works and what possibly doesn't?
Best regards,
David
On 12 July 2017 at 11:38, Paul F Fraser <pa...@a2zliving.com
<mailto:pa...@a2zliving.com>> wrote:
Hi,
In attempting to use Acme4J for obtaining LetsEncrypt certificates, I have
ended up in knots
trying to figure out the process.
I think I have done what is recommended in David Bosschaert' s OSGi
Alliance Blog
http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html
<http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html>
https://github.com/QNENet/letsencrypt-acme4j
<https://github.com/QNENet/letsencrypt-acme4j> is
a github repo of my attempt so far but resolution fails and I do not really
have any idea why.
Any assistance most appreciated.
Regards
Paul Fraser
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev
<https://mail.osgi.org/mailman/listinfo/osgi-dev>
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev