From b4ea345305dfaa262fdd471418837a431c3f2d28 Mon Sep 17 00:00:00 2001 From: Benoit Werquin Date: Tue, 14 Sep 2021 23:13:29 +0200 Subject: [PATCH 1/2] Upgrade version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2a27ec61..e5759372 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ fr.insee.queen queen - 3.3.7 + 3.3.8 war Queen-Back-Office Back-office services for Queen From 58a0dd63490e0db7f5d24ce9c1effb61679dc3c6 Mon Sep 17 00:00:00 2001 From: Benoit Werquin Date: Tue, 14 Sep 2021 23:14:57 +0200 Subject: [PATCH 2/2] remove dev profile control --- .../fr/insee/queen/api/controller/NomenclatureController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/insee/queen/api/controller/NomenclatureController.java b/src/main/java/fr/insee/queen/api/controller/NomenclatureController.java index 1519fde7..a38bb4dd 100644 --- a/src/main/java/fr/insee/queen/api/controller/NomenclatureController.java +++ b/src/main/java/fr/insee/queen/api/controller/NomenclatureController.java @@ -124,9 +124,9 @@ public ResponseEntity> getListRequiredNomenclatureByQuestionnaireId @ApiOperation(value = "Post new nomenclature ") @PostMapping(path = "/nomenclature") public ResponseEntity postNomenclature(@RequestBody NomenclatureDto nomenclature) { - if(!utilsService.isDevProfile() && !utilsService.isTestProfile()) { + /*if(!utilsService.isDevProfile() && !utilsService.isTestProfile()) { return ResponseEntity.notFound().build(); - } + }*/ nomenclatureservice.createNomenclature(nomenclature); return ResponseEntity.ok().build(); }