Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1609

Allow static definition of the product module slot

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.CR4, 3.0.0.Alpha3
    • None
    • Server
    • None

      The way a WildFly Core based distribution is able to control metadata such as the reported product name and version is by packaging an org.jboss.as.product:xxx module and then including a bin/product.conf file with a properties file that includes property slot=xxx. The ProductConfig class looks for bin/product.conf and reads it from the filesystem.

      This does not work for WildFly Swarm, which is not based on an expanded filesystem. There is no bin/product.conf file, not even a bin dir.

      This RFE is to have ProductConfig allow the slot name to be directly passed in, skipping the property file reading, with SelfContainerContainer (used by swarm) passing in a static value of "main". So swarm can package a org.jboss.as.product:main module and use it to control the product settings.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: