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

Migrate from master-copies to singletons on TransactionApi #1075

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

iamacook
Copy link
Member

Closes #1071

The master-copies endpoint of the Transaction Service has been deprecated, replaced by singletons. Both of which have the same return type. This migrates to the singletons endpoint.

Changes

  • TransactionApi['getMasterCopies'] -> getSingletons (using new endpoint)
  • MasterCopy domain entity -> Singleton
  • masterCopySchema -> singletonSchema
  • MasterCopyValidator -> SingletonValidator
  • CacheRouter['getMasterCopiesCacheDir]' -> getSingletonsCacheDir (using ne key master_copies -> singletons)
  • ChainsRepository['getMasterCopies'] -> getSingletons
  • masterCopyBuilder -> singletonBuilder

Associated usage and test coverage of the above has also been renamed accordingly.

@iamacook iamacook requested a review from a team as a code owner January 26, 2024 12:26
@iamacook iamacook self-assigned this Jan 26, 2024
Copy link
Contributor

@fmrsabino fmrsabino left a comment

Choose a reason for hiding this comment

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

👏 🚀

@iamacook iamacook merged commit 4147355 into main Jan 29, 2024
16 checks passed
@iamacook iamacook deleted the migrate-deprecated-endpoint branch January 29, 2024 11:42
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.

Migrate from master-copies to singletons endpoint
2 participants