GitHub user maecval opened a pull request:

    https://github.com/apache/deltaspike/pull/67

    DELTASPIKE-1208: Fixed variable replacement in configured values for …

    ### deltaspike configuration issue DELTASPIKE-1208
    (https://issues.apache.org/jira/browse/DELTASPIKE-1208)
    
    This solves the issue that the "foo.bar" was not resolved correctly in the 
following case when using getProjectStageAwarePropertyValue.
    
    configuration values:
    ```
    foo.url=${bar.url}/services
    bar.url=undefined
    bar.url.UnitTest=http://bar-dev
    bar.url.Production=http://bar-prod
    ```
    
    Expected for project stage "Production"
    ```
    http://bar-prod/services
    ```
    when executing
    ```
    ConfigResolver.getProjectStageAwarePropertyValue("foo.url")
    ```


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maecval/deltaspike DELTASPIKE-1208

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/deltaspike/pull/67.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #67
    
----
commit 0c90a6188f63b731bab119074d9f903ffc530ea5
Author: tzhmava4 <[email protected]>
Date:   2016-10-20T05:52:42Z

    DELTASPIKE-1208: Fixed variable replacement in configured values for 
getProjectStageAwarePropertyValue

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to