You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/09/28 10:41:32 UTC
[jira] Created: (SLING-1810) Support for lazy activated bundles
Support for lazy activated bundles
----------------------------------
Key: SLING-1810
URL: https://issues.apache.org/jira/browse/SLING-1810
Project: Sling
Issue Type: New Feature
Components: Installer
Affects Versions: Installer Core 3.0.0
Reporter: Carsten Ziegeler
Fix For: Installer Core 3.0.2
The installer waits for an installed bundle to become active - in case of lazy bundles, these bundles get only active when they are "used"
Therefore we should relax/change/adapt the logic
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: SlingPostServletClient, helper class?
Posted by Vidar Ramdal <vi...@idium.no>.
On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss <cl...@mysign.ch> wrote:
> Do we somewhere in the sling-repo/sources have a helper class for posting data to Sling(PostServlet)?
>
> Asked the other way round:
> given a legacy database with lots of data, how would you inject (export/import) this data into Sling/JCR?
>
> Thx in advance for your advices/hints
How about exporting the legacy content to an XML structure, and import
it as initial content?
If you know XSLT, you can use almost any XML structure that seems fit.
See http://sling.apache.org/site/content-loading-jcrcontentloader.html
--
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 22 00 84 76
Quando omni flunkus moritatus!
Re: SlingPostServletClient, helper class?
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
On 29.09.2010 11:11, Bertrand Delacretaz wrote:
> On Wed, Sep 29, 2010 at 10:59 AM, Clemens Wyss <cl...@mysign.ch> wrote:
>> thx, I, once again, tried to make two steps at once ;-) Had jcr:primaryType in the POST but provided a yet unknown type...
>>
>> Tried to "register" my own nodeType, but unfortunately /jcr:system/jcr/nodeTypes seems to be protected. Can I register my own nodeTypes using the SlingPostServlet at all?
>
> I don't think so, suggest installing a bundle with a CND in it to do that.
Makes a nice extension request ;-)
Regards
Felix
Re: SlingPostServletClient, helper class?
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Sep 29, 2010 at 10:59 AM, Clemens Wyss <cl...@mysign.ch> wrote:
> thx, I, once again, tried to make two steps at once ;-) Had jcr:primaryType in the POST but provided a yet unknown type...
>
> Tried to "register" my own nodeType, but unfortunately /jcr:system/jcr/nodeTypes seems to be protected. Can I register my own nodeTypes using the SlingPostServlet at all?
I don't think so, suggest installing a bundle with a CND in it to do that.
-Bertrand
RE: SlingPostServletClient, helper class?
Posted by Clemens Wyss <cl...@mysign.ch>.
thx, I, once again, tried to make two steps at once ;-) Had jcr:primaryType in the POST but provided a yet unknown type...
Tried to "register" my own nodeType, but unfortunately /jcr:system/jcr/nodeTypes seems to be protected. Can I register my own nodeTypes using the SlingPostServlet at all?
> -----Original Message-----
> From: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]
> Sent: Wednesday, September 29, 2010 10:23 AM
> To: dev@sling.apache.org
> Subject: Re: SlingPostServletClient, helper class?
>
>
> On Wed, Sep 29, 2010 at 9:46 AM, Clemens Wyss
> <cl...@mysign.ch> wrote:
> > I am importing my legacy data using the SlingPostServlet
> and I would like to enforce the node's
> > primary type I import (now all nodes end up as sling:Folder)
>
> Adding a jcr:primaryType parameter to the POST should do it.
>
> -Bertrand
>
Re: SlingPostServletClient, helper class?
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Sep 29, 2010 at 9:46 AM, Clemens Wyss <cl...@mysign.ch> wrote:
> I am importing my legacy data using the SlingPostServlet and I would like to enforce the node's
> primary type I import (now all nodes end up as sling:Folder)
Adding a jcr:primaryType parameter to the POST should do it.
-Bertrand
RE: SlingPostServletClient, helper class?
Posted by Clemens Wyss <cl...@mysign.ch>.
I am importing my legacy data using the SlingPostServlet and I would like to enforce the node's primary type I import (now all nodes end up as sling:Folder)
> -----Original Message-----
> From: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]
> Sent: Wednesday, September 29, 2010 9:36 AM
> To: dev@sling.apache.org
> Subject: Re: SlingPostServletClient, helper class?
>
>
> On Wed, Sep 29, 2010 at 9:24 AM, Clemens Wyss
> <cl...@mysign.ch> wrote:
> > how do I enforce jcr:primaryType over SlingPostServlet?
>
> not sure what you mean...enforcing apples over oranges? ;-)
> -Bertrand
>
Re: SlingPostServletClient, helper class?
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Sep 29, 2010 at 9:24 AM, Clemens Wyss <cl...@mysign.ch> wrote:
> how do I enforce jcr:primaryType over SlingPostServlet?
not sure what you mean...enforcing apples over oranges? ;-)
-Bertrand
RE: SlingPostServletClient, helper class?
Posted by Clemens Wyss <cl...@mysign.ch>.
how do I enforce jcr:primaryType over SlingPostServlet?
> -----Original Message-----
> From: Clemens Wyss [mailto:clemensdev@mysign.ch]
> Sent: Tuesday, September 28, 2010 5:12 PM
> To: 'dev@sling.apache.org'
> Subject: RE: SlingPostServletClient, helper class?
>
>
> >SlingIntegrationTestClient
> doesn't look bad, I'll give it a try
>
> Thanks
> Clemens
>
> > -----Original Message-----
> > From: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]
> > Sent: Tuesday, September 28, 2010 2:49 PM
> > To: dev@sling.apache.org
> > Subject: Re: SlingPostServletClient, helper class?
> >
> >
> > On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss
> > <cl...@mysign.ch> wrote:
> > > Do we somewhere in the sling-repo/sources have a helper
> > class for posting data to Sling(PostServlet)?
> >
> > I don't think so, the closest would be
> > http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/te
> sting/src/main/java/org/apache/sling/commons/testing/integrati
> on/SlingIntegrationTestClient.java
>
> >
> > Asked the other way round:
> > given a legacy database with lots of data, how would you
> inject (export/import) this data into Sling/JCR?
>
> Either use standard POST as you suggest, maybe exporting the legacy
> content into curl POST commands, or write your own POST handler that
> accepts a legacy dump format.
>
> -Bertrand
>
RE: SlingPostServletClient, helper class?
Posted by Clemens Wyss <cl...@mysign.ch>.
>SlingIntegrationTestClient
doesn't look bad, I'll give it a try
Thanks
Clemens
> -----Original Message-----
> From: Bertrand Delacretaz [mailto:bdelacretaz@apache.org]
> Sent: Tuesday, September 28, 2010 2:49 PM
> To: dev@sling.apache.org
> Subject: Re: SlingPostServletClient, helper class?
>
>
> On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss
> <cl...@mysign.ch> wrote:
> > Do we somewhere in the sling-repo/sources have a helper
> class for posting data to Sling(PostServlet)?
>
> I don't think so, the closest would be
> http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/te
sting/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
>
> Asked the other way round:
> given a legacy database with lots of data, how would you inject (export/import) this data into Sling/JCR?
Either use standard POST as you suggest, maybe exporting the legacy
content into curl POST commands, or write your own POST handler that
accepts a legacy dump format.
-Bertrand
Re: SlingPostServletClient, helper class?
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss <cl...@mysign.ch> wrote:
> Do we somewhere in the sling-repo/sources have a helper class for posting data to Sling(PostServlet)?
I don't think so, the closest would be
http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
>
> Asked the other way round:
> given a legacy database with lots of data, how would you inject (export/import) this data into Sling/JCR?
Either use standard POST as you suggest, maybe exporting the legacy
content into curl POST commands, or write your own POST handler that
accepts a legacy dump format.
-Bertrand
SlingPostServletClient, helper class?
Posted by Clemens Wyss <cl...@mysign.ch>.
Do we somewhere in the sling-repo/sources have a helper class for posting data to Sling(PostServlet)?
Asked the other way round:
given a legacy database with lots of data, how would you inject (export/import) this data into Sling/JCR?
Thx in advance for your advices/hints
Clemens