From b32f2d1680e42b766e9f89fbc132a91a8045b4e0 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Tue, 7 May 2024 14:40:42 +0200 Subject: [PATCH] Fixed some method messages in the setCalledMethod --- .../geoportal/service/rest/UseCaseDescriptors.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/UseCaseDescriptors.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/UseCaseDescriptors.java index da5298a..eb4891e 100644 --- a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/UseCaseDescriptors.java +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/UseCaseDescriptors.java @@ -76,7 +76,7 @@ public class UseCaseDescriptors { @Produces(MediaType.APPLICATION_JSON) public UseCaseDescriptor update(@PathParam(InterfaceConstants.Parameters.UCID) String profileId, UseCaseDescriptor d) { - CalledMethodHandler.setCalledMethod("PUT /update/" + "{" + InterfaceConstants.Parameters.UCID + "\"}"); + CalledMethodHandler.setCalledMethod("PUT /update/" + "{" + InterfaceConstants.Parameters.UCID + "}"); return new GuardedMethod() { @Override @@ -96,7 +96,7 @@ public class UseCaseDescriptors { @DefaultValue("false") @QueryParam(InterfaceConstants.Parameters.FORCE) Boolean force) { - CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "\"}"); + CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "}"); return new GuardedMethod() { @Override @@ -115,7 +115,7 @@ public class UseCaseDescriptors { @Path("{"+InterfaceConstants.Parameters.UCID +"}") public UseCaseDescriptor getById(@PathParam(InterfaceConstants.Parameters.UCID) String id) { - CalledMethodHandler.setCalledMethod("GET /getById/" + "{" + InterfaceConstants.Parameters.UCID + "\"}"); + CalledMethodHandler.setCalledMethod("GET /getById/" + "{" + InterfaceConstants.Parameters.UCID + "}"); return new GuardedMethod() { @Override