Fixed some method messages in the setCalledMethod

This commit is contained in:
Francesco Mangiacrapa 2024-05-07 14:40:42 +02:00
parent a37f793c38
commit b32f2d1680
1 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ public class UseCaseDescriptors {
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
public UseCaseDescriptor update(@PathParam(InterfaceConstants.Parameters.UCID) String profileId, UseCaseDescriptor d) { 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<UseCaseDescriptor>() { return new GuardedMethod<UseCaseDescriptor>() {
@Override @Override
@ -96,7 +96,7 @@ public class UseCaseDescriptors {
@DefaultValue("false") @DefaultValue("false")
@QueryParam(InterfaceConstants.Parameters.FORCE) Boolean force) { @QueryParam(InterfaceConstants.Parameters.FORCE) Boolean force) {
CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "\"}"); CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "}");
return new GuardedMethod<Boolean>() { return new GuardedMethod<Boolean>() {
@Override @Override
@ -115,7 +115,7 @@ public class UseCaseDescriptors {
@Path("{"+InterfaceConstants.Parameters.UCID +"}") @Path("{"+InterfaceConstants.Parameters.UCID +"}")
public UseCaseDescriptor getById(@PathParam(InterfaceConstants.Parameters.UCID) String id) { 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<UseCaseDescriptor>() { return new GuardedMethod<UseCaseDescriptor>() {
@Override @Override