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

Decouple with a mocked service #2256

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Conversation

tian-lt
Copy link
Contributor

@tian-lt tian-lt commented Nov 27, 2024

What

The azure resource for mocked currency data is going to be deprecated. We can't rely on that endpoint to sustain our development builds.

How

  1. Removed DataLoaderMockConstants.h
  2. Refactored CurrencyHttpClient
  3. Provides an override implementation for CurrencyHttpClient in CalcViewModeCopyForUT
  4. Update currency unit tests accordingly.
  5. Removed ICurrencyHttpClient since it's an interface for unit testing.

guominrui
guominrui previously approved these changes Nov 27, 2024
Copy link
Member

@guominrui guominrui left a comment

Choose a reason for hiding this comment

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

Looks good to me.

hanzhang54
hanzhang54 previously approved these changes Nov 28, 2024
@tian-lt tian-lt dismissed stale reviews from hanzhang54 and guominrui via 1114f8b November 28, 2024 05:56
hanzhang54
hanzhang54 previously approved these changes Nov 28, 2024
@tian-lt tian-lt merged commit bb540e6 into microsoft:main Nov 28, 2024
5 checks passed
@tian-lt tian-lt deleted the u/tilia/blob2 branch November 28, 2024 08:12
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.

3 participants