This adds Fn-Fdk-Version to each response from the FDK - this allows services to track which version of the FDK is in use at a given time.
In addition to the specific FDK version java has several variants (java version, graal vs openJDK)
Per discusion with @roroco - I've added a comment to the version header that encodes these
This uses maven placeholders to rewrite the version number into a string literal - this is done to reduce startup time (by avoiding having to load resources at startup) and remove the need for substrate functions to explicitly include resources in their build configuration.
This adds Fn-Fdk-Version to each response from the FDK - this allows services to track which version of the FDK is in use at a given time.
In addition to the specific FDK version java has several variants (java version, graal vs openJDK)
Per discusion with @roroco - I've added a comment to the version header that encodes these
This uses maven placeholders to rewrite the version number into a string literal - this is done to reduce startup time (by avoiding having to load resources at startup) and remove the need for substrate functions to explicitly include resources in their build configuration.
the new header looks like this for graal:
and for openjdk: