opiproject / opi-api

Open Programmable Infrastructure API and Behavioral Model
Apache License 2.0
31 stars 39 forks source link

refactor(cloud): update to support buf lint and generation automation #413

Closed sandersms closed 6 months ago

sandersms commented 7 months ago

Transition cloud to the buf lint and buf generate operation to allow for automation of the protobuf file generation.

Support for cpp and java are being removed at this time. Generation supports go and python. Support for other languages can be added as needed by the buf.gen.yaml file.

Be aware that the .proto files are moved up from the v1alpha1 directory to support the buf operation and to keep the version of the generated files in a separate (v1, v1alpha1, etc.) directory structure. This will allow for the future ability to autogenerate the files and place them in a separate repo location.