Closed jarifibrahim closed 5 years ago
:exclamation: No coverage uploaded for pull request base (
osio-story-743-rename-fields@5300ce5
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## osio-story-743-rename-fields #2337 +/- ##
===============================================================
Coverage ? 70.09%
===============================================================
Files ? 171
Lines ? 16648
Branches ? 0
===============================================================
Hits ? 11669
Misses ? 3848
Partials ? 1131
Impacted Files | Coverage Δ | |
---|---|---|
workitem/workitemtype.go | 73.62% <ø> (ø) |
|
controller/workitem.go | 81.72% <100%> (ø) |
|
controller/workitemtype.go | 67.6% <100%> (ø) |
|
controller/work_item_events.go | 77.77% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5300ce5...86a1580. Read the comment docs.
:exclamation: No coverage uploaded for pull request base (
osio-story-743-rename-fields@1428510
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## osio-story-743-rename-fields #2337 +/- ##
===============================================================
Coverage ? 70.23%
===============================================================
Files ? 171
Lines ? 16687
Branches ? 0
===============================================================
Hits ? 11720
Misses ? 3833
Partials ? 1134
Impacted Files | Coverage Δ | |
---|---|---|
workitem/workitemtype.go | 73.62% <ø> (ø) |
|
controller/workitem.go | 81.72% <100%> (ø) |
|
controller/workitemtype.go | 67.6% <100%> (ø) |
|
controller/work_item_events.go | 84.07% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 1428510...d22188e. Read the comment docs.
~Depends on https://github.com/fabric8-services/fabric8-wit/pull/2335~
As a part of field renames (see https://github.com/fabric8-services/fabric8-wit/issues/2177) we need to update the
/workitem/event/list
response so that we can return the new field name without breaking existing functionality. We cannot return two event where one has namesystem.title
andsystem_title
. The client would show two events for a single event.This PR adds
onField
attribute to the response. The new response looks likeNOTE - name will have the old field name (system.field) and onField will have the new field name (system_field)