diff options
author | Renu Kumari <renu.kumari@bell.ca> | 2021-08-10 16:43:04 -0400 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2021-08-19 07:13:57 -0400 |
commit | ea04c07ad990b5543766e95e234cae746bd1fbc1 (patch) | |
tree | c50008212dbf1471e859c0f9f681baa146a57c7c /pom.xml | |
parent | 25ed5a8a63e88edd0b9c8285b640839a6e93866a (diff) |
Validate controller input and provide expected response
- validate endpoint input
- set default values if it is missing in the optional fields
- used hateoas for previous and next record link generation
- use service layer in controller layer
Issue-ID: CPS-449
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I7936cd9e8e7dead3b5650b421bb12f10d14ffa9b
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -117,6 +117,10 @@ <artifactId>spring-boot-starter-validation</artifactId> </dependency> <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-hateoas</artifactId> + </dependency> + <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> <version>${mapstruct.version}</version> |