I've been trying to parse a node property into a java object, it is a string type that holds my asset path (e.g /content/dam/test).
I'm using the JRC query below but it always returns the full node with all its properties.
SELECT asset.[jcr:content/data/master:image] FROM [dam:Asset] AS asset
WHER...
1 - The class is being listed in /system/console/components (and active).
2 - When I entry the url in Sling Servlet Resolver (system/console/servletresolver/) I get this message:
Could not find a suitable servlet for this request!
3- When I call it from postman or direct in browser:
4242 TIMER_END...
I need to run "mvn clean install -PautoInstallBundle" every time I do any small change in my servlet class and it takes nearly 30 minutes do deploy everything... Is there a better way to build and sent only core module to the AEM instance?
Hello again!
Getting this error when I run the test class below at ctx.load().json line. It seems that I can't create an array of objects in the json mock... Is there another way that I could implement the json?
package com.test.core.models.impl.section;
import io.wcm.testing.mock.aem.junit5.Ae...
Testing locally and getting error at this this line: ctx.load().json("/com/test/core/models/impl/CardTest.json", "/content");
Java test class:
@ExtendWith({AemContextExtension.class, MockitoExtension.class})
public class CardTest {
private final AemContext ctx = new AemContext();
private Car...
Testing locally and getting error at this this line: ctx.load().json("/com/test/core/models/impl/CardTest.json", "/content");
Java test class:
@ExtendWith({AemContextExtension.class, MockitoExtension.class})
public class CardTest {
private final AemContext ctx = new AemContext();
private Ca...