Skip to content

Tdl 21819 tickets stream dev changes#218

Merged
sgandhi1311 merged 19 commits intomasterfrom
TDL-21819-tickets-stream-dev-changes
Feb 16, 2023
Merged

Tdl 21819 tickets stream dev changes#218
sgandhi1311 merged 19 commits intomasterfrom
TDL-21819-tickets-stream-dev-changes

Conversation

@rdeshmukh15
Copy link
Contributor

@rdeshmukh15 rdeshmukh15 commented Feb 3, 2023

Description of change

  • Implementation of the new stream called tickets to list all associations of a ticket by object type. (API doc link)
  • Added schema file for the stream tickets
  • Unit test case scenarios to test the dev changes done

Manual QA steps

Risks

Rollback steps

  • revert this branch

@rdeshmukh15 rdeshmukh15 force-pushed the TDL-21819-tickets-stream-dev-changes branch from fadb7e7 to 9dfc7d9 Compare February 6, 2023 16:36
@rdeshmukh15 rdeshmukh15 force-pushed the TDL-21819-tickets-stream-dev-changes branch from 7ed033b to 06b1b94 Compare February 7, 2023 14:14
@rdeshmukh15 rdeshmukh15 marked this pull request as ready for review February 7, 2023 14:28
@kethan1122
Copy link
Contributor

Don't forget to update README

mocked_gen_request.assert_called_once_with(ANY, ANY, ANY, expected_param, ANY, ANY)


output_results = {'results': [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting of this should be cleaned up.

modified_time = utils.strptime_with_tz(datetime.datetime.strptime(
modified_time_org, "%Y-%m-%dT%H:%M:%S.%fZ").strftime("%Y-%m-%dT%H:%M:%SZ"))

# Checking the bookmark value is present and the record is having
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we reword this to make it a little more clear?

Maybe something like:

Checking the bookmark value is present on the record and it
is greater than or equal to defined previous bookmark value

@singer-io singer-io deleted a comment from kethan1122 Feb 7, 2023
@sgandhi1311 sgandhi1311 force-pushed the TDL-21819-tickets-stream-dev-changes branch from 05760b7 to 265b06e Compare February 10, 2023 19:54
* add tickets stream in base.py file

* get ticket records

* add create ticket function for integration test case

* test tickets stream in interrupt sync mode

* Changes:
- add page limit
- add functions to get, create, and update the tickets stream

* modify get logic for tickets in client.py and update sync offset test

* address review comments and reformat the client.py as per the standards

* Formatting changes in client.py and bookmark key change in interrupt sync test
@sgandhi1311 sgandhi1311 merged commit 47372f2 into master Feb 16, 2023
@dsprayberry dsprayberry deleted the TDL-21819-tickets-stream-dev-changes branch August 14, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants