No message body writer has been found for class java.util.ArrayList, ContentType: application/json

2018-06-22 Thread Guenther Schmidt
Hello all, thanks to help from this list I was able to get a REST service running under localhost:8181/cxf ... Of course now I run into another problem: No message body writer has been found for class java.util.ArrayList, ContentType: application/json I guess I need to have a JSON

REST - Declarative Services

2018-05-28 Thread Guenther Schmidt
Hello All, I’ve been developing services using Declarative Services for dependency injection and it was a breeze so far. Now I want to expose some of the functionality via a REST API and I’m stuck. So far I’ve deployed my bundles through bundle:install -s man: …. all very easy. But what should

attaching a debugger to an instance

2018-01-06 Thread Guenther Schmidt
Hello, so far I've start Karaf with bin\start and connected to the console via bin\client. Just today I discovered the "instance" commands in \bin and created a new instance with the command and started it via bin\start "My instance". Instead of bin\client I used SSH to connect to the

Recommended CDI tool, Blueprint / DS / Dependency Management / Low level API?

2017-12-17 Thread Guenther Schmidt
Hello All, what is the recommended CDI tool? Should I use * the low level API (BundleActivator), * Felix Dependency Management, * Blueprint, * or annotation based DS? I'd rather not use the first two options, i don't want to buy into anything non-standard. Guenther

Re: Blueprint and managed Services

2017-12-13 Thread Guenther Schmidt
d, so your code does not need to care about changes. What happens is that if the configuration changes, the whole blueprint application will be refreshed. 2017-12-13 22:45 GMT+01:00 Guenther Schmidt <schmi...@gmail.com <mailto:schmi...@gmail.com>>: Hello Guillaume,

Blueprint and managed Services

2017-12-12 Thread Guenther Schmidt
Hello, how do I set the system.pid for a service that needs to receive its configuration data from the OSGi container using Blueprint? Guenther

Scheduler in Karaf

2017-12-09 Thread Guenther Schmidt
Hello all, I'm in the process of migrating a project with drowizard based microservices to Apache Karaf. So far so good. I'm using Maven and sometimes things get a bit tricky when I have to include 3rd party libraries, maven generates package requirements in the MANIFEST.MF that I have no