Skip to content

Commit

Permalink
feat: retrieve and include extra field in GET /execution-events
Browse files Browse the repository at this point in the history
  • Loading branch information
sethjones348 committed Jun 19, 2024
1 parent 4819469 commit 41609c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ case class WriteEventInfo
@ApiModelProperty(value = "Output data source (or data) type")
dataSourceType: String,
@ApiModelProperty(value = "Write mode - (true=Append; false=Override)")
append: WriteEventInfo.Append
append: WriteEventInfo.Append,
@ApiModelProperty(value = "Other extra info")
extra: Map[String, Any]
) {
def this() = this(null, null, null, null, null, null, null, null, null, null, null, null)
def this() = this(null, null, null, null, null, null, null, null, null, null, null, null, null)
}

object WriteEventInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ class ExecutionEventRepositoryImpl @Autowired()(db: ArangoDatabaseAsync) extends
| "dataSourceType" : ee.execPlanDetails.dataSourceType,
| "append" : ee.execPlanDetails.append,
| "durationNs" : ee.durationNs,
| "error" : ee.error
| "error" : ee.error,
| "extra" : ee.extra
| }
|
| SORT resItem.@sortField @sortOrder
Expand Down Expand Up @@ -192,5 +193,6 @@ object ExecutionEventRepositoryImpl {
"extra.appId",
"execPlanDetails.dataSourceUri",
"execPlanDetails.dataSourceType",
"extra"
)
}

0 comments on commit 41609c1

Please sign in to comment.