Fixed some method messages in the setCalledMethod
This commit is contained in:
parent
a37f793c38
commit
b32f2d1680
|
@ -76,7 +76,7 @@ public class UseCaseDescriptors {
|
|||
@Produces(MediaType.APPLICATION_JSON)
|
||||
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>() {
|
||||
@Override
|
||||
|
@ -96,7 +96,7 @@ public class UseCaseDescriptors {
|
|||
@DefaultValue("false")
|
||||
@QueryParam(InterfaceConstants.Parameters.FORCE) Boolean force) {
|
||||
|
||||
CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "\"}");
|
||||
CalledMethodHandler.setCalledMethod("DELETE /delete/" + "{" + InterfaceConstants.Parameters.UCID + "}");
|
||||
|
||||
return new GuardedMethod<Boolean>() {
|
||||
@Override
|
||||
|
@ -115,7 +115,7 @@ public class UseCaseDescriptors {
|
|||
@Path("{"+InterfaceConstants.Parameters.UCID +"}")
|
||||
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>() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue