Details
-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: proxyJava07:6.0.0
-
Component/s: proxy
-
Labels:None
-
Epic Link:
-
Account:KER-IDS-GZ-2023 (KER-IDS-GZ-2023)
Description
The purpose of this task is to configure the generation of the native binary using the GraalVM downstream "Mandrel"
Nominal use case:
GIVEN the Socket Service module
AND with native build profile configured
AND metadata provided
WHEN a developer run the native build command "mvn -Pnative package"
THEN a native binary (for linux platforms ONLY) is generated in the /target
Update project case:
GIVEN the Socket Service module
AND with native build profile configured
WHEN the production code is updated
THEN the developer MUST create ITs
AND have the agent tracer configured
WHEN the developer run the agent
THEN the metadata json should be updated to cover new code
Testability:
End to End tests are highly recommended to test the generated native binary.
The tests needs to cover in most cases the reflections and resources loading etc... (runtime operations)
A useful reference for configuring the build stage & the agent tracer: https://gitlab.inria.fr/gazelle/applications/test-execution/validator/phschematron-validation-service/-/blob/feature/PHSCHEM-3-validation-service/README.md#advanced-technical-explorations
suggestion: add annotations as labels to flag methods that used by agent
Nominal use case:
GIVEN the Socket Service module
AND with native build profile configured
AND metadata provided
WHEN a developer run the native build command "mvn -Pnative package"
THEN a native binary (for linux platforms ONLY) is generated in the /target
Update project case:
GIVEN the Socket Service module
AND with native build profile configured
WHEN the production code is updated
THEN the developer MUST create ITs
AND have the agent tracer configured
WHEN the developer run the agent
THEN the metadata json should be updated to cover new code
Testability:
End to End tests are highly recommended to test the generated native binary.
The tests needs to cover in most cases the reflections and resources loading etc... (runtime operations)
A useful reference for configuring the build stage & the agent tracer: https://gitlab.inria.fr/gazelle/applications/test-execution/validator/phschematron-validation-service/-/blob/feature/PHSCHEM-3-validation-service/README.md#advanced-technical-explorations
suggestion: add annotations as labels to flag methods that used by agent