aplex commented on a change in pull request #3404:
URL: https://github.com/apache/gobblin/pull/3404#discussion_r717016452
##########
File path:
gobblin-restli/gobblin-flow-config-service/gobblin-flow-config-service-server/src/main/java/org/apache/gobblin/service/FlowExecutionResource.java
##########
@@ -59,14 +59,16 @@ public FlowExecution get(ComplexResourceKey<FlowStatusId,
EmptyRecord> key) {
@Finder("latestFlowExecution")
public List<FlowExecution> getLatestFlowExecution(@Context PagingContext
context, @QueryParam("flowId") FlowId flowId,
- @Optional @QueryParam("count") Integer count, @Optional
@QueryParam("tag") String tag, @Optional @QueryParam("executionStatus") String
executionStatus) {
- return this.flowExecutionResourceHandler.getLatestFlowExecution(context,
flowId, count, tag, executionStatus);
+ @Optional @QueryParam("count") Integer count, @Optional
@QueryParam("tag") String tag, @Optional @QueryParam("executionStatus") String
executionStatus,
+ @Optional("false") @QueryParam("includeIssues") Boolean includeIssues) {
+ return this.flowExecutionResourceHandler.getLatestFlowExecution(context,
flowId, count, tag, executionStatus,includeIssues);
Review comment:
Hmm, I guess our automated style checks are still not some issues.
##########
File path:
gobblin-restli/gobblin-flow-config-service/gobblin-flow-config-service-server/src/main/java/org/apache/gobblin/service/FlowExecutionResource.java
##########
@@ -59,14 +59,16 @@ public FlowExecution get(ComplexResourceKey<FlowStatusId,
EmptyRecord> key) {
@Finder("latestFlowExecution")
public List<FlowExecution> getLatestFlowExecution(@Context PagingContext
context, @QueryParam("flowId") FlowId flowId,
- @Optional @QueryParam("count") Integer count, @Optional
@QueryParam("tag") String tag, @Optional @QueryParam("executionStatus") String
executionStatus) {
- return this.flowExecutionResourceHandler.getLatestFlowExecution(context,
flowId, count, tag, executionStatus);
+ @Optional @QueryParam("count") Integer count, @Optional
@QueryParam("tag") String tag, @Optional @QueryParam("executionStatus") String
executionStatus,
+ @Optional("false") @QueryParam("includeIssues") Boolean includeIssues) {
+ return this.flowExecutionResourceHandler.getLatestFlowExecution(context,
flowId, count, tag, executionStatus,includeIssues);
Review comment:
Hmm, I guess our automated style checks are still not catching some
issues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]