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

rachanam1547401
rachanam1547401
Offline
  • 29-03-2019
    Hi Gaurav,Thanks for your reply. I already have SSI implemented which is similar to SDI and it has it's own challenges of invalidating SSI snippets on dispatcher and one of the reason, we are looking for simple solution like TTL.I will try customising ACS code and will update here. Once again thanks...

    Type

    Questions

    Views

    1.3K

    Like

    1

    Replies

    0
  • 29-03-2019
    anjalishyamsundar​ Hi yeah you can try JCR Events but I didn't use it because it's not cluster safe and very low level, requires lot of filtering in the code before we reach to interested event. I am also not using osgi annotations so that's another blocker for me to go for JCR Events.

    Type

    Discussions

    Views

    3.7K

    Like

    1

    Replies

    0
  • 29-03-2019
    Hi All,I am trying to implement TTL using acs aem commons and it's working fine if I configure it based on paths(Max Age) option.I was looking for something if it has TTL configuration available per resourceType or template based? Has anyone tried this thing.Having resourceType based TTL can be help...

    Type

    Questions

    Views

    1.9K

    Like

    1

    Replies

    3
  • 23-07-2018
    Hi Arun,Many thanks for the help, I replaced maven scr plugin with OSGI annotations plugin and looks like I am able to get the repository now but I am getting exception when I try to register event handler using observationManager object.It throws exception on following line.observationManager.addEv...

    Type

    Discussions

    Views

    3.7K

    Likes

    0

    Replies

    3
  • 20-07-2018
    Hi Arun,Thanks for it.I have written similar code as you, the only difference I can see is, you are using @Reference for SlingRepository from hereimport org.osgi.service.component.annotations.Reference; while I am using import org.apache.felix.scr.annotations.Reference;Can you please also share your...

    Type

    Discussions

    Views

    3.7K

    Likes

    0

    Replies

    5
  • 20-07-2018
    Hi Arun,thanks for the message.Please find imports which I am using.import org.apache.felix.scr.annotations.Reference;import org.apache.sling.jcr.api.SlingRepository;import org.osgi.service.component.ComponentContext;import org.osgi.service.component.annotations.Component;import org.slf4j.Logger;imp...

    Type

    Discussions

    Views

    5.1K

    Likes

    0

    Replies

    7
  • 20-07-2018
    Yes but it throws NP Exception because it doesn't get access to repository so when it tries to access .loginService on null object, it throws NPEThanks,Rachna

    Type

    Discussions

    Views

    5.1K

    Likes

    0

    Replies

    9
  • 20-07-2018
    Thanks Arun,I have tried above option and after deploying it to 6.4, seems like I am getting null pointer exception when I am trying to get the session using repository.loginService("readService", null); and getting null value for the repository.I have initialised repository using following line.@Re...

    Type

    Discussions

    Views

    5.1K

    Likes

    0

    Replies

    11
  • 19-07-2018
    Thanks both!JCR Events has an issue when it comes to getting admin session, it's not allowing to get session using standard sys users way, and it requires to use deprecated method repository.loginAdministrative(null) & whitelisting the bundle to get the session;I was thinking to go for higher level ...

    Type

    Discussions

    Views

    5.1K

    Likes

    0

    Replies

    13
  • 19-07-2018
    Hi,We have various event handlers which are not working in 6.4 since various attributes(resourceChangedAttributes etc.) are removed from Sling Events. I was wondering if Adobe I/O Event handling can be a potential solution?? Has anyone tried this ?Thanks,Rachna

    Type

    Discussions

    Views

    6.3K

    Likes

    0

    Replies

    17
Top badges earned by rachanam1547401
Customize the badges you want to showcase on your profile