From d84674c6373a6f3e507735802521a4eb12a44f83 Mon Sep 17 00:00:00 2001 From: prgres Date: Tue, 22 Jan 2019 03:16:40 +0100 Subject: [PATCH] add update product and omitted validation --- .idea/dataSources.xml | 11 + .idea/workspace.xml | 341 ++++++++++-------- .../sysmag/controller/ProductController.java | 11 + .../scrum/sysmag/service/ProductService.java | 2 + .../sysmag/service/ProductServiceImpl.java | 28 +- .../sysmag/validationGroup/UpdateGroup.java | 8 + src/main/resources/application.properties | 2 +- target/classes/application.properties | 24 +- 8 files changed, 271 insertions(+), 156 deletions(-) create mode 100644 .idea/dataSources.xml create mode 100644 src/main/java/com/dino/scrum/sysmag/validationGroup/UpdateGroup.java diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..e05b8fd --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,11 @@ + + + + + postgresql + true + org.postgresql.Driver + jdbc:postgresql://ec2-54-75-230-41.eu-west-1.compute.amazonaws.com:5432/d3e1jrm08qe91q?ssl=true&sslmode=require&amp=org.postgresql.ssl.NonValidatingFactory + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b9a1078..5a575d6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,20 +1,13 @@ - - - - - + + - - - - - + @@ -35,85 +28,113 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +