You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2011/04/11 14:55:05 UTC

[jira] [Commented] (STANBOL-140) Support for installing/configuring Stanbol Components based on data within an archive (including a Bundle)

    [ https://issues.apache.org/jira/browse/STANBOL-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018328#comment-13018328 ] 

Rupert Westenthaler commented on STANBOL-140:
---------------------------------------------

Regarding variant (2) installing/configuring from a jar archive

After some tests with an early prototype I think that this variant does not make very much sense because when running within an OSGI environment using a Bundle will be always preferable and outside of an OSGI framework the whole Sling Installer framework would not work. Therefore I have stopped working on this variant.

The current state is that installing resources contained within a bundle is fully functional.
Still missing is the support to uninstall resources in cases the bundle is UNINSTALLED.

> Support for installing/configuring Stanbol Components based on data within an archive (including a Bundle)
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-140
>                 URL: https://issues.apache.org/jira/browse/STANBOL-140
>             Project: Stanbol
>          Issue Type: New Feature
>          Components: Enhancer, Entity Hub
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> As an example to initialize a Entityhub referenced site with a local cache it is necessary to configure
>  - the ReferencedSite (OSGI component configuration)
>  - a cache (OSGI component configuration)
>  - a yard - local storage component (OSGI component configuration)
>  - install the precomputed data of the index (archive with the data of the index)
> To avoid that users need to deal with several artifacts to install a single component Stanbol should support to install/configure multiple components based on configuration data within an archive.
> The current plan is to support two variants:
> (1) Bundles: By using the OSGi extender pattern (as described at [1]) installed Bundles are scanned of they contain files that need to be installed.
> (2) Jar files that are copied by the user to a special directory. This will also use the extender pattern.
> The current plan is to implement this functionality based on the Apache Sling installer. See this email thread [2] for additional context.
> [1] http://www.aqute.biz/Snippets/Extender
> [2] http://markmail.org/thread/w2s7h3rcnkc2zlzm

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira