Whilst generating a part of the external-authz project from the io.envoyproxy.controlplane:api dependency I noticed that it generated 3472 source files and that is with scan-for-proto-include and scan-for-proto-exclude set (see below)
Yes, that's a change in protoc which makes computing the command line way more complicated.
Any plain usage of protoc with the right command is more than welcome.
Describe the bug
Whilst generating a part of the external-authz project from the io.envoyproxy.controlplane:api dependency I noticed that it generated 3472 source files and that is with
scan-for-proto-include
andscan-for-proto-exclude
set (see below)But if I extract the files from io.envoyproxy.controlplane:api for the external_auth.proto then it creates 156 source files
Expected behavior
Generating only needed files for the specified protos or failing since not all imports have been specified.
Actual behavior
Generates more files than expected
How to Reproduce?
external-authorization-grpc.zip
Output of
uname -a
orver
Linux amd-burk 6.6.32-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon May 27 03:41:25 UTC 2024 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.2" 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
Quarkus version or git rev