From aa9bdd514ab90d0da0391b879255a22c29450e9a Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Thu, 25 Jul 2024 20:36:11 +1000 Subject: Validate import payload and return create/update stats - Add validation to /import payload - Move import logic to service bean - Track whether entities have been created or update - Report number of created and updated entities as return value for the import endpoint - Add some test coverage to exercise the validators --- pom.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 0422efd..cc5ce5d 100644 --- a/pom.xml +++ b/pom.xml @@ -51,6 +51,10 @@ spring-boot-starter-test test + + org.springframework.boot + spring-boot-starter-validation + com.fasterxml.jackson.dataformat jackson-dataformat-xml -- cgit v1.2.3