Vault package support in OsgiInstaller?

2017-06-15 Thread olimination
Hello, I have seen here: https://github.com/apache/sling/tree/trunk/installer/factories/packages that Apache Sling now also has a new Installer Factory for vault/crx packages. That's great! Is this correct :)? Is this the same bundle delivered with AEM? And this bundle may also be listed on the

Re: Set repository.home to some other directory

2017-04-12 Thread olimination
ote: > Hi Oli, > > On Tue, 2017-04-11 at 12:07 +0200, olimination wrote: > > Hi, > > > > I'm trying to find out how I could set the repository.home option to > > some > > other directory. Where is the recommend place to do this? I use the > > Ta

Set repository.home to some other directory

2017-04-11 Thread olimination
Hi, I'm trying to find out how I could set the repository.home option to some other directory. Where is the recommend place to do this? I use the TarMK. The idea is to move the repository out of the "application" directory, so it is possible to just "remove" the whole app and then just

Usage of Felix FileInstall or Sling File Install Provider?

2017-03-08 Thread olimination
Hi, there is the "Felix FileInstall" bundle which allows installation of bundles in a scanned directory. Sling's OSGi Installer has also a "FileInstall Provider" which enables similar functionality I assume. Does it make sense to use the Felix FileInstall way or should we use the Sling OSGi

Re: How to create Rest APIs for non-JCR data in Sling 8??

2017-01-28 Thread olimination
Hi Lance, as Mike already mentioned the "Neba framework" offers you the full Spring power, meaning you can easily write Spring controllers which then for example inject your needed OSGi services and you then do whatever you need to do plus you have access to all the possibilities Spring offers

Re: Sling Models: ResourcePath annotation with relative path support?

2016-04-21 Thread olimination
fan > > >-Original Message- > >From: olimination [mailto:oliminat...@gmail.com] > >Sent: Wednesday, April 20, 2016 5:19 PM > >To: users@sling.apache.org > >Subject: Sling Models: ResourcePath annotation with relative path support? > > > >Hi,

Sling Models: ResourcePath annotation with relative path support?

2016-04-20 Thread olimination
Hi, I'm using Sling Models (cool stuff, thanks for that!) and would like to get a resource relative to the current rendered resource. Actually I want to get an InputStream from a nt:file node and so I thought to make this with the ResourcePath annotation with a relative path. Something like:

[Sling IDE Tooling] - How to build/deploy Sling projects created with the Eclipse Sling Tooling with Maven?

2016-03-23 Thread olimination
Hi, I have checked the Eclipse Sling Tooling (https://sling.apache.org/documentation/development/ide-tooling.html) and it looks great, thanks for that! How can I build/deploy such Sling projects which have been created via the Eclipse Sling Tooling with Maven afterwards without using Eclipse?

Re: Sling 8 standalone jar

2016-01-16 Thread olimination
Hi Kevin, as far as I know Sling 8 uses now the new Provisioning model for setting up a Sling instance, see here: https://sling.apache.org/documentation/development/slingstart.html There you should find the mechanism how the standalone launcher gets built together and works. cheers, Oli

Re: How to create a proper System User for Services?

2016-01-06 Thread olimination
cool, thanks Bertrand, I could use some pieces of the code and it works basically. I still don't understand something: For creating such service users we still need to do a ".loginAdministrative()", but this method is actually deprecated. How do you handle this? Should we use then the JCR API

Re: How to create a proper System User for Services?

2015-12-21 Thread olimination
feature. What do you think? On Fri, Dec 18, 2015 at 10:35 AM, Robert Munteanu <romb...@apache.org> wrote: > Hi Oli, > > On Thu, 2015-12-17 at 12:53 +0100, olimination wrote: > > Hi, > > > > I have implemented a service and would like to

How to create a system user for Services?

2015-12-17 Thread olimination
Hi, I have implemented a service and would like to use the new interface method "resolverFactory.getServiceResourceResolver(params)" for using a proper service user instead of an administrativeResourceResolver. I have tried to create such a System User via: curl -u admin:admin -F:name=myuser

How to create a proper System User for Services?

2015-12-17 Thread olimination
Hi, I have implemented a service and would like to use the new interface method "resolverFactory.getServiceResourceResolver(params)" for using a proper service user instead of an administrativeResourceResolver. I have tried to create such a System User via: curl -u admin:admin -F:name=myuser