Uploaded image for project: 'Gazelle'
  1. Gazelle
  2. GZL-7754

Native image

    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

      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

        Attachments

          Activity

            People

            Assignee:
            aai Achraf Achkari-Begdouri
            Reporter:
            ceoche Cédric Eoche-Duval
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 7 hours Time Not Required
                2d 7h

                  Potential Duplicates