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

Merged
merged 5 commits into from
Nov 22, 2024

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 19, 2024 2:57pm
doc-device-management-kit βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 19, 2024 2:57pm

Copy link
Contributor

github-actions bot commented Nov 5, 2024

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

Generated by 🚫 dangerJS against d3033a4

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

@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
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 1d3a799 to 0859764 Compare November 15, 2024 09:24
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 0859764 to 048a069 Compare November 18, 2024 13:41
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 048a069 to 0da86c7 Compare November 18, 2024 16:35
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from 0da86c7 to e741e0e Compare November 19, 2024 13:51
@valpinkman valpinkman force-pushed the feature/dsdk-558-extract-transport branch from e741e0e to d3033a4 Compare November 19, 2024 14:36
@valpinkman valpinkman added this pull request to the merge queue Nov 22, 2024
Merged via the queue into develop with commit 8c2c05d Nov 22, 2024
10 checks passed
@valpinkman valpinkman deleted the feature/dsdk-558-extract-transport branch November 22, 2024 10:39
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