-
Notifications
You must be signed in to change notification settings - Fork 11
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(agent/grpc): add gRPC server #27
Merged
Merged
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
mfernd
reviewed
Apr 25, 2024
mmoreiradj
force-pushed
the
feat/agent_grpc_server
branch
from
April 25, 2024 19:17
11a5e26
to
96af7c9
Compare
mmoreiradj
force-pushed
the
feat/agent_grpc_server
branch
from
April 25, 2024 19:19
91a5e54
to
c2b7c34
Compare
mfernd
approved these changes
Apr 25, 2024
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.
I don't think the proto makes much sense, but for now they're fine...
Merged so the VMM team can work on communication with the agent. |
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Martin Moreira de Jesus <[email protected]>
Signed-off-by: Matéo Fernandez <[email protected]>
Signed-off-by: Matéo Fernandez <[email protected]>
mmoreiradj
force-pushed
the
feat/agent_grpc_server
branch
from
April 25, 2024 19:51
30dfd07
to
cc2d300
Compare
MurielParaire
pushed a commit
to MurielParaire/cloudlet
that referenced
this pull request
Apr 28, 2024
* feat(agent): add and compile workload proto service Signed-off-by: Martin Moreira de Jesus <[email protected]> * refactor(agent/workload): add mod.rs Signed-off-by: Martin Moreira de Jesus <[email protected]> * feat(agent/grpc): add service skeleton Signed-off-by: Martin Moreira de Jesus <[email protected]> * feat(agent/grpc): run agent on request and send result Signed-off-by: Martin Moreira de Jesus <[email protected]> * fix(agent/grpc): add server config in file Signed-off-by: Martin Moreira de Jesus <[email protected]> * fix(agent/grpc): typo Signed-off-by: Martin Moreira de Jesus <[email protected]> * feat(agent/grpc): add ungraceful shutdown Signed-off-by: Martin Moreira de Jesus <[email protected]> * nitpick: move agent.proto at root proto folder Signed-off-by: Matéo Fernandez <[email protected]> * refactor(grpc): use map_err instead of match Signed-off-by: Matéo Fernandez <[email protected]> --------- Signed-off-by: Martin Moreira de Jesus <[email protected]> Signed-off-by: Matéo Fernandez <[email protected]> Co-authored-by: Matéo Fernandez <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What am I looking at ???
Add a gRPC server that will run and stream the lifecycle of the agent to a caller. For now, it only streams the data once it's done.
What still needs to be done
(In another PR.)
How can I run it ?
Then the key
build.code-path
atsrc/agent/examples/config.toml
to put the right path to the code.Tip
To use the debug agent you can use the feature flag
debug-agent
like this: