aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server/src
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-20 10:49:36 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-20 10:49:36 +0800
commitbbc0b40602f42a6aac5e04fa6cea8507f7ae8f6e (patch)
tree597c4200dab59df54beb59d2b956576019e3a71a /sdc-workflow-designer-server/src
parentc02b6b423f6fba9504c8a8d526b0bc4cdba6785d (diff)
Modify Logger Information
Modify Logger Information. Issue-ID: SDC-1079 Change-Id: I2a0f43bf41e21e8d094da079d8935fef9a768e1f Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src')
-rw-r--r--sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/ExtendActivityResource.java8
1 files changed, 4 insertions, 4 deletions
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);
}
}