updated some methods in the CalledMethod

This commit is contained in:
Francesco Mangiacrapa 2024-05-07 14:10:29 +02:00
parent f9db29ac07
commit a37f793c38
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ public class ProfiledDocuments {
@Produces(MediaType.APPLICATION_JSON)
public Project createNew(Document d) {
CalledMethodHandler.setCalledMethod("POST /createNew/{" + InterfaceConstants.Parameters.PROJECT_ID + "}");
CalledMethodHandler.setCalledMethod("POST /createNew");
Project theNewProject = new GuardedMethod<Project>() {
@Override

View File

@ -52,7 +52,7 @@ public class UseCaseDescriptors {
@Produces(MediaType.APPLICATION_JSON)
public UseCaseDescriptor createNew(UseCaseDescriptor toCreate) {
CalledMethodHandler.setCalledMethod("@POST /createNew");
CalledMethodHandler.setCalledMethod("POST /createNew");
return new GuardedMethod<UseCaseDescriptor>() {
@Override
@ -133,7 +133,7 @@ public class UseCaseDescriptors {
@Path("/"+InterfaceConstants.Methods.QUERY_PATH)
public Iterable<?> query(String queryString){
CalledMethodHandler.setCalledMethod("@POST /" + InterfaceConstants.Methods.QUERY_PATH);
CalledMethodHandler.setCalledMethod("POST /" + InterfaceConstants.Methods.QUERY_PATH);
return new GuardedMethod<Iterable<?>>() {
@Override