packages | description |
---|---|
common | common protos that are imported by multiple packages |
internals | internal gRPC and protobuf definitions which is used for Dapr internal |
runtime | Dapr and App Callback services and its associated protobuf messages |
operator | Dapr Operator gRPC service |
placement | Dapr Placement service |
sentry | Dapr Sentry for CA service |
components | Dapr gRPC-based components services |
-
Install protoc version: v25.4
-
Install protoc-gen-go and protoc-gen-go-grpc
make init-proto
- Generate gRPC proto clients
make gen-proto
Whenever there are breaking changes in the proto files, we need to update the e2e test apps to use the correct version of dapr dependencies. This can be done by navigating to the tests folder and running the commands:-
# Use the last commit of dapr.
./update_testapps_dependencies.sh be08e5520173beb93e5d5f047dbde405e78db658
Note: On Windows, use the mingw tools to execute the bash script
Check in all the go.mod files for the test apps that have now been modified to point to the latest dapr version.