RE: Query with Sling Context Loaded Resources

2021-04-06 Thread Stefan Seifert
g/oak/ExtraSlingContent.java#L53-L66 or directly using the helper methods from org.apache.jackrabbit.oak.plugins.index.IndexUtils stefan >-Original Message- >From: Andreas Schaefer >Sent: Thursday, April 1, 2021 8:13 PM >To: dev >Subject: Query with Sling Context Loaded Resources > &g

Query with Sling Context Loaded Resources

2021-04-01 Thread Andreas Schaefer
Hi In the sub project org.apache.sling.ddr’s core in the sling-whiteboard I tried to use Sling Context to run the Unit Test for DeclarativeDynamicResourceManagerServiceTest. In there I register a new Node Type: @Rule public SlingContext context = new SlingContext(ResourceResolverType.JCR_OAK)