Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

sneakybeaky
Community profile sneakybeaky Level 2
Job title here
Location here
10 BADGES
Level 2

Level 2

Learn more
Joined the community 03-04-2012 6:17:23 AM
Offline
Top badges earned by sneakybeaky
Customize the badges you want to showcase on your profile
Re: Embed license.properties in quickstart jar ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi Sham,As I said initially, if we must move the license.properties then every single project we do will need to have a copy of the license.properties in it's source code control. We're using the technique detailed at http://labs.sixdimensions.com/blog/2013-11-26/integration-tests-adobe-cq/. We retrieve the CQ quickstart from a private maven repo, using the standard maven dependency mechanism. If we say have 20 projects going on with CQ then they can all use the same quickstart for the integrati...

Views

1.4K

Likes

0

Replies

0
Embed license.properties in quickstart jar ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,As part of our build process we use the technique of deploying tests to a CQ instance that we spin up and invoke the tests remotely - this works fine. However, a complication is that when the CQ quickstart jar is started up it needs license.properties in the working directory. Is there any way we can repackage the quickstart jar with the license.properties so avoid this ? Or can we supply the properties from the license file as command line options or similar ?Right now copying the license.pr...

Views

2.2K

Likes

0

Replies

3
Custom Login Modules & Groups
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We would like to use the AEM Closed User Group feature to restrict areas of our website to certain users. We would like to use a third party such as Gigya to handle user enrolment etc, along with setting the groups that the user belongs to using data held in Gigya. We're happy with how to do this using Gigya's API.The question now is how to integrate this with AEM. The first part, login in, seems straightforward with a custom Login Module as per this blog post and and this CRX doc page. Howev...

Views

420

Likes

0

Replies

0
Re: Custom LoginModule and Closed User Groups
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi Yogesh,When an author uses the CUG facility they set the group principal in the page property dialog, which in turn sets the ACLs in the content hierarchy. However, the group principal is selected from groups held in the JCR as far as I can tell. I think I can use the CUG auth handler as it is, but write a login module for the external system.But what I don't understand is if it's possible for my login handler to associate user principals with group principals held in the JCR for the ACLs aga...

Views

814

Likes

0

Replies

0
Custom LoginModule and Closed User Groups
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We have the need to store a large number of users in an external system, and restrict areas of our CQ powered site to those users. It looks like the Closed User Group feature is a good fit for this. It also looks like we can create a custom Login Module to authenticate users against the external system.I'm not clear though how the users would be tied against the closed user group mechanism. It seems that when you define a CUG the ACLs for the tree are updated to restrict access to the group, ...

Views

1.1K

Likes

0

Replies

2
Re: Dispatcher Permission Sensitive Caching - example servlets buggy ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Thanks,I'll raise a ticket.

Views

722

Likes

0

Replies

0
Re: Dispatcher Permission Sensitive Caching - example servlets buggy ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,That's not the issue I'm facing, however the servlet code in that thread has the same issues as I outline above.

Views

707

Likes

0

Replies

0
Dispatcher Permission Sensitive Caching - example servlets buggy ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We're setting up permission sensitive caching with the dispatcher (version 4.1.7) and AEM 6.0. There are several examples of the servlet to use to do the actual permission check, but as far as I can see they all have the same issue. (After asking for clarification we have been directed by Adobe to use the example at http://docs.adobe.com/docs/en/dispatcher/permissions-cache.html.)The underlying issue is that the dispatcher sends the full URI to the CQ instance for the permission check, as the...

Views

1.2K

Likes

0

Replies

4
Re: Filesystem snapshot backups & lucene index
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Thanks Jörg, that is extremely helpful.

Views

763

Likes

0

Replies

0
Filesystem snapshot backups & lucene index
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We're looking into using the filesystem snapshot backup method, which is extremely fast. The important part is suspending all writes to disk while the filesystem snapshot is taken. According to the docs invoking the JMX operation blockRepositoryWrites on the MBean com.adobe.granite:type=Repository prevents CRX writing to disk. My question is, does this also suspend lucene indexes being written as well (is lucene seen as part of CRX) ? If lucene operations aren't suspended there is a chance th...

Views

839

Likes

0

Replies

2
Formatting currencies in Sightly
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We need to display currencies that are locale sensitive in Sightly. Using JSP and JSTL this is fairly easy :<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> And we would get something like £120,000.23.How do we do the same in sightly ? We really don't want our models to do the formatting, as this is really a view level concern.Thanks

Views

935

Like

1

Replies

1
Re: Sling Models in CQ 5.5 ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Many thanks - that was quick ! Do you know when that might happen ? And pending that I guess we can just patch locally, build & deploy sling models and then deploy the official release when available ?

Views

649

Likes

0

Replies

0
Sling Models in CQ 5.5 ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,We're using Sling Models successfully in our AEM 6.0 projects. We also have some projects using CQ 5.5. Right now the Sling Models 1.0.6 implementation doesn't work in a 5.5 instance as the dependency is thas on org.apache.sling.commons.osgi isn't satisfied - 5.5 supplies 2.1.0 and Models needs 2.2 or later.Is there any way to get Models working on a 5.5 instance ?Thanks.

Views

731

Likes

0

Replies

3
CQ External component 'adaptive' inclusion mode
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,In CQ 5.5 the external component allowed inclusion of 3rd party content rendered in the same CQ page using 'adaptive' inclusion mode - as described here. However, it looks like this has been removed in CQ 5.6.1 - the same component just has the iframe mode as described here.However, the underlying Java class that pulled in the external content for adaptive mode is still in the cq-wcm-foundation jar - com.day.cq.wcm.foundation.impl.Rewriter.So my question is :1. Why was adaptive inclusion mode...

Views

1.3K

Likes

0

Replies

1
Re: New hobbes.js functional test framework in AEM 6.0 and using for CI builds
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi Sham,Thanks for your reply - I didn't phrase my question well. As you say I understand that the tests must run from a browser. So we can use selenium or similar as part of our build to do that phase. However, it seems from the hobbes source code that the JUnit XML report can be stored within the AEM instance, so once the browser has run the tests and exited we can have some code using org.apache.sling.testing.tools.sling.SlingClient to fetch that Junit XML report, parse it and fail the build ...

Views

789

Likes

0

Replies

0
Re: New hobbes.js functional test framework in AEM 6.0 and using for CI builds
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
OK, will do. Pending that reply can you tell me what HTTP calls / URLs are invoked to create the JUnit report ? We can then hook this into our build without the need of the maven plugin.

Views

782

Likes

0

Replies

0
New hobbes.js functional test framework in AEM 6.0 and using for CI builds
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,Just saw this on hobbes.js - http://aempodcast.com/2014/testing/aem-6-0-functional-testing-framework-overview/#.U7KrIqhGxPh - which is fantastic news. Digging into the source of hobbes it looks like it can be run to produce a junit xml style report. We'd love to incorporate the hobbes functional tests into our CI build, and this looks ideal. However, I can't see how to invoke hobbes in this mode. Can someone explain how we can run all the hobbes tests for a site and produce the junit XML repo...

Views

2.6K

Like

1

Replies

8
Re: AEM 6.0 product dependencies POM ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Thanks Ove, exactly what I was looking for.

Views

644

Likes

0

Replies

0
AEM 6.0 product dependencies POM ?
Avatar
Ignite 10
Level 2
sneakybeaky
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Give Back 5
Ignite 5
Give Back 3
Ignite 3
View profile
sneakybeaky
- Adobe Experience Manager
Hi,I can't find the equivalent of the cq-quickstart-product-dependencies POM for AEM 6.0 (see http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apache-maven.html#How-To Add Dependencies for background).Is there such a POM anywhere under different maven co-ordinates, or for now do we simply have to resolve all dependencies ourselves via the console & add to our top level POM ?Thanks.

Views

786

Like

1

Replies

2
Likes given to
Likes from