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

2017-04-12 Thread beaudet
Lance, we are trying to do something similar.  We have an enterprise DAM and
would like to extend Adobe AEM 6.2 to enable the native AEM DAM UI widgets
to work with those remote assets in addition to native AEM assets.  We would
also like to enable search of those digital assets via the AEM content
finder and browse the assets via the native AEM components.  Did you have a
similar requirement regarding finding of the assets by content authors and
if so, would you mind sharing your solution for that?

Thanks,

Dave Beaudet
National Gallery of Art, Washington



--
View this message in context: 
http://apache-sling.73963.n3.nabble.com/How-to-create-Rest-APIs-for-non-JCR-data-in-Sling-8-tp4069947p4072780.html
Sent from the Sling - Users mailing list archive at Nabble.com.


Re: Set repository.home to some other directory

2017-04-12 Thread olimination
Hi Robert,

no because this argument simply sets the Sling home directory, where then
by default the "repository" directory is created for the Repository. So by
default this is "sling/repository".

On Tue, Apr 11, 2017 at 3:51 PM, Robert Munteanu  wrote:

> 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
> > 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
> > referencing the
> > existing repository.
> >
> > With the Sling Provisioning Model it is possible to assemble a whole
> > Sling
> > application by given definition files. Is it then also possible just
> > to use
> > then an existing repository?
>
> According to
>
>   https://sling.apache.org/documentation/the-sling-engine/the-sling-lau
> nchpad.html
>
> you should be able to use the -c argument when running the launchpad
> jar, e.g.
>
>   $ java -jar my-sling-app.jar -c /srv/my-sling-app
>
> That would set the sling.home property to /srv/my-sling-app.
>
> Does that help?
>
> Robert
>
>


-- 
===
(C)olimination.com