skip to Main Content

Redis – Why does ResponseBody and Jackson ObjectMapper don't return the same output?

I am using a Spring Boot application. I have a method in my controller that returns some Resources: @ResponseBody @Transactional(rollbackFor = Exception.class) @GetMapping(value="data/{itemId}/items", produces="application/json") public Resources<DataExcerpt> listMyData(@PathVariable("debateId") UUID debateId)){ List<DataExcerpt> dataExcerpts = dataService .listMyData(id) .stream() .map(d -> this.projectionFactory.createProjection(DataExcerpt.class, d)) .collect(Collectors.toList());…

VIEW QUESTION

maven enforcer does not honor rules – Debian

i am using maven enforcer version 3.0.0-M3. i configured the rules within the pom.xml as follows: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>foo</groupId> <artifactId>foo</artifactId> <version>0.0.1</version> <properties> <java.version>1.8</java.version> <mvn.version>3.6.3</mvn.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M3</version> <executions> <execution>…

VIEW QUESTION
Back To Top
Search