updated some methods in the CalledMethod
This commit is contained in:
parent
f9db29ac07
commit
a37f793c38
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue