Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APP-3283: Implemented datafeed id reuse #79

Merged
merged 4 commits into from
Nov 20, 2020
Merged

APP-3283: Implemented datafeed id reuse #79

merged 4 commits into from
Nov 20, 2020

Conversation

symphony-elias
Copy link
Contributor

Ticket

APP-3283

Description

Implementing reuse and persistence of datafeed id when using DFv1

Checklist

  • Referenced a ticket in the PR title and in the corresponding section
  • Filled properly the description and dependencies, if any
  • Unit tests updated or added
  • Docstrings added or updated
  • Updated the documentation in docs folder

@symphony-elias symphony-elias marked this pull request as draft November 18, 2020 17:34
self.datafeed_client = self.bot_client.get_datafeed_client()
self.datafeed_id_repository = OnDiskDatafeedIdRepository(self.config.get_datafeed_id_folder_path())
Copy link
Contributor

Choose a reason for hiding this comment

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

as it is specific to v1 only is it a logic we could push down to the subclass?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed but it would require to duplicate this logic in AsyncDataFeedEventService and in DataFeedEventServiceV1.

@symphony-elias symphony-elias marked this pull request as ready for review November 20, 2020 14:22
@symphony-elias
Copy link
Contributor Author

Was able to test it on devx1 by sending a message OBO.

thibauult
thibauult previously approved these changes Nov 20, 2020
@symphony-elias symphony-elias merged commit a0c5e09 into finos:master Nov 20, 2020
@symphony-elias symphony-elias deleted the APP-3283 branch November 20, 2020 16:56
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.

4 participants