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

feat(provider-sdk): add run_provider_handler #1652

Merged
merged 10 commits into from
Mar 12, 2024

Conversation

rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Mar 12, 2024

Feature or Problem

  • Simplify and remove unused code
  • Add run_provider_handler for building providers using just ProviderHandler trait implementations, which manually serve using returned wrpc_transport::Client (e.g. all handwritten providers)

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@rvolosatovs rvolosatovs requested review from a team as code owners March 12, 2024 06:55
@rvolosatovs rvolosatovs enabled auto-merge (rebase) March 12, 2024 06:58
@rvolosatovs rvolosatovs requested a review from a team as a code owner March 12, 2024 07:44
@rvolosatovs rvolosatovs force-pushed the feat/provider-sdk-init branch 3 times, most recently from 7888c4a to 9d837de Compare March 12, 2024 10:36
@rvolosatovs rvolosatovs changed the title feat(provider-sdk): extract reusable init_provider feat(provider-sdk): add run_provider_handler Mar 12, 2024
Copy link
Member

@brooksmtownsend brooksmtownsend left a comment

Choose a reason for hiding this comment

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

This all looks fine to me, @vados-cosmonic deferring to you on review for anything in the bindgen macro etc etc

@vados-cosmonic
Copy link
Contributor

@brooksmtownsend will do. This is going to break my other PRs but let's get this merged in first since it's a good refactor of provider-sdk

Copy link
Contributor

@vados-cosmonic vados-cosmonic left a comment

Choose a reason for hiding this comment

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

LGTM, nothing but nits 🚀

crates/provider-sdk/src/lib.rs Outdated Show resolved Hide resolved
crates/provider-sdk/src/provider.rs Outdated Show resolved Hide resolved
crates/provider-sdk/src/provider.rs Outdated Show resolved Hide resolved
crates/provider-sdk/src/lib.rs Outdated Show resolved Hide resolved
crates/provider-sdk/src/provider.rs Outdated Show resolved Hide resolved
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@rvolosatovs rvolosatovs merged commit 54321c7 into wasmCloud:main Mar 12, 2024
47 checks passed
@rvolosatovs rvolosatovs deleted the feat/provider-sdk-init branch March 13, 2024 11:31
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.

None yet

3 participants