From 5bd60fe27b06fcbb06458bd7d223e8a779b97a1e Mon Sep 17 00:00:00 2001 From: Nicolas Glassey Date: Wed, 25 Jan 2023 09:59:35 +0100 Subject: [PATCH] core:replacing etudiant by my name --- README.md | 2 +- {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/pom.xml | 6 +++--- .../ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java | 2 +- .../exa/ETUDIANT/api/configuration/HomeController.java | 2 +- .../api/configuration/OpenApiDocumentationConfig.java | 2 +- .../amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java | 8 ++++---- .../heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java | 2 +- .../ETUDIANT/api/exceptions/QuoteNotFoundException.java | 2 +- .../exa/ETUDIANT/api/repositories/QuoteRepository.java | 4 ++-- .../heig/amt/exa/ETUDIANT/api/services/QuotesService.java | 2 +- .../src/main/resources/api.yaml | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/data.sql | 0 {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/pom.xml | 4 ++-- .../src/main/resources/api.yaml | 0 .../ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java | 2 +- .../ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java | 2 +- .../src/test/resources/features/quotes.feature | 0 pom.xml | 6 +++--- 19 files changed, 23 insertions(+), 23 deletions(-) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/pom.xml (96%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java (96%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java (87%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java (93%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java (90%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java (95%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java (86%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java (74%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java (65%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/resources/api.yaml (100%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/resources/application.properties (100%) rename {amt-exa-ETUDIANT-api => amt-exa-GLASSEY-api}/src/main/resources/data.sql (100%) rename {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/pom.xml (98%) rename {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/src/main/resources/api.yaml (100%) rename {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java (92%) rename {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java (96%) rename {amt-exa-ETUDIANT-spec => amt-exa-GLASSEY-spec}/src/test/resources/features/quotes.feature (100%) diff --git a/README.md b/README.md index ab6b8ba..cac9320 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ et un module spec pour le client BDD - Ajoutez tous les fichiers du projet dans GIT et faites un premier commit avec le message "initial" et push en utilisant GIT en ligne de commande ou avec IntellJ - **Vérifiez le contenu de votre dépôt privé et n'y touchez plus jusqu'à l'examen** - Invitez nous **au plus tard lors de la dernière séance AMT du semestre** à votre dépôt privé comme collaborateur via Settings / collaborators de GITHUB : - - nicolas.glassey@cpnv-vd.ch + - nicolas.glassey@cpnv.ch - patrick.lachaize@gmail.com ## Vérification du bon fonctionement avec le endpoint "quotes" inclus dans le projet diff --git a/amt-exa-ETUDIANT-api/pom.xml b/amt-exa-GLASSEY-api/pom.xml similarity index 96% rename from amt-exa-ETUDIANT-api/pom.xml rename to amt-exa-GLASSEY-api/pom.xml index a891850..a6dc891 100644 --- a/amt-exa-ETUDIANT-api/pom.xml +++ b/amt-exa-GLASSEY-api/pom.xml @@ -1,8 +1,8 @@ 4.0.0 - amt-exa-ETUDIANT-api + amt-exa-GLASSEY-api jar - amt-exa-ETUDIANT-api + amt-exa-GLASSEY-api 1.0.0 17 @@ -12,7 +12,7 @@ ch.heigvd - amt-exa-ETUDIANT + amt-exa-GLASSEY 1.0-SNAPSHOT diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java similarity index 96% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java index ccc7b29..3744e44 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/Swagger2SpringBoot.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api; +package ch.heig.amt.exa.GLASSEY.api; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.ExitCodeGenerator; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java similarity index 87% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java index 3818b6f..fd42c28 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/HomeController.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api.configuration; +package ch.heig.amt.exa.GLASSEY.api.configuration; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java similarity index 93% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java index 0d64286..b5cb3d5 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/configuration/OpenApiDocumentationConfig.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api.configuration; +package ch.heig.amt.exa.GLASSEY.api.configuration; import io.swagger.v3.oas.models.ExternalDocumentation; import io.swagger.v3.oas.models.OpenAPI; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java similarity index 90% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java index 24029b8..684869e 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/endpoints/QuotesEndPoint.java @@ -1,10 +1,10 @@ -package ch.heig.amt.exa.ETUDIANT.api.endpoints; +package ch.heig.amt.exa.GLASSEY.api.endpoints; -import ch.heig.amt.exa.ETUDIANT.api.entities.QuoteEntity; +import ch.heig.amt.exa.GLASSEY.api.entities.QuoteEntity; import org.openapitools.api.QuotesApi; -import ch.heig.amt.exa.ETUDIANT.api.exceptions.QuoteNotFoundException; +import ch.heig.amt.exa.GLASSEY.api.exceptions.QuoteNotFoundException; import org.openapitools.model.Quote; -import ch.heig.amt.exa.ETUDIANT.api.repositories.QuoteRepository; +import ch.heig.amt.exa.GLASSEY.api.repositories.QuoteRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java similarity index 95% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java index e0845c1..5d390df 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/entities/QuoteEntity.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api.entities; +package ch.heig.amt.exa.GLASSEY.api.entities; import jakarta.persistence.*; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java similarity index 86% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java index bb92811..120d6a4 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/exceptions/QuoteNotFoundException.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api.exceptions; +package ch.heig.amt.exa.GLASSEY.api.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java similarity index 74% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java index b268a6b..843b67b 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/repositories/QuoteRepository.java @@ -1,6 +1,6 @@ -package ch.heig.amt.exa.ETUDIANT.api.repositories; +package ch.heig.amt.exa.GLASSEY.api.repositories; -import ch.heig.amt.exa.ETUDIANT.api.entities.QuoteEntity; +import ch.heig.amt.exa.GLASSEY.api.entities.QuoteEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java similarity index 65% rename from amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java rename to amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java index cccf63d..8181fa9 100644 --- a/amt-exa-ETUDIANT-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java +++ b/amt-exa-GLASSEY-api/src/main/java/ch/heig/amt/exa/ETUDIANT/api/services/QuotesService.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.api.services; +package ch.heig.amt.exa.GLASSEY.api.services; import org.springframework.stereotype.Service; diff --git a/amt-exa-ETUDIANT-api/src/main/resources/api.yaml b/amt-exa-GLASSEY-api/src/main/resources/api.yaml similarity index 100% rename from amt-exa-ETUDIANT-api/src/main/resources/api.yaml rename to amt-exa-GLASSEY-api/src/main/resources/api.yaml diff --git a/amt-exa-ETUDIANT-api/src/main/resources/application.properties b/amt-exa-GLASSEY-api/src/main/resources/application.properties similarity index 100% rename from amt-exa-ETUDIANT-api/src/main/resources/application.properties rename to amt-exa-GLASSEY-api/src/main/resources/application.properties diff --git a/amt-exa-ETUDIANT-api/src/main/resources/data.sql b/amt-exa-GLASSEY-api/src/main/resources/data.sql similarity index 100% rename from amt-exa-ETUDIANT-api/src/main/resources/data.sql rename to amt-exa-GLASSEY-api/src/main/resources/data.sql diff --git a/amt-exa-ETUDIANT-spec/pom.xml b/amt-exa-GLASSEY-spec/pom.xml similarity index 98% rename from amt-exa-ETUDIANT-spec/pom.xml rename to amt-exa-GLASSEY-spec/pom.xml index bef943d..562694a 100644 --- a/amt-exa-ETUDIANT-spec/pom.xml +++ b/amt-exa-GLASSEY-spec/pom.xml @@ -1,13 +1,13 @@ 4.0.0 - amt-exa-ETUDIANT-spec + amt-exa-GLASSEY-spec 1.0-SNAPSHOT jar ch.heigvd - amt-exa-ETUDIANT + amt-exa-GLASSEY 1.0-SNAPSHOT diff --git a/amt-exa-ETUDIANT-spec/src/main/resources/api.yaml b/amt-exa-GLASSEY-spec/src/main/resources/api.yaml similarity index 100% rename from amt-exa-ETUDIANT-spec/src/main/resources/api.yaml rename to amt-exa-GLASSEY-spec/src/main/resources/api.yaml diff --git a/amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java b/amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java similarity index 92% rename from amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java rename to amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java index 8aa7c80..67c3101 100644 --- a/amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java +++ b/amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/SpecificationTest.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.spec; +package ch.heig.amt.exa.GLASSEY.spec; import org.junit.platform.suite.api.ConfigurationParameter; import org.junit.platform.suite.api.IncludeEngines; diff --git a/amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java b/amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java similarity index 96% rename from amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java rename to amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java index 961fc86..9169701 100644 --- a/amt-exa-ETUDIANT-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java +++ b/amt-exa-GLASSEY-spec/src/test/java/ch/heig/amt/exa/ETUDIANT/spec/steps/QuoteSteps.java @@ -1,4 +1,4 @@ -package ch.heig.amt.exa.ETUDIANT.spec.steps; +package ch.heig.amt.exa.GLASSEY.spec.steps; import io.cucumber.java.en.And; import io.cucumber.java.en.Given; diff --git a/amt-exa-ETUDIANT-spec/src/test/resources/features/quotes.feature b/amt-exa-GLASSEY-spec/src/test/resources/features/quotes.feature similarity index 100% rename from amt-exa-ETUDIANT-spec/src/test/resources/features/quotes.feature rename to amt-exa-GLASSEY-spec/src/test/resources/features/quotes.feature diff --git a/pom.xml b/pom.xml index 34a89ed..fa0eb3b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 ch.heigvd - amt-exa-ETUDIANT + amt-exa-GLASSEY 1.0-SNAPSHOT pom @@ -22,7 +22,7 @@ - amt-exa-ETUDIANT-api - amt-exa-ETUDIANT-spec + amt-exa-GLASSEY-api + amt-exa-GLASSEY-spec \ No newline at end of file