On Thursday 15 October 2015 02:48:36 Roy Teeuwen wrote:
> Hello all,

hello Roy,
 
> We are currently in a situation that we have an AEM instance where we fetch
> xml files from a filesystem and process them with jobs to get them imported
> into the JCR. What I would like to do now is use the bundle we created for
> this to also import them into another external system (of course in a
> different format).
> 
> For reasons I can not tell, the exporting to the other system can not be
> done in the already existing AEM, so my thought now is to make a second
> sling instance where we can deploy the existing bundle in with a second
> bundle having the specific classes to get it into the other system. The only
> thing that bothers me is that this sling instance would contain a lot of
> unused bundles.
> 
> So my question here is, what would be a good approach to create a
> provisioning model that contains just the things I need? I don't think I can
> just blindly delete bundles from the default provisioning model, because
> surely there are interdependencies between them?

have a look at the Apache Karaf Feature file[0] for Sling, start with the 
Sling feature and add required features to collect your bundles for your 
provisioning model. Or use Sling Launchpad Karaf.

Regards,
O.

[0] 
https://github.com/apache/sling/blob/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-features/src/main/feature/feature.xml

> Thanks!
> Greets,
> Roy

Reply via email to