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

View File

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