since ‎16-04-2018
‎29-02-2020
coder786
Level 1
Re: How write unit test case for sling servlet which have...
Avatar

coder786

coder786
- Adobe Experience Manager
Can you advice where i can put logger to check what the content repository loaded?

Views

7.0K

Likes

0

Replies

0
Re: How write unit test case for sling servlet which have...
Avatar

coder786

coder786
- Adobe Experience Manager
I am not getting any exception But while running the unit test case I am not getting any response or to be more precise not getting any result from query executionString query = "select * from [cq:Page] as a where contains(*, '"+keyword+"') and isdescendantnode(a, '/content/mysite')"; Iterator results = resourceResolver.findResources(query, "sql"); Below is the page json. Can you share what's wrong I am doing here or it not possible? { "jcr:content": "nt:unstructured", "mysite": { "jcr:primaryTy...

Views

7.1K

Likes

0

Replies

0
Re: How write unit test case for sling servlet which have...
Avatar

coder786

coder786
- Adobe Experience Manager
I am not getting any exception

Views

7.1K

Likes

0

Replies

0
How write unit test case for sling servlet which have sql query code
Avatar

coder786

coder786
- Adobe Experience Manager
Hi, How I can write unit test case for sling servlet which have sql query code. I have tried to write unit test but that is not working kindly look below is the sling servlet code and unit test code share what's wrong I am doing# Servletimport java.io.IOException;import java.util.Iterator;import java.util.Objects;import javax.servlet.Servlet;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.resource.Resource;impor...

Views

7.2K

Likes

0

Replies

7
What are all task to upgrade AEM from 6.2 to 6.3
Avatar

coder786

coder786
- Adobe Experience Manager
Hi Team,We have already built an application in AEM 6.2 (SP1) now we get client requirement upgrade it to the AEM 6.3.Can you please share the list of task and analysis which we will do in the upgrade process.

Views

489

Likes

0

Replies

1