Skip to content

Commit

Permalink
Source Jira #4505 - change cursor field for Issues streams from field…
Browse files Browse the repository at this point in the history
…s.started to fields.updated, update IssuesWorklogs slicing
  • Loading branch information
vitaliizazmic committed Aug 13, 2021
1 parent db6daed commit a56a2ac
Show file tree
Hide file tree
Showing 9 changed files with 243 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"created": "2121-02-14T22:01:22.313Z"
},
"issue_worklogs": {
"startedAfter": "2121-04-14T11:30:22.313Z"
"started": "2121-04-14T11:30:22.313Z"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7455,10 +7455,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"]
"default_cursor_field": ["fields","updated"]
},
"sync_mode": "incremental",
"cursor_field": ["created"],
"cursor_field": ["fields","updated"],
"destination_sync_mode": "append"
},
{
Expand Down Expand Up @@ -9534,10 +9534,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startedAfter"]
"default_cursor_field": ["started"]
},
"sync_mode": "incremental",
"cursor_field": ["startedAfter"],
"cursor_field": ["started"],
"destination_sync_mode": "append"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"json_schema": {},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"]
"default_cursor_field": ["fields","updated"]
},
"sync_mode": "incremental",
"cursor_field": ["created"],
"cursor_field": ["fields", "updated"],
"destination_sync_mode": "append"
},
{
Expand All @@ -18,10 +18,10 @@
"json_schema": {},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startedAfter"]
"default_cursor_field": ["started"]
},
"sync_mode": "incremental",
"cursor_field": ["startedAfter"],
"cursor_field": ["started"],
"destination_sync_mode": "append"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"json_schema": {},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startedAfter"]
"default_cursor_field": ["started"]
},
"sync_mode": "incremental",
"cursor_field": ["startedAfter"],
"cursor_field": ["started"],
"destination_sync_mode": "append"
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"issues": {
"updated": "2021-06-02T22:18:39.882Z"
},
"issue_worklogs": {
"10622": {
"started": "2021-02-14T11:30:22.313Z"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7962,10 +7962,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"]
"default_cursor_field": ["fields","updated"]
},
"sync_mode": "incremental",
"cursor_field": ["created"],
"cursor_field": ["fields", "updated"],
"destination_sync_mode": "append"
},
{
Expand Down Expand Up @@ -10088,10 +10088,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startedAfter"]
"default_cursor_field": ["started"]
},
"sync_mode": "incremental",
"cursor_field": ["startedAfter"],
"cursor_field": ["started"],
"destination_sync_mode": "append"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7455,10 +7455,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"]
"default_cursor_field": ["fields","updated"]
},
"sync_mode": "incremental",
"cursor_field": ["created"],
"cursor_field": ["fields","updated"],
"destination_sync_mode": "append"
},
{
Expand Down Expand Up @@ -9534,10 +9534,10 @@
},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["startedAfter"]
"default_cursor_field": ["started"]
},
"sync_mode": "incremental",
"cursor_field": ["startedAfter"],
"cursor_field": ["started"],
"destination_sync_mode": "append"
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"issues": {
"created": "2021-02-14T22:01:22.313Z"
"updated": "2021-06-02T22:18:39.882Z"
},
"issue_worklogs": {
"startedAfter": "2021-04-14T11:30:22.313Z"
"10622": {
"started": "2021-02-14T11:30:22.313Z"
}
}
}
Loading

0 comments on commit a56a2ac

Please sign in to comment.