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)
|
@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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue