Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1833

Improve IndexView index available in DeploymentProcessor

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2018.3.3
    • Component/s: None
    • Labels:
      None

      Description

      Currently, the IndexView only contains classes of the top-level ClassContainer, e.g. WEB-INF/classes for a WAR. Also we don't load/reuse attached indexes.

      Ideas for improvements:

      • reuse attached indexes (located in META-INF/jandex.idx)
      • make it possible/configurable to build indexes during wildfly-swarm-plugin execution addressed in SWARM-1382
      • DeploymentProducer.index() could return a composite annotation index (incl. dependencies, e.g. WEB-INF/lib)

      Also note that WildFly by default creates/loads Jandex index for each deployment (incl. all dependencies). So in theory WildFly could reuse indexes built by Swarm.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: