From bbc0b40602f42a6aac5e04fa6cea8507f7ae8f6e Mon Sep 17 00:00:00 2001 From: YuanHu Date: Tue, 20 Mar 2018 10:49:36 +0800 Subject: Modify Logger Information Modify Logger Information. Issue-ID: SDC-1079 Change-Id: I2a0f43bf41e21e8d094da079d8935fef9a768e1f Signed-off-by: YuanHu --- .../sdc/workflowdesigner/resources/ExtendActivityResource.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sdc-workflow-designer-server/src') diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/ExtendActivityResource.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/ExtendActivityResource.java index 86aae064..7ed2170c 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/ExtendActivityResource.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/ExtendActivityResource.java @@ -61,7 +61,7 @@ public class ExtendActivityResource { @GET @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) - @ApiOperation(value = "Get Model", response = ExtendActivity.class, responseContainer = "List") + @ApiOperation(value = "Get Extend Activities.", response = ExtendActivity.class, responseContainer = "List") @ApiResponses(value = { @ApiResponse(code = HttpStatus.NOT_FOUND_404, message = "microservice not found", response = String.class), @@ -77,7 +77,7 @@ public class ExtendActivityResource { return Response.status(Response.Status.OK).entity(extActivities).build(); } catch (IOException e) { - LOGGER.error("getServiceTemplateById failed.", e); + LOGGER.error("Get ExtActivities failed.", e); throw RestUtils.newInternalServerErrorException(e); } @@ -99,7 +99,7 @@ public class ExtendActivityResource { @GET @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) - @ApiOperation(value = "Get Model", response = String.class) + @ApiOperation(value = "Get Extend Activities DisplayInfo", response = String.class) @ApiResponses(value = { @ApiResponse(code = HttpStatus.NOT_FOUND_404, message = "microservice not found", response = String.class), @@ -113,7 +113,7 @@ public class ExtendActivityResource { String json = FileCommonUtils.readString(EXT_ACTIVITIES_DISPLAY_INFO_FILE_NAME); return Response.status(Response.Status.OK).entity(json).build(); } catch (IOException e) { - LOGGER.error("getServiceTemplateById failed.", e); + LOGGER.error("Get Extend Activities DisplayInfo failed.", e); throw RestUtils.newInternalServerErrorException(e); } } -- cgit 1.2.3-korg