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

karthik4
karthik4
Offline

Badges

Badges
10

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
2

Posts

Posts
30

Discussions

Discussions
0

Questions

Questions
30

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by karthik4
Customize the badges you want to showcase on your profile
Servlet JSON Response integration Tests - Adobe Experience Manager 28-07-2020
Hello All,There's requirement to expose a large sized JSON from an AEM servlet. The work is all complete. The Servlet is exposing the correct data. We are using unit tests to validate and ensure each and every property and type exists in the JSON response. The next requirement is to write testes to validate against a swagger contract. How can we set this up? Is this an integration test? How to get started?

Views

359

Likes

0

Replies

1
Where to save 3rd Party Nodes in the JCR, AEM 6.4+ - Adobe Experience Manager 28-07-2020
Hello, I'm planning to write a schedular in AEM that calls an 3rd party api, then saves the data everyday at 2am. The data is then used to render pages. My Question, where in the JCR would I save these these nodes, what would the best practice JCR structure look like?Is the /etc folder a good place to keep these nodes... as they are always being updated everyday at 2am?The 200OK response JSON structure looks like this:[ { "Name":"chevrolet chevelle malibu", "Miles_per_Gallon":18, "Cylinders":8, ...

Views

527

Likes

0

Replies

4
Groovy Console on Production - Adobe Experience Manager 28-07-2020
I need to content migrate all pages that has an existing legacy component to migrate it to a new component structure (total nodes found, more than 1000). My plan is to run the groovy script on production author, then to tree-activate the entire tree structure. Is it best practice to Groovy Console on Production author, then to replicate from Production author?

Views

409

Likes

0

Replies

2
AEM 6.5, questions for 3rd party data stored into AEM - Adobe Experience Manager 25-07-2020
Hello,My AEM application depends on data from a 3rd party API which will be used to render HTML on the page. I understand data from 3rd party API is recommended to be stored in AEM, so it can improve performance overall effortOld aem is recommended to store data under /etc, how about about AEM 6.5?How is the 3rd party data, saved as nodes, invalidated?How is the data within the saved nodes refreshed?What is the best practice to invoke the 3rd party data saving mechanism?example JSON response fro...

Views

281

Likes

0

Replies

1
Re: External content in AEM - Adobe Experience Manager 04-07-2020
@varuns, where in the JCR should we store the imported data? /etc? /content?, given example for the we.retail project, where would we store the data?

Views

591

Likes

0

Replies

0
How to programmatically enable / disable cq:noDecoration? - Adobe Experience Manager 26-06-2020
Hello All,I have a problem where the overall page renders HTML elements as expected in the publisher when cq:noDecoration is set to "true" on a given component.However, when cq:noDecoration is set to "true", I cannot edit and make any changes my component; the dialogue does not show. When I set the value to false, it works again, but I the publisher needs the value cq:noDecoration=true.Is there a nice way for me to programmatically set cq:noDecoration to true only on "author mode"?Requirement:on...

Views

795

Likes

0

Replies

3
Re: wcm.io mockPageManager, unable to test PageManager "c... - Adobe Experience Manager 13-05-2020
Yeah, we can see that the MockPageManager.copy is not implemented.@Override 294 public Page copy(final Page page, final String destination, final String beforeName, final boolean shallow, 295 final boolean resolveConflict) { 296 throw new UnsupportedOperationException(); 297 }https://wcm.io/testing/aem-mock//xref/io/wcm/testing/mock/aem/MockPageManager.htmlWhat is another way to test this?

Views

3.0K

Likes

0

Replies

0
Re: wcm.io Junit4 Test - Sling Model Constructor - Adobe Experience Manager 13-05-2020
thank you, I figured it out without the Constructer. this works!

Views

2.7K

Likes

0

Replies

0
wcm.io Junit4 Test - Sling Model Constructor - Adobe Experience Manager 12-05-2020
Hello, I am having a problem where the resource is not injected into the Sling Model constructor during a test, I was able to inject mock services into the constructor, but unable to with the resource object (I do not wish to inject the Resource via Sling Model Annotations, as I want to use the constructor only):WebData Sling Model:@Model(adaptables = {SlingHttpServletRequest.class, Resource.class}, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class WebData { @inject publ...

Views

3.9K

Likes

0

Replies

3
wcm.io mockPageManager, unable to test PageManager "copy". - Adobe Experience Manager 12-05-2020
Hello Guys, I am trying to test the PageManager.copy() with wcm.io, but am unable to do so. This is because the mockPageManager.copy() is not implemented. What are some other ways for me to test the PageManager.copy() command?io.atlassian.net/browse/WTES-17?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel java.lang.UnsupportedOperationExceptionat org.apache.sling.testing.mock.jcr.MockSession.move(MockSession.java:424)

Views

3.3K

Like

1

Replies

2
Likes given to
Likes from