Skip to content

Conversation

@wooln
Copy link
Contributor

@wooln wooln commented Dec 11, 2024

IDtmClient.cs/DtmClient.cs

  • add Query interface for single global transaction detail
  • add QueryStatus interface for query single transaction status
  • with unit test
  • without integration test
  • with Sample

- Add Query method in DtmClient and IDtmClient to retrieve global transaction details
- Define TransGlobal class to represent the structure of a global transaction
- Update Constant to include new URL for query endpoint
Implement a new HTTP GET endpoint for querying transaction status
@codecov
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.61%. Comparing base (8a4bcb1) to head (1089b34).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   68.82%   69.61%   +0.79%     
==========================================
  Files          44       45       +1     
  Lines        1915     1965      +50     
  Branches      182      185       +3     
==========================================
+ Hits         1318     1368      +50     
  Misses        560      560              
  Partials       37       37              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wooln wooln force-pushed the feature/query-TransGlobal branch from 89c39d1 to 6ca3b79 Compare December 13, 2024 05:57
@catcherwong
Copy link
Member

LGTM, but could we improve the coverage?

@wooln wooln force-pushed the feature/query-TransGlobal branch from 4d4dd50 to 1089b34 Compare December 16, 2024 06:02
@wooln
Copy link
Contributor Author

wooln commented Dec 16, 2024

LGTM, but could we improve the coverage?

Done.

@catcherwong catcherwong merged commit 94612d4 into dtm-labs:main Dec 18, 2024
4 of 5 checks passed
@wooln wooln deleted the feature/query-TransGlobal branch December 18, 2024 01:08
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.

2 participants