Bael 4457 list of json objects with rest template (#10058)

* Add users.json

* BAEL-4457 demo app with Object array and ParameterizedTypeReference example

* BAEL-4457 write unit tests

* BAEL-4456 remove new directory

* BAEL-4457 fix pom and testname

* BAEL-4457 use default target release

* BAEL-4457 add more examples of processing the objects and address comments

* BAEL-4457 remove new ArrayList and put @ResponseBody before public

* BAEL-4457 use static userJson object

* BAEL-4456 tidy up extra spaces

* BAEL-4457 removed too many brackets

* BAEL-4457 remove incorrect assertion

* BAEL-4457 use a service instead of another controller

* BAEL-4457 use ObjectMapper to extract usernames from objects

* BAEL-4457 fix UserController

* BAEL-4457 delete provider service and controller

* BAEL-4457 use functional interface where possible

* BAEL-4457 remove unnecessary annotations and tidy indents for exchange()

* BAEL-4457 use @JsonCreator and @JsonProperty and resolve comments

* BAEL-4457 improve comment

* BAEL-4457 remove comments and use assertj core lib for assertions

* BAEL-4457 fix indents

Co-authored-by: Trixi Turny <writetotrixi@gmail.com>
This commit is contained in:
Trixi-Turny
2020-12-18 09:11:27 +00:00
committed by GitHub
parent 83e87aebc0
commit f542a4afab
6 changed files with 299 additions and 7 deletions
+7 -7
View File
@@ -71,16 +71,16 @@
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>