From 356986ed1df72b43e9a4394f3867133bcf3ff670 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Fri, 15 Jan 2021 15:34:57 +0100 Subject: [PATCH] feat(NUM-959) AQL editor spring boot starter - Changed REST path and added it to README.md --- README.md | 6 ++++++ .../ehrbase/aqleditor/controler/AqlEditorAqlController.java | 2 +- .../aqleditor/controler/AqlEditorContainmentController.java | 2 +- .../aqleditor/controler/AqlEditorTemplateController.java | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fda18c6..57900b8 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ # Spring boot starter for the AQL editor backend + +Added as dependency the starter will expose the following REST endpoints: + +- /aqleditor/v1/aql +- /aqleditor/v1/containment +- /aqleditor/v1/template diff --git a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorAqlController.java b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorAqlController.java index 08ad2d3..657667a 100644 --- a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorAqlController.java +++ b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorAqlController.java @@ -33,7 +33,7 @@ @RestController @RequestMapping( - path = "/rest/v1/aql", + path = "/aqleditor/v1/aql", produces = {MediaType.APPLICATION_JSON_VALUE}) @AllArgsConstructor public class AqlEditorAqlController extends BaseController { diff --git a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorContainmentController.java b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorContainmentController.java index f0ce251..9887ac9 100644 --- a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorContainmentController.java +++ b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorContainmentController.java @@ -31,7 +31,7 @@ @RestController @RequestMapping( - path = "/rest/v1/containment", + path = "/aqleditor/v1/containment", produces = {MediaType.APPLICATION_JSON_VALUE}) @AllArgsConstructor public class AqlEditorContainmentController extends BaseController { diff --git a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorTemplateController.java b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorTemplateController.java index e9581f0..d008b27 100644 --- a/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorTemplateController.java +++ b/src/main/java/org/ehrbase/aqleditor/controler/AqlEditorTemplateController.java @@ -31,7 +31,7 @@ @RestController @RequestMapping( - path = "/rest/v1/template", + path = "/aqleditor/v1/template", produces = {MediaType.APPLICATION_JSON_VALUE}) @AllArgsConstructor public class AqlEditorTemplateController extends BaseController {