You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Som Satpathy <so...@gmail.com> on 2013/02/28 06:15:51 UTC
Programmatically configuring and executing enhancement chains
Hi All,
Lately, I have been trying to understand the details involved in
implementing and running custom enhancement engines and chains. Although I
have a pretty good understanding of how to implement a custom enhancement
engine and deploying it over Felix, it is not very clear how I can
programmatically include it into a new enhancement chain and execute it.
In short, I was wondering if Stanbol provides support to programmatically
configure and run new enhancement chains via JAVA APIs or REST APIs?
I would really appreciate your help on this.
Thanks,
Som
Re: Programmatically configuring and executing enhancement chains
Posted by Som Satpathy <so...@gmail.com>.
Thanks for the sharing the info Rupert.
Regards,
Som
On Wed, Feb 27, 2013 at 9:33 PM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:
> Hi Som,
>
> Currently it is not possible (via the RESTful API) to add an
> Enhancement Chain. Via the Java API it is possible as you can use the
>
> * OSGI Config Admin to register a new Configuration (similar as you do
> it with the Felix WebConsole
> * OSGI Service Admin to register your own Chain implementation
>
> AFAIK their are currently no plans to provide a RESTful API for
> registering Enhancement Chain configuations. However there are plans
> to add a RESTful Endpoint that allows to parse per-call enhancement
> chain definitions. See [1] for more details.
>
>
> best
> Rupert
>
> [1] http://markmail.org/message/zqztwjhndwj74jqv
>
> On Thu, Feb 28, 2013 at 6:15 AM, Som Satpathy <so...@gmail.com>
> wrote:
> > Hi All,
> >
> > Lately, I have been trying to understand the details involved in
> > implementing and running custom enhancement engines and chains. Although
> I
> > have a pretty good understanding of how to implement a custom enhancement
> > engine and deploying it over Felix, it is not very clear how I can
> > programmatically include it into a new enhancement chain and execute it.
> >
> > In short, I was wondering if Stanbol provides support to programmatically
> > configure and run new enhancement chains via JAVA APIs or REST APIs?
> >
> > I would really appreciate your help on this.
> >
> > Thanks,
> > Som
>
>
>
> --
> | Rupert Westenthaler rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11 ++43-699-11108907
> | A-5500 Bischofshofen
>
Re: Programmatically configuring and executing enhancement chains
Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Som,
Currently it is not possible (via the RESTful API) to add an
Enhancement Chain. Via the Java API it is possible as you can use the
* OSGI Config Admin to register a new Configuration (similar as you do
it with the Felix WebConsole
* OSGI Service Admin to register your own Chain implementation
AFAIK their are currently no plans to provide a RESTful API for
registering Enhancement Chain configuations. However there are plans
to add a RESTful Endpoint that allows to parse per-call enhancement
chain definitions. See [1] for more details.
best
Rupert
[1] http://markmail.org/message/zqztwjhndwj74jqv
On Thu, Feb 28, 2013 at 6:15 AM, Som Satpathy <so...@gmail.com> wrote:
> Hi All,
>
> Lately, I have been trying to understand the details involved in
> implementing and running custom enhancement engines and chains. Although I
> have a pretty good understanding of how to implement a custom enhancement
> engine and deploying it over Felix, it is not very clear how I can
> programmatically include it into a new enhancement chain and execute it.
>
> In short, I was wondering if Stanbol provides support to programmatically
> configure and run new enhancement chains via JAVA APIs or REST APIs?
>
> I would really appreciate your help on this.
>
> Thanks,
> Som
--
| Rupert Westenthaler rupert.westenthaler@gmail.com
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen