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(api): add support grpc client #21

Merged
merged 6 commits into from
Apr 21, 2024

Conversation

charley04310
Copy link
Contributor

Description

This pull request aims to implement a gRPC client within the HTTP API in order to be able to call the lumper. A "proto" folder has been created to define interfaces for the client and server. A sub-project "shared-models" has been created to share types and serialization and deserialization macros between the CLI and API, particularly the main DTO used to execute a "lumper". A refactor has also been done with function and structure renaming.

Test the CLI + API :

From API folder : cargo run
From CLI folder : cargo run -- run --config-path="<path>/cloudlet/src/cli/config/config.template.yaml"

Signed-off-by: Charley <charley.geoffroy@protonmail.com>
Signed-off-by: Charley <charley.geoffroy@protonmail.com>
Signed-off-by: Charley <charley.geoffroy@protonmail.com>
Signed-off-by: Charley <charley.geoffroy@protonmail.com>
Signed-off-by: Charley <charley.geoffroy@protonmail.com>
@charley04310 charley04310 changed the title Feat(api): support grpc client Feat(api): add support grpc client Apr 21, 2024
@charley04310 charley04310 self-assigned this Apr 21, 2024
@charley04310 charley04310 merged commit 4d3293f into virt-do:main Apr 21, 2024
2 checks passed
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.

2 participants