Tenant Implementation in Sling

2014-02-17 Thread Andreas Schaefer Sr.
Hi I am working for a client which needs support for tenants and because the current implementation of the Tenants in Sling is just that but no integration I started to code a workaround. For now I have a patch that does the trick but it is not clean because I use a Servlet Filter to place the

Re: Tenant Implementation in Sling

2014-02-20 Thread Andreas Schaefer Sr.
. Cheers - Andy On Feb 17, 2014, at 6:58 PM, Andreas Schaefer Sr. schaef...@me.com wrote: Hi I am working for a client which needs support for tenants and because the current implementation of the Tenants in Sling is just that but no integration I started to code a workaround. For now I have

Re: Tenant Implementation in Sling

2014-02-20 Thread Andreas Schaefer Sr.
Sorry, I forgot to mention that the Search Path Extension is prepended to the Search Path when it is requested (in the Resource Resolver). - Andy On Feb 20, 2014, at 10:20 PM, Andreas Schaefer Sr. schaef...@me.com wrote: Hi I started to look into how to add tenant support to Sling

Re: Tenant Implementation in Sling

2014-02-21 Thread Andreas Schaefer Sr.
could go with ResourceResolver.adaptTo(Tenant.class) WDYT? Carsten 2014-02-21 7:53 GMT+01:00 Andreas Schaefer Sr. schaef...@me.com: Sorry, I forgot to mention that the Search Path Extension is prepended to the Search Path when it is requested (in the Resource Resolver). - Andy

Re: Tenant Implementation in Sling

2014-02-21 Thread Andreas Schaefer Sr.
, at 1:34 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, On Fri, Feb 21, 2014 at 7:20 AM, Andreas Schaefer Sr. schaef...@me.com wrote: ...I started to look into how to add tenant support to Sling I haven't looked at the details but my feeling is that tenant means different

Re: Tenant Implementation in Sling

2014-02-24 Thread Andreas Schaefer Sr.
wrote: On Fri, Feb 21, 2014 at 5:19 PM, Andreas Schaefer Sr. schaef...@me.com wrote: ...My confluence name is ‘schaefera’ Ok, I have added you to the sling-contributors group, you should now have write access to https://cwiki.apache.org/confluence/display BTW I saw

Re: Tenant Implementation in Sling

2014-02-24 Thread Andreas Schaefer Sr.
for administrative resource resolvers, an adaptTo would work within the context of a request. But these are just rough ideas anyway :) Regards Carsten 2014-02-21 17:16 GMT+01:00 Andreas Schaefer Sr. schaef...@me.com: Hi Carsten First I want to clarify that the Search Path Extension has

Re: Tenant Implementation in Sling

2014-02-24 Thread Andreas Schaefer Sr.
specific one prepended. Carsten 2014-02-24 18:43 GMT+01:00 Andreas Schaefer Sr. schaef...@me.com: Hi Carsten Even if a Search Path Extension is not used outside of the Tenants I still think it would be great to keep things separate. Based on my tests if the Search Path Extension is set

Re: [API] Clarify ResourceResolver#getSearchPath ?

2014-02-25 Thread Andreas Schaefer Sr.
This feels wrong to me. Not that it does not reflect the current state of things but rather because it maybe limiting the tenant implementation. I am still working through Sling to understand it inner workings because most of what I know is based on CQ and not on using Sling directly. - Andy

Re: Tenant Implementation in Sling

2014-02-25 Thread Andreas Schaefer Sr.
and directly couples it. I still like my TenantAware approach :) as by this you explicitely mark your component to handle things Tenant specific. Regards Carsten 2014-02-25 2:41 GMT+01:00 Andreas Schaefer Sr. schaef...@me.com: If we have the search path extension separate and it is settable

Re: Tenant Implementation in Sling

2014-02-25 Thread Andreas Schaefer Sr.
Ok, will adjust the wiki page. - Andy On Feb 25, 2014, at 1:11 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Tue, Feb 25, 2014 at 2:41 AM, Andreas Schaefer Sr. schaef...@me.com wrote: ...it might a good idea to add the getSearchPathExtension() to the Tenant... Shouldn't

Re: jconsole doesn't work with Sling + Java 7, any clues?

2014-02-26 Thread Andreas Schaefer Sr.
Same thing for me. If both are 1.6.0 then it works. In addition if I use console 1.7 then I cannot connect to CQ 5.6.1 (running on 1.7) as well but when I use console 1.6 I can connect to CQ but not to Sling running on 1.7. - Andy On Feb 26, 2014, at 6:58 AM, Bertrand Delacretaz

Re: jconsole doesn't work with Sling + Java 7, any clues?

2014-02-26 Thread Andreas Schaefer Sr.
Not sure, though, because even the insecure connections do not work. BTW using 1.6 on both ends only works over insecure connection (in my case). - Andy On Feb 26, 2014, at 8:06 AM, Ian Boston i...@tfd.co.uk wrote: I wonder if its due to the TLS protocols that are configured by default for

Re: Sling IDE Tooling for IntelliJ IDEA

2015-04-23 Thread Andreas Schaefer Sr.
(i.e. the bind methods are being added). I am not aware though of a similar mechanism in IntelliJ though. Hope this information helps, Konrad Am 23.04.2015 um 02:47 schrieb Andreas Schaefer Sr. schaef...@me.com: Hi Ruben and I are working on a port of the AEM Sling Tooling for Eclipse

Sling IDE Tooling for IntelliJ IDEA

2015-04-22 Thread Andreas Schaefer Sr.
Hi Ruben and I are working on a port of the AEM Sling Tooling for Eclipse to IntelliJ. So I have a few questions: 1) Did anyone already try that? If so is the code available and for which IntelliJ version? 2) Ran into some problems with the HotSwap of code deployed in Sling. It turned out

Extracting Eclipse Reference from impl-vlt

2015-04-28 Thread Andreas Schaefer Sr.
Hi Most of the backend code inside the tooling project (api, impl-resources etc) do not depend on Eclipse with the sole exception of impl-vlt which use the Eclipse Plugin class inside the Activator and uses the Activator’s getLogger() to obtain the logger inside that module. IntelliJ does not

Re: Extracting Eclipse Reference from impl-vlt

2015-05-05 Thread Andreas Schaefer Sr.
, at 3:47 AM, Robert Munteanu romb...@apache.org wrote: Hi Andy, On Tue, 2015-04-28 at 09:02 -0700, Andreas Schaefer Sr. wrote: Hi Most of the backend code inside the tooling project (api, impl -resources etc) do not depend on Eclipse with the sole exception of impl-vlt which use

Re: Empty Folders outside the Filter do not Deploy in Eclipse IDE

2015-06-29 Thread Andreas Schaefer Sr.
not sure what is missing in the code but right now I am just asking the user to create the folders / install the package beforehand. - Andy On Jun 26, 2015, at 4:39 PM, Andreas Schaefer Sr. schaef...@me.com wrote: When I was testing the Eclipse AEM/Sling IDE Tooling Plugin with the Adobe ACS

Re: Sling Tooling IDE & IDE Independence

2015-11-09 Thread Andreas Schaefer Sr.
-11-08 at 12:09 -0800, Andreas Schaefer Sr. wrote: >> Hi >> >> When investigating how to design the separation of the “Sling >> Connector” code from the Eclipse plugin to create an IDE independent >> code base I saw that most of the Maven dependencies are drawn from >

Sling Tooling IDE & IDE Independence

2015-11-08 Thread Andreas Schaefer Sr.
Hi When investigating how to design the separation of the “Sling Connector” code from the Eclipse plugin to create an IDE independent code base I saw that most of the Maven dependencies are drawn from the p2.eclipse-plugin repository. This might create problems when adding the code to other

Making Sling Connector in Sling Tooling IDE independent issue

2015-11-05 Thread Andreas Schaefer Sr.
Hi I create a new issue to make the Sling Connector (anything that checks or deploys resources onto Sling) IDE independent: https://issues.apache.org/jira/browse/SLING-5268 When I developed the first draft of the IntelliJ plugin my biggest problem was to incorporate the Sling Connector code

Re: Build failed in Jenkins: sling-trunk-1.7 #2672

2015-11-06 Thread Andreas Schaefer Sr.
Hi Robert I ran into an issue with RAT because I use GIT and when I used the Sling Tooling branch the IntelliJ project files (*.iml) did trip it off because regular Sling folders like (bundles, launchpad etc) remain in the file system even if the branch does not use them. Adding an exclusion

Eclipse Plugin does not work with AEM installed in a Context Path

2015-07-08 Thread Andreas Schaefer Sr.
Hi I installed AEM 6.1 in the context path /aem with the -c option. Everything works fine but I cannot connect to that Repository with both the IntelliJ and the Eclipse plugin. AEM Startup: java -jar -Xmx1280m -XX:MaxPermSize=256m aem*.jar -c aem CRX Explorer:

Apache Sling Portlet Container not 2.0 Spec Compliant?

2016-02-04 Thread Andreas Schaefer Sr.
Hi My client is using a the Portlet Container that comes with AEM 6.0 and encounter an issue where the page containing portlets is returned incomplete to the client. According to the 2.0 spec (PLT.5.4.7) the portal/portlet-container should continue processing the other portlets visible in the

Re: Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-02-29 Thread Andreas Schaefer Sr.
t;romb...@apache.org> wrote: > > Hi Andy, > > On Wed, 2016-02-17 at 19:41 -0500, Andreas Schaefer Sr. wrote: >> Hi >> >> During the development of the IntelliJ plugin I ran into some random >> failures to deploy. >> Looking deeper I save that the failure is happ

Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-02-17 Thread Andreas Schaefer Sr.
Hi During the development of the IntelliJ plugin I ran into some random failures to deploy. Looking deeper I save that the failure is happening when session.save() is called and to my surprise a slight delay (Thread.sleep(100)) does fix it on my Mac. The code is in JcrCommand inside the

Re: Trunk Build Failure

2016-03-15 Thread Andreas Schaefer Sr.
he.org> > wrote: > > On Tue, Mar 15, 2016 at 7:29 PM, Andreas Schaefer Sr. <schaef...@me.com> > wrote: >> Got the same when checked out the code from SVN:... > > Ok, I have no idea what's going on unfortunately, and the build also > worked on Jenkins earlier tod

Re: Trunk Build Failure

2016-03-18 Thread Andreas Schaefer Sr.
Thanks for the hint. Wasn’t aware that Git would not remove these files during a merge but now I know. A nice “git clean” worked wonders. - Andy > On Mar 17, 2016, at 9:58 AM, Oliver Lietz <apa...@oliverlietz.de> wrote: > > On Thursday 17 March 2016 09:52:13 Andreas Schaefer S

Trunk Build Failure

2016-03-15 Thread Andreas Schaefer Sr.
The current trunk of sling fails in the JCR Resource Resolver with these tests: Failed tests: JcrModifiablePropertyMapTest>JcrPropertyMapTest.testJCRType:76->JcrPropertyMapTest.testValue:258 expected:<-2880> but was:<-2520> JcrPropertyMapTest.testJCRType:76->testValue:258

Re: Trunk Build Failure

2016-03-15 Thread Andreas Schaefer Sr.
gt; wrote: > > Hi, > > On Tue, Mar 15, 2016 at 6:27 PM, Andreas Schaefer Sr. <schaef...@me.com> > wrote: >> Failed tests: >> JcrModifiablePropertyMapTest>JcrPropertyMapTest.testJCRType:... > > That test passes for me at revision 1735149, with both jdk 1.7 and 1.8. > > -Bertrand

Re: Pull Request for Eclipse Independent IDE Tooling

2016-03-14 Thread Andreas Schaefer Sr.
he.org> wrote: > > Hi Andy, > > On Fri, 2016-03-11 at 11:49 -0800, Andreas Schaefer Sr. wrote: >> Hi >> >> I forked the Sling IDE Tooling to create the current version of the >> Eclipse Independent IDE Tooling based on version 1.0.10-SNAPSHOT. >> >>

Pull Request for Eclipse Independent IDE Tooling

2016-03-11 Thread Andreas Schaefer Sr.
Hi I forked the Sling IDE Tooling to create the current version of the Eclipse Independent IDE Tooling based on version 1.0.10-SNAPSHOT. In order to do ask for a Pull Request I am wondering if I should do it for that version or merge my code with the latest (1.0.99-SNAPSHOT) beforehand. As of

Re: [GitHub] sling pull request: Pull Request for Eclipse Independent Resource ...

2016-03-19 Thread Andreas Schaefer Sr.
Created a JIRA ticket for this: https://issues.apache.org/jira/browse/SLING-5618 Cheers - Andy Schaefer > On Mar 16, 2016, at 10:06 PM, schaefa wrote: > > GitHub user schaefa opened a pull request: > >

Re: Trunk Build Failure

2016-03-15 Thread Andreas Schaefer Sr.
15, 2016, at 11:18 AM, Bertrand Delacretaz <bdelacre...@apache.org> > wrote: > > On Tue, Mar 15, 2016 at 7:11 PM, Andreas Schaefer Sr. <schaef...@me.com> > wrote: >> ...Do I need to work with SVN?.. > > That shouldn't make a difference, Git catches up quite qu

Re: Trunk Build Failure

2016-03-19 Thread Andreas Schaefer Sr.
based on my forked project and I will run it on a latest Sling trunk but I think it should be the same. Cheers - Andy > On Mar 17, 2016, at 1:11 AM, Robert Munteanu <romb...@apache.org> wrote: > > On Wed, 2016-03-16 at 17:01 -0700, Andreas Schaefer Sr. wrote: >> There is a

Re: Trunk Build Failure

2016-03-19 Thread Andreas Schaefer Sr.
the exclude. I discussed this with Robert a while ago but the current Sling will not build for anyone using IntelliJ to work with Sling. Cheers - Andy > On Mar 16, 2016, at 2:46 PM, Andreas Schaefer Sr. <schaef...@me.com> wrote: > > Ok, that did the trick. > > If I get a setup

Re: Trunk Build Failure

2016-03-19 Thread Andreas Schaefer Sr.
016, at 12:43 AM, Bertrand Delacretaz <bdelacre...@apache.org> > wrote: > > On Tue, Mar 15, 2016 at 9:33 PM, Andreas Schaefer Sr. <schaef...@me.com> > wrote: >> ...This line is causing the failure: >> Assert.assertEquals(expected.getTimeZone().getRawOffset()

Re: Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-03-02 Thread Andreas Schaefer Sr.
if the renditions were in place inside AEM. So both the Create / Update Node workflows will cause this issue. Cheers - Andy Schaefer > On Mar 2, 2016, at 3:16 AM, Robert Munteanu <romb...@apache.org> wrote: > > On Mon, 2016-02-29 at 16:02 -0800, Andreas Schaefer Sr. wrote: >> Sorry for

Re: Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-03-02 Thread Andreas Schaefer Sr.
renditions. That said I am wondering why this wasn’t discovered earlier. I am pretty sure if AEM has more latency or is executing slower it will not surface as delaying it did the trick. - Andy > > On Mar 2, 2016, at 4:09 PM, Andreas Schaefer Sr. <schaef...@me.com> wrote: &g

Re: Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-03-03 Thread Andreas Schaefer Sr.
are updated. I created the ticket: https://issues.apache.org/jira/browse/SLING-5582 Let me know if you need more info in the ticket. Cheers - Andy > On Mar 3, 2016, at 2:14 AM, Robert Munteanu <romb...@apache.org> wrote: > > On Wed, 2016-03-02 at 17:05 -0800, Andreas Schaefer Sr. w

Re: Random Failure to Deploy a File using AddOrUpdateNodeCommand

2016-03-03 Thread Andreas Schaefer Sr.
> On Mar 3, 2016, at 7:57 AM, Robert Munteanu <romb...@apache.org> wrote: > > On Thu, 2016-03-03 at 06:57 -0800, Andreas Schaefer Sr. wrote: >> Hi Robert >> >> Not sure why but I think this is a timing issue as a 100ms delay does >> prevent it for me. >>

Re: WebDav Polling Not Working

2016-05-06 Thread Andreas Schaefer Sr.
repository. I cannot find any documentation that works with Sling or AEM. - Andy > On May 5, 2016, at 5:06 AM, Robert Munteanu <romb...@apache.org> wrote: > > Hi, > > On Mon, 2016-05-02 at 13:16 -0700, Andreas Schaefer Sr. wrote: >> Hi >> >> I am trying to

WebDav Polling Not Working

2016-05-02 Thread Andreas Schaefer Sr.
Hi I am trying to listen for node creation events and use WebDav connection: session.getWorkspace().getObservationManager().addEventListener() Unfortunately I cannot make this work neither in AEM 6.1 nor in Sling 8. What I see is that I get a DavException: (200) OK which is cause by XML

Re: Parameter Support, Filters and Missing Parameters

2017-02-20 Thread Andreas Schaefer Sr.
ojects/apache-felix-http-service.html#filter-service-properties > > <https://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#filter-service-properties> > > > On Sat, Feb 18, 2017 at 1:59 AM, Andreas Schaefer Sr. <schaef...@me.com > <mailto:

Re: Parameter Support, Filters and Missing Parameters

2017-02-17 Thread Andreas Schaefer Sr.
use a Filter ahead of the Sling Resource Resolution do make changes to the request before the resource is resolved. If that is not possible is there a way to make changes to the sling resource in a filter like when I rewrite the URL to manage (AEM) dispatcher cache for stuff like CSS or i

Re: Parameter Support, Filters and Missing Parameters

2017-02-23 Thread Andreas Schaefer Sr.
t.com") } ) With that I am setting the missing parameters which appear in an attribute of type SlingBindings. - Andy > On Feb 20, 2017, at 1:45 PM, Andreas Schaefer Sr. <schaef...@me.com> wrote: > > Hi Julian > > Thanks for the help. > > I tried to figure out how the

Re: Parameter Support, Filters and Missing Parameters

2017-02-23 Thread Andreas Schaefer Sr.
mvn clean install -P auto-deploy-all Cheers - Andy Schaefer > On Feb 23, 2017, at 7:00 AM, Andreas Schaefer Sr. <schaef...@me.com> wrote: > > I finally was able to place my filter where I wanted it. I could not figure > it out > in the Sling source but the bundle pro

Sling is disregarding changes in filters

2017-02-09 Thread Andreas Schaefer Sr.
Hi I am working at a project (AEM 6.2) where the customer is used Portlets. These are legacy portlets and have very long query strings. The previous deployment used some features of the web server that hide that query string. In AEM 6.0 I created a link rewriter / filter that took the query

Parameter Support, Filters and Missing Parameters

2017-02-14 Thread Andreas Schaefer Sr.
While working on AEM 6.2 SP1 with a Servlet Filter I came across issues with the Parameter Support as they interfere with the Servlet Filters or at least with Servlet Filters that are handled before entering the “Sling domain”. 1) Because of the SlingHttpContext.handleSecurity() the Parameter

Build Issues

2017-02-15 Thread Andreas Schaefer Sr.
Today I wanted to build Sling from trunk. I ran into two issues 1) Preparing test on Apache Sling Dynamic Class Loader Support 1.3.9-SNAPSHOT is blocked for ever on: [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 4.9.1) created. [main] INFO

Re: Build Issues

2017-02-15 Thread Andreas Schaefer Sr.
Hi Stefan Thanks. I am using the git repo and forgot that it can leave spurious directories around (git clean -df fix it then). That said the block in the regular (non -DskipTests) build remains. [INFO] [INFO] Building

Re: Null checking annotatins for IDE tooling (was: Build failed in Jenkins: sling-ide #88)

2017-01-13 Thread Andreas Schaefer Sr.
ably then rely on JSR-305 > annotations (https://sling.apache.org/documentation/development/jsr-305.html). > Konrad > >> On 13 Jan 2017, at 17:10, Andreas Schaefer Sr. <schaef...@me.com> wrote: >> >> If tooling is every going to support other IDEs than Eclipse

Tooling does not handle jcr:content isolated by filter's include

2017-01-09 Thread Andreas Schaefer Sr.
Hi While testing the IntelliJ plugin I discovered that a .content.xml file is ignored and its parent becomes an “nt:folder” if the jcr:content is isolated by a filter’s include. This is what i have: 1) Node /etc/designs/base of type cq:Page 2) jcr:content of type cq:PageCongent 3) filter.xml

Re: Null checking annotatins for IDE tooling (was: Build failed in Jenkins: sling-ide #88)

2017-01-13 Thread Andreas Schaefer Sr.
If tooling is every going to support other IDEs than Eclipse then you should not add more Eclipse dependencies to non Eclipse modules. Cheers - Andy Schaefer > On Jan 10, 2017, at 3:24 AM, Robert Munteanu wrote: > > On Mon, 2017-01-09 at 09:24 -0500, Konrad Windszus

Sling Tooling IDE cannot compile on CLI with Maven

2016-12-30 Thread Andreas Schaefer Sr.
Hi In order to merge my IDE changes to the latest code base to test some issues Ruben discovered with AEM 6.3 I ran into an issue that I could not compile sling/tooling/ide from the command line. I get this when I just try ‘mvn package’ from the tooling/ide folder: [ERROR] Failed to execute

Re: Sling Tooling IDE cannot compile on CLI with Maven

2016-12-30 Thread Andreas Schaefer Sr.
ix those on Monday by building Sling IDE for target > 1.8. > Konrad > > Von meinem iPhone gesendet > >> Am 30.12.2016 um 21:15 schrieb Andreas Schaefer Sr. <schaef...@me.com>: >> >> Hi >> >> In order to merge my IDE changes to the latest

Sling Eclipse Tooling and OSGi Bundle Content

2017-03-27 Thread Andreas Schaefer Sr.
Hi I am wondering if the current Eclipse Tooling supports OSGi Bundle Content (through Sling-Initial-Content)? If not are the any places to support them in the future? Thanks - Andy Schaefer

Re: Sling Eclipse Tooling and OSGi Bundle Content

2017-03-28 Thread Andreas Schaefer Sr.
he.org> wrote: > > Hi Andy, > > On Mon, 2017-03-27 at 10:51 -0700, Andreas Schaefer Sr. wrote: >> Hi >> >> I am wondering if the current Eclipse Tooling supports OSGi Bundle >> Content (through Sling-Initial-Content)? >> >> If not are the any places

Sling Models Web Console should list Models

2017-03-20 Thread Andreas Schaefer Sr.
Hi I just stumbled over an issue with the Sling Models where a plain Sling Model would not be listed in that OSGi Console View: Sling Models. Would it be helpful to have all registered Model Classes listed in that plugin? The AdapterImplementations class has the Map modelClasses and so this

Sling Resource Rendering Inheritance

2017-03-21 Thread Andreas Schaefer Sr.
Hi As a long time CQ / AEM backend developer I ran into some issues to adjust to Sling. I have a resource ‘Home Page’ that should render a JCR node as a HTML page. The Home page component then only adjust the layout of the Body and Head and the rest should be inherited from its Resource Super

Re: Sling Resource Rendering Inheritance

2017-03-21 Thread Andreas Schaefer Sr.
Sorry, wrong mailing list. - Andy > On Mar 21, 2017, at 12:16 PM, Andreas Schaefer Sr. <schaef...@me.com> wrote: > > Hi > > As a long time CQ / AEM backend developer I ran into some issues > to adjust to Sling. > > I have a resource ‘Home Page’ that should rend

Maven Content Package Plugin

2017-04-19 Thread Andreas Schaefer Sr.
Hi I started working on making the wcm-io content package maven plugin to work with Composum so that JCR content packages can be deployed w/o Adobe’s maven plugin. For that I created a ticket here: https://wcm-io.atlassian.net/browse/WTOOL-29 Cheers - Andy

Distribution List of Services fails due to NPE

2017-07-24 Thread Andreas Schaefer Sr.
The distribution fails to list its services under /libs/sling/distribution/services.1.json with an NPE. The reason is that the DefaultDistributionComponentProvider.getComponentMap() returns null for the TRIGGER kind. The getComponents() should check for a null to avoid the NPE. Cheers - Andy

Sling IDE Tooling: rep:policy issue

2017-05-10 Thread Andreas Schaefer Sr.
Hi Robert A client for the IntelliJ plugin asked why he cannot edit a _rep_policy.xml file and deploy it. Debugging the issue I see a Constraint Violation because rep:policy is protected. I tested this will Eclipse and it does work their either. I assume that for rep:policy changes the user

Sling Test Environment Setup with Maven and Content Packages

2017-06-22 Thread Andreas Schaefer Sr.
Hi I need to setup a Sling test instance (with slingstart or something alike) and it needs to be manage by Maven and be able to install Content Packages. Is there a way to include packages during the setup? Thanks - Andy Schaefer

SlingClient is removing double / triple slashes from the URL

2017-06-22 Thread Andreas Schaefer Sr.
Hi If I call a SlingClient this way: slingClient.doGet(“/api/test/move.json//path///content/test//to///content/new-test”, 200) Then what is called is: “/api/test/move.json/path/content/test/to/content/new-test” and hence the call fails. Is there a way to fix that like sub-classing

Re: Sling Test Environment Setup with Maven and Content Packages

2017-06-22 Thread Andreas Schaefer Sr.
So far so good. I was able to fire up Sling and install my content packages using WCMIO content package plugin. It is not as slick as the provisioning model but gets the job done. Cheers - Andy > On Jun 22, 2017, at 2:27 PM, Andreas Schaefer Sr. <schaef...@me.com> wrote: > >

Sling Node Type Web Console Plugin

2017-06-07 Thread Andreas Schaefer Sr.
Hi Twice in a row was I faced with the question what Node Types are deployed in Sling and what is its hierarchy. I know there is this XML web page: http://localhost:8080/_jcr_system/_jcr_nodeTypes.xml but that one is not very user

Re: Sling Node Type Web Console Plugin

2017-06-17 Thread Andreas Schaefer Sr.
> > On Thu, Jun 8, 2017 at 12:46 AM, Andreas Schaefer Sr. <schaef...@me.com> > wrote: >> ...Would you guys be interested in a Web Console Plugin that shows the >> installed Node Types with their hierarchy >> in a way similar the “good-old CRX Explorer” from A