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

Add support for SDK gRPC server extension callbacks #1094

Merged

Conversation

ggriffiths
Copy link
Contributor

Signed-off-by: Grant Griffiths [email protected]

What this PR does / why we need it:

  • This PR allows implementation users of the SDK gRPC server to extend the gRPC server with their own services.

Which issue(s) this PR fixes (optional)
Closes #1093

Special notes for your reviewer:

@ggriffiths ggriffiths requested a review from lpabon April 30, 2019 23:06
@@ -107,6 +107,10 @@ type ServerConfig struct {
StoragePolicy policy.PolicyManager
// Security configuration
Security *SecurityConfig
// ServerExtensions allow extending the SDK gRPC server
// with callback functions that are executed in order
// at the end of Server.Start()
Copy link
Member

Choose a reason for hiding this comment

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

Thanks. I think you should add a small comment to showing an example of how it can be used. Then merge it

@ggriffiths ggriffiths force-pushed the add_sdk_server_extension branch from cd80c9b to 50df47a Compare May 1, 2019 04:15
@ggriffiths ggriffiths merged commit 71b7f37 into libopenstorage:master May 1, 2019
@ggriffiths ggriffiths deleted the add_sdk_server_extension branch May 1, 2019 04:28
ggriffiths added a commit to ggriffiths/openstorage that referenced this pull request May 13, 2019
ggriffiths added a commit to ggriffiths/openstorage that referenced this pull request Aug 1, 2019
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.

Should be able to extend SDK gRPC server with new services
2 participants