This directory contains the protocol buffer definitions used by the Durable Task Framework Java SDK. The files in this directory are automatically downloaded and updated during the build process from the microsoft/durabletask-protobuf repository.
protos/- Contains the downloaded proto filesPROTO_SOURCE_COMMIT_HASH- Contains the commit hash of the latest proto file version
The proto files are automatically downloaded and updated when running Gradle builds. This is handled by the downloadProtoFiles task in the client/build.gradle file. The task:
- Downloads the latest version of
orchestrator_service.proto - Saves the current commit hash for tracking purposes
- Updates these files before proto compilation begins
If you need to manually update the proto files, you can run:
./gradlew downloadProtoFiles -PprotoBranch=<branch-name>