This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resource resource; | |
ValueMap mainProperties; | |
ValueMap assetMetadataProperties; | |
Resource metadataResource; | |
ValueMap jcrProperties; | |
Resource jcrdataResource; | |
ValueMap allProperties; | |
for (Hit hit : result.getHits()) { | |
//LOGGER.info("nHit path="+hit.getPath()+", title="+hit.getTitle()); resource = hit.getResource(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.web.core.servlets; | |
import com.day.cq.commons.jcr.JcrConstants; | |
import com.day.cq.search.PredicateGroup; | |
import com.day.cq.search.Query; | |
import com.day.cq.search.QueryBuilder; | |
import com.day.cq.search.result.Hit; | |
import com.day.cq.search.result.SearchResult; | |
import org.apache.commons.collections.CollectionUtils; | |
import org.apache.sling.api.SlingHttpServletRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.sling.api.resource.NonExistingResource; | |
.. | |
public class AemTag { | |
.. | |
@Expose | |
private final String id; | |
@Expose | |
private final String title; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<workspaceFilter version="1.0"> | |
<filter root="/content"> | |
<exclude pattern="/content/jcr:system"/> | |
<exclude pattern="/content/var/classes"/> | |
<exclude pattern="^.*/rep:accessControl"/> | |
</filter> | |
</workspaceFilter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.engg.java.reactive; | |
import org.springframework.web.bind.annotation.RestController; | |
import org.springframework.web.bind.annotation.GetMapping; | |
@RestController | |
public class TestController { | |
@GetMapping | |
public String sample() { | |
ReqResWebClient webClient = new ReqResWebClient(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.engg.java.reactive; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
@SpringBootApplication | |
public class ReactiveApplication { | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.engg.java.reactive; | |
import org.springframework.http.MediaType; | |
import org.springframework.web.reactive.function.client.ClientResponse; | |
import org.springframework.web.reactive.function.client.WebClient; | |
import reactor.core.publisher.Mono; | |
import reactor.core.publisher.Flux; | |
import com.engg.java.reactive.reqres.User; | |
public class ReqResWebClient { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.6.0</version> | |
<executions> | |
<execution> | |
<id>integration-test</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>exec</goal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.6.0</version> | |
<executions> | |
<execution> | |
<id>install-tester</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>exec</goal> |
NewerOlder