You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Andrew Kennedy <an...@cloudsoftcorp.com> on 2016/02/17 18:57:49 UTC

Brooklyn Karaf OSGi Modules

Hi.

I noticed that the Brooklyn Karaf integration (BROOKLYN-183) is now
complete - thanks!

So, I would now like to build a Karaf module for Clocker that can be easily
integrated into the Brooklyn Karaf runtime. What I would like advice on is:

1. How best to create this integration? Clocker is basically a set of
entities and location code, that gets made available to the main Brooklyn
runtime. What do I need to implement ar create to make these cleanly
available as OSGi bindles? I think I want to make Clocker a new 'feature'
for Karaf, similar to winrm is that right? Are there any good examples on
the Karaf site that I can just follow?

2. Where can I find more documentation on running Brooklyn inside Karaf? I
couldn't see anything in the brooklyn-server/karaf module that explained
things?

Thanks,
Andrew.
-- 

Andrew Kennedy ; Founder clocker.io project ; @grkvlt ; Cloudsoft

Re: Brooklyn Karaf OSGi Modules

Posted by Hadrian Zbarcea <hz...@gmail.com>.
Hi Andrew,

There are decent OSGi samples with the karaf and cxf distros (and other 
projects like camel, smx). They are just samples, so a bit of experience 
in how to put things together doesn't hurt. That said, it's not 
complicated at all, it just requires a bit of discipline in organizing 
packaging. Writing the blueprint is easy.

I will look for some nicer samples online. The first that comes to mind 
is Christian Scheneider's (whom you might have met at ApacheCon in 
Budapest) tutorials [1].

I will also look at the clocker tomorrow, hopefully Cipi will too and 
see what the shortest path would be. I expect it to be not too hard.

Cheers,
Hadrian

[1] http://liquid-reality.de/display/liquid/Karaf+Tutorials


On 02/17/2016 12:57 PM, Andrew Kennedy wrote:
> Hi.
>
> I noticed that the Brooklyn Karaf integration (BROOKLYN-183) is now
> complete - thanks!
>
> So, I would now like to build a Karaf module for Clocker that can be easily
> integrated into the Brooklyn Karaf runtime. What I would like advice on is:
>
> 1. How best to create this integration? Clocker is basically a set of
> entities and location code, that gets made available to the main Brooklyn
> runtime. What do I need to implement ar create to make these cleanly
> available as OSGi bindles? I think I want to make Clocker a new 'feature'
> for Karaf, similar to winrm is that right? Are there any good examples on
> the Karaf site that I can just follow?
>
> 2. Where can I find more documentation on running Brooklyn inside Karaf? I
> couldn't see anything in the brooklyn-server/karaf module that explained
> things?
>
> Thanks,
> Andrew.
>