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

Prefer @Configurable to @ConfigurableAlias if present

    Details

    • Sprint:
      2017-May-B

      Description

      Currently if both the key specified by @Configurable and @ConfigurableAlias are present, the alias will win, instead of the @Configurable.

      With the addition of deployment-specific configurables, we have this pattern for backwards-compatibility:

      @Configurable("swarm.deployment.*.context.path")
      @ConfigurableAlias("swarm.http.context")
      private String context;
      

      In this regard, we'd prefer the deployment-specific one to "win", but the alias to also work if there is no deployment-specific one.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                bob.mcwhirter Bob McWhirter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: