From 61f4d14be2ba4d561d7a0679ac2921ca4d32f73a Mon Sep 17 00:00:00 2001 From: Sonia Zorba <sonia.zorba@inaf.it> Date: Fri, 14 May 2021 17:39:25 +0200 Subject: [PATCH] Minor changes --- gms/pom.xml | 11 ----------- .../ia2/gms/controller/JWTWebServiceController.java | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/gms/pom.xml b/gms/pom.xml index 20b7d26..a67189d 100644 --- a/gms/pom.xml +++ b/gms/pom.xml @@ -143,17 +143,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>com.spotify</groupId> - <artifactId>dockerfile-maven-plugin</artifactId> - <version>1.4.10</version> - <configuration> - <repository>${project.artifactId}</repository> - <buildArgs> - <JAR_FILE>${project.build.finalName}.jar</JAR_FILE> - </buildArgs> - </configuration> - </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> diff --git a/gms/src/main/java/it/inaf/ia2/gms/controller/JWTWebServiceController.java b/gms/src/main/java/it/inaf/ia2/gms/controller/JWTWebServiceController.java index 0dd5c86..afe1ec2 100644 --- a/gms/src/main/java/it/inaf/ia2/gms/controller/JWTWebServiceController.java +++ b/gms/src/main/java/it/inaf/ia2/gms/controller/JWTWebServiceController.java @@ -140,7 +140,7 @@ public class JWTWebServiceController { // else: empty response (as defined by GMS standard) } - @GetMapping(value = {"/ws/jwt/list/{group:.+}", "/ws/jwt/list", "/list"}, produces = MediaType.TEXT_PLAIN_VALUE) + @GetMapping(value = {"/ws/jwt/list/{group:.+}", "/ws/jwt/list", "/list", "/list/{group:.+}"}, produces = MediaType.TEXT_PLAIN_VALUE) public void listGroups(@PathVariable("group") Optional<String> groupNames, @RequestParam(value = "recursive", defaultValue = "false") boolean recursive, Principal principal, HttpServletResponse response) throws IOException { -- GitLab