You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GeminiCarrie <no...@github.com.INVALID> on 2023/05/16 02:17:04 UTC
[apache/incubator-teaclave] Replace current rpc with grpc (PR #691)
## Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
This PR replaces current rpc with grpc.
[issues](https://github.com/apache/incubator-teaclave/issues/668)
## Type of change (select or add applied and delete the others)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] API change with a documentation update
- [ ] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates
## How has this been tested?
## Checklist
- [ ] Fork the repo and create your branch from `master`.
- [ ] If you've added code that should be tested, add tests.
- [ ] If you've changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] Make sure your code lints/format.
You can view, comment on, or merge this pull request online at:
https://github.com/apache/incubator-teaclave/pull/691
-- Commit Summary --
* Update rustls
* Replace rpc with tonic grpc
* Update python sdk and examples
-- File Changes --
M .gitignore (5)
M attestation/Cargo.toml (2)
M cli/Cargo.toml (2)
M cmake/scripts/test.sh (26)
M cmake/tomls/Cargo.sgx_trusted_lib.lock (887)
M cmake/tomls/Cargo.sgx_trusted_lib.toml (4)
M cmake/tomls/Cargo.sgx_untrusted_app.lock (413)
M cmake/tomls/Cargo.sgx_untrusted_app.toml (1)
M cmake/tomls/Cargo.unix_app.lock (348)
M cmake/tomls/Cargo.unix_app.toml (1)
M config/runtime.config.toml (12)
M docs/service-internals.md (22)
M examples/README.md (10)
M examples/c/utils.h (4)
M examples/python/builtin_face_detection.py (4)
M examples/python/builtin_gbdt_train.py (2)
M examples/python/builtin_online_decrypt.py (1)
M examples/python/builtin_ordered_set_intersect.py (15)
M examples/python/builtin_password_check.py (15)
M examples/python/builtin_private_join_and_compute.py (15)
M examples/python/builtin_rsa_sign.py (6)
M examples/python/mesapy_deadloop_cancel.py (3)
M examples/python/mesapy_echo.py (2)
M examples/python/mesapy_logistic_reg.py (15)
M examples/python/requirements.txt (3)
M examples/python/test_disable_function.py (6)
M examples/python/utils.py (7)
M examples/python/wasm_c_simple_add.py (2)
M examples/python/wasm_rust_psi.py (15)
M examples/rust/builtin_echo/Cargo.lock (812)
M examples/rust/builtin_echo/src/main.rs (4)
M examples/rust/builtin_ordered_set_intersect/Cargo.lock (812)
M examples/rust/builtin_ordered_set_intersect/src/main.rs (6)
M rpc/Cargo.toml (19)
M rpc/README.md (34)
D rpc/proc_macro/Cargo.toml (31)
D rpc/proc_macro/src/lib.rs (46)
D rpc/src/channel.rs (66)
M rpc/src/config.rs (25)
D rpc/src/endpoint.rs (51)
A rpc/src/interceptor.rs (61)
M rpc/src/lib.rs (34)
R rpc/src/macros.rs (21)
D rpc/src/protocol.rs (139)
D rpc/src/request.rs (66)
D rpc/src/server.rs (129)
D rpc/src/transport.rs (119)
M sdk/python/teaclave.py (761)
M sdk/rust/Cargo.lock (831)
M sdk/rust/Cargo.toml (21)
M sdk/rust/src/lib.rs (393)
M services/access_control/enclave/Cargo.toml (1)
M services/access_control/enclave/src/error.rs (5)
M services/access_control/enclave/src/lib.rs (54)
M services/access_control/enclave/src/service.rs (130)
M services/authentication/enclave/Cargo.toml (2)
M services/authentication/enclave/src/api_service.rs (362)
M services/authentication/enclave/src/error.rs (11)
M services/authentication/enclave/src/internal_service.rs (67)
M services/authentication/enclave/src/lib.rs (117)
M services/execution/app/Cargo.toml (4)
M services/execution/app/src/main.rs (10)
M services/execution/enclave/Cargo.toml (3)
M services/execution/enclave/src/ecall.rs (11)
M services/execution/enclave/src/lib.rs (13)
M services/execution/enclave/src/service.rs (80)
M services/frontend/enclave/Cargo.toml (15)
M services/frontend/enclave/src/error.rs (13)
M services/frontend/enclave/src/lib.rs (45)
M services/frontend/enclave/src/service.rs (143)
M services/management/enclave/Cargo.toml (1)
M services/management/enclave/src/error.rs (18)
M services/management/enclave/src/lib.rs (58)
M services/management/enclave/src/service.rs (498)
M services/proto/Cargo.toml (13)
M services/proto/build.rs (54)
D services/proto/proto_gen/Cargo.lock (755)
D services/proto/proto_gen/Cargo.toml (37)
D services/proto/proto_gen/main.rs (121)
D services/proto/proto_gen/templates/proto.j2 (129)
M services/proto/src/teaclave_access_control_service.rs (230)
M services/proto/src/teaclave_authentication_service.rs (417)
M services/proto/src/teaclave_common.rs (29)
M services/proto/src/teaclave_frontend_service.rs (1695)
M services/proto/src/teaclave_management_service.rs (7)
M services/proto/src/teaclave_scheduler_service.rs (311)
M services/proto/src/teaclave_storage_service.rs (306)
M services/scheduler/enclave/Cargo.toml (1)
M services/scheduler/enclave/src/error.rs (15)
M services/scheduler/enclave/src/lib.rs (71)
M services/scheduler/enclave/src/publisher.rs (48)
M services/scheduler/enclave/src/service.rs (205)
M services/storage/enclave/Cargo.toml (1)
M services/storage/enclave/src/error.rs (12)
M services/storage/enclave/src/lib.rs (55)
M services/storage/enclave/src/proxy.rs (79)
M services/storage/enclave/src/service.rs (127)
M services/utils/service_enclave_utils/Cargo.toml (4)
D services/utils/service_enclave_utils/proc_macro/Cargo.toml (33)
D services/utils/service_enclave_utils/proc_macro/src/lib.rs (57)
M services/utils/service_enclave_utils/src/lib.rs (36)
M tests/functional/enclave/Cargo.toml (2)
M tests/functional/enclave/Enclave.config.xml (2)
M tests/functional/enclave/src/access_control_service.rs (122)
M tests/functional/enclave/src/authentication_service.rs (165)
M tests/functional/enclave/src/end_to_end/builtin_echo.rs (38)
M tests/functional/enclave/src/end_to_end/builtin_gbdt_train.rs (0)
M tests/functional/enclave/src/end_to_end/mesapy_data_fusion.rs (0)
M tests/functional/enclave/src/end_to_end/mesapy_echo.rs (0)
M tests/functional/enclave/src/end_to_end/mod.rs (0)
M tests/functional/enclave/src/execution_service.rs (0)
M tests/functional/enclave/src/frontend_service.rs (0)
M tests/functional/enclave/src/lib.rs (0)
M tests/functional/enclave/src/management_service.rs (0)
M tests/functional/enclave/src/scheduler_service.rs (0)
M tests/functional/enclave/src/storage_service.rs (0)
M tests/functional/enclave/src/utils.rs (0)
M tests/integration/enclave/Cargo.toml (0)
M tests/integration/enclave/src/lib.rs (0)
D tests/integration/enclave/src/teaclave_rpc.rs (0)
M tests/scripts/functional_tests.py (0)
M tests/utils/Cargo.toml (0)
M tests/utils/proc_macro/Cargo.toml (0)
M tests/utils/proc_macro/src/lib.rs (0)
M tests/utils/src/lib.rs (0)
M types/Cargo.toml (0)
M types/src/error.rs (0)
M worker/src/worker.rs (0)
-- Patch Links --
https://github.com/apache/incubator-teaclave/pull/691.patch
https://github.com/apache/incubator-teaclave/pull/691.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/691
You are receiving this because you are subscribed to this thread.
Message ID: <apache/incubator-teaclave/pull/691@github.com>
Re: [apache/incubator-teaclave] Replace current rpc with grpc (PR #691)
Posted by He Sun <no...@github.com.INVALID>.
Merged #691 into master.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/691#event-9426846668
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>