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

Add unit regression tests to Swarm.stageConfig()

    Details

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

      Description

      See https://groups.google.com/forum/#!topic/wildfly-swarm/2650V_c2xgc

      Bob asked me to add this task.

      I've upgrade from 2016.12.0 to 2017.2.0-SNAPSHOT and a line that I had in my Main class no longer compiles, because "stageConfig()" is not longer a Method on the Swarm class:

      String configValue = swarm.stageConfig().resolve("some.config.key").getValue();

      According to https://wildfly-swarm.gitbooks.io/wildfly-swarm-users-guide/content/configuration/project_stages.html, this should work.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                maxant Ant Kutschera
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: