/**
*query all thirdParty sdnc.
*/
- @Path("")
@GET
@ApiOperation(value = "get all thirdParty sdnc ")
@Produces(MediaType.APPLICATION_JSON)
public Response updateThirdpartySdnc(@ApiParam(value = "thirdpartySdnc", required = true) ThirdpartySdncRegisterInfo thirdPartySdnc,
@ApiParam(value = "sdnc id", required = true) @PathParam("thirdPartySdncId") String thirdPartySdncId) {
LOGGER.info("start update sdnc .id:" + thirdPartySdncId + " info:" + ExtsysUtil.objectToString(thirdPartySdnc));
- return ThirdpatySdncWrapper.getInstance().updateThirdpartySdnc(thirdPartySdnc);
+ return ThirdpatySdncWrapper.getInstance().updateThirdpartySdnc(thirdPartySdnc, thirdPartySdncId);
}
/**
*thirdParty sdnc register.
*/
@POST
- @Path("")
@Consumes(MediaType.APPLICATION_JSON)
@Produces({MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON})
@ApiOperation(value = "register a thirdparty sdnc")