This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Enables plugin communication over gRPC #1012
Merged
pittma
merged 14 commits into
intelsdi-x:master
from
IRCody:enable_grpc_plugin_collector
Jun 23, 2016
Merged
Enables plugin communication over gRPC #1012
pittma
merged 14 commits into
intelsdi-x:master
from
IRCody:enable_grpc_plugin_collector
Jun 23, 2016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
||
// NewCollectorGrpcClient returns a collector gRPC Client. | ||
func NewCollectorGrpcClient(address string, timeout time.Duration, pub *rsa.PublicKey, secure bool) (PluginCollectorClient, error) { | ||
stuff := strings.Split(address, ":") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stuff?
IRCody
force-pushed
the
enable_grpc_plugin_collector
branch
2 times, most recently
from
June 23, 2016 23:06
f97a2be
to
9cd65c8
Compare
Adds correct calls to proto functions to get data from a one-of field. Also adds regenerated pb.go files for controlproxy and common.
Also adds the logic necessary to start grpc services in the plugins.
Fixes issue with controls grpc server test where it would error saying the underlying type was not a plugin_metric_type.
IRCody
force-pushed
the
enable_grpc_plugin_collector
branch
from
June 23, 2016 23:11
9cd65c8
to
bd20dfb
Compare
LGTM |
pittma
changed the title
Enable collection over grpc
Enables plugin communication over gRPC
Jun 23, 2016
Closed
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Working towards #965.
Summary of changes:
Testing done:
I tried separating out the changes into more discrete commits to (hopefully) make it easier to review. Happy to change/rebase/re-order things if someone has a better way.
@intelsdi-x/snap-maintainers