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

✨ (repo) [DSDK-558]: Extract transports into their own packages #474

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

valpinkman
Copy link
Member

@valpinkman valpinkman commented Nov 5, 2024

πŸ“ Description

Extract transport to their own packages

A lot of rework here, you can have a breakdown of the steps here #454 (unfortunately with the renaming of the packages before we merged this it was too complicated to rebase)

  • Un-inversified the transports
  • Move some components back into the api folder of the dmk
  • extracted each transport into it's own package
  • correctly renamed the mockserver client and transport
  • added a TransportService to handle the transport inside the dmk
  • added and fixed some tests
  • updated the sample app to reflect the new api

❓ Context

  • Feature:

βœ… Checklist

Pull Requests must pass CI checks and undergo code review. Set the PR as Draft if it is not yet ready for review.

  • Covered by automatic tests
  • Changeset is provided
  • Impact of the changes:
    • move needed packages to /api
    • universify transports
    • export transports into their own module

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
device-sdk-ts-sample βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 15, 2024 9:26am
doc-device-management-kit βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 15, 2024 9:26am

Copy link
Contributor

github-actions bot commented Nov 5, 2024

Messages
βœ… Danger: All checks passed successfully! πŸŽ‰

Generated by 🚫 dangerJS against 0859764

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@jdabbech-ledger jdabbech-ledger left a comment

Choose a reason for hiding this comment

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

Great refactor πŸ‘
Just a few comments about import TransportFactory and few naming stuffs.
You could also create TransportService interface to implement it from DefaultTransportService and TransportServiceStub classes IMO

@ofreyssinet-ledger
Copy link
Contributor

the PR title is wrong: it says transaction instead of transports

Copy link
Contributor

@ofreyssinet-ledger ofreyssinet-ledger left a comment

Choose a reason for hiding this comment

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

great work, thanks πŸ‘

@ofreyssinet-ledger ofreyssinet-ledger changed the title ✨ (repo) [DSDK-558]: Extract transaction into their own packages ✨ (repo) [DSDK-558]: Extract transports into their own packages Nov 8, 2024
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from fb76447 to 3491f55 Compare November 12, 2024 11:09
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 3491f55 to c21167e Compare November 12, 2024 14:00
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from c21167e to 84e7879 Compare November 13, 2024 16:57
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 84e7879 to d1a0521 Compare November 14, 2024 17:17
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from d1a0521 to 1d3a799 Compare November 14, 2024 17:30
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