diff --git a/README.md b/README.md index 484074009..133e683c7 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ There are two ways of running this service * The easiest way is via docker (https://github.com/ONSdigital/ras-rm-docker-dev) * Alternatively running the service up in isolation +* gcloud auth configure-docker when running locally ```bash cp .maven.settings.xml ~/.m2/settings.xml # This only needs to be done once to set up mavens settings file mvn clean install diff --git a/pom.xml b/pom.xml index 813bfd8e2..4f7909d09 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ 2.4.11 1.2.8.RELEASE - 2.12.2 + 2.13.0 11 1.5.4 UTF-8 @@ -52,6 +52,11 @@ spring-boot-starter + + org.springframework.boot + spring-boot-starter-jetty + + org.springframework.boot spring-boot-starter-validation @@ -77,46 +82,11 @@ spring-boot-starter-test - - - org.mockito - mockito-core - 2.22.0 - test - - - - org.springframework.boot - spring-boot-starter-jetty - - - - org.springframework.integration - spring-integration-amqp - - - - org.springframework.integration - spring-integration-xml - - - - org.springframework.amqp - spring-amqp - - org.springframework.boot spring-boot-starter-data-jpa - - org.springframework.boot - spring-boot-configuration-processor - true - - org.springframework spring-context-support @@ -125,45 +95,40 @@ org.springframework.security spring-security-crypto - 5.0.19.RELEASE + 5.5.2 org.springframework.cloud spring-cloud-gcp-starter-pubsub + - org.springframework.integration - spring-integration-core + org.springframework.boot + spring-boot-configuration-processor + true - - com.sun.xml.messaging.saaj - saaj-impl - 1.5.2 - - - - commons-collections - commons-collections - 3.2.2 + ma.glasnost.orika + orika-core + ${orika.version} ma.glasnost.orika - orika-core + orika-eclipse-tools ${orika.version} org.projectlombok lombok - 1.18.2 + 1.18.22 @@ -181,7 +146,7 @@ net.codesup.util jaxb2-rich-contract-plugin - 2.0.1 + 2.1.0 @@ -195,18 +160,6 @@ runtime - - ma.glasnost.orika - orika-eclipse-tools - ${orika.version} - - - - net.logstash.logback - logstash-logback-encoder - 4.11 - - javax.servlet javax.servlet-api @@ -215,7 +168,7 @@ org.springdoc springdoc-openapi-ui - 1.4.1 + 1.5.11 @@ -230,12 +183,6 @@ - - com.thoughtworks.xstream - xstream - 1.4.18 - - com.fasterxml.jackson.core jackson-core @@ -248,74 +195,30 @@ ${jackson.version} - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - ${jackson.version} - - com.fasterxml.jackson.core jackson-annotations ${jackson.version} - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - - com.godaddy logging 1.2.5 - - javax.xml.bind - jaxb-api - 2.3.1 - + - - org.glassfish.jaxb - jaxb-runtime - 2.3.3 - + + - com.sun.xml.bind - jaxb-core - 2.3.0 - - - com.sun.xml.bind - jaxb-impl - 2.3.0 - - - javax.annotation - javax.annotation-api - 1.3.2 - - - xml-apis - xml-apis - 1.4.01 + org.mockito + mockito-core + 4.0.0 test - - javax.activation - activation - 1.1.1 - - - com.google.cloud - google-cloud-pubsub - - - - com.mashape.unirest @@ -327,7 +230,7 @@ commons-io commons-io - 2.7 + 2.11.0 test @@ -341,7 +244,7 @@ com.github.tomakehurst wiremock - 2.18.0 + 2.27.2 test diff --git a/src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierDTO.java b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierDTO.java similarity index 79% rename from src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierDTO.java rename to src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierDTO.java index 0d3208075..a5abc7b21 100644 --- a/src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierDTO.java +++ b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierDTO.java @@ -1,4 +1,4 @@ -package uk.gov.ons.response.survey.representation; +package uk.gov.ons.ctp.response.collection.exercise.representation; import lombok.AccessLevel; import lombok.Data; diff --git a/src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierTypeDTO.java b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierTypeDTO.java similarity index 83% rename from src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierTypeDTO.java rename to src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierTypeDTO.java index ff68636dc..0b6dce16a 100644 --- a/src/main/java/uk/gov/ons/response/survey/representation/SurveyClassifierTypeDTO.java +++ b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyClassifierTypeDTO.java @@ -1,4 +1,4 @@ -package uk.gov.ons.response.survey.representation; +package uk.gov.ons.ctp.response.collection.exercise.representation; import java.util.List; import lombok.AccessLevel; diff --git a/src/main/java/uk/gov/ons/response/survey/representation/SurveyDTO.java b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyDTO.java similarity index 91% rename from src/main/java/uk/gov/ons/response/survey/representation/SurveyDTO.java rename to src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyDTO.java index 4cb92e76d..767c84a95 100644 --- a/src/main/java/uk/gov/ons/response/survey/representation/SurveyDTO.java +++ b/src/main/java/uk/gov/ons/ctp/response/collection/exercise/representation/SurveyDTO.java @@ -1,4 +1,4 @@ -package uk.gov.ons.response.survey.representation; +package uk.gov.ons.ctp.response.collection.exercise.representation; import lombok.AccessLevel; import lombok.Data;