Apache Whirr (retired)
  1. Apache Whirr (retired)
  2. WHIRR-163

Support environment variable interpolation in configuration properties

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Component/s: core
    • Labels:
      None

      Description

      It would be useful to support environment variables in configuration file; to specify cloud credentials, for example. The syntax that Commons Configuration uses is {{

      {env:AWS_ACCESS_KEY_ID}

      }}, although that isn't supported for environment variables until 1.7 which isn't available.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 2h 13m 1 Tom White 16/Dec/10 22:21
        Tom White made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.3.0 [ 12315487 ]
        Resolution Fixed [ 1 ]
        Hide
        Tom White added a comment -

        I've just committed this.

        Show
        Tom White added a comment - I've just committed this.
        Tom White made changes -
        Assignee Tom White [ tomwhite ]
        Tom White made changes -
        Field Original Value New Value
        Attachment WHIRR-163.patch [ 12466346 ]
        Hide
        Tom White added a comment -

        Patch with a unit test. This could be useful for WHIRR-145, since it allows people to share configuration files without putting credentials in them.

        Show
        Tom White added a comment - Patch with a unit test. This could be useful for WHIRR-145 , since it allows people to share configuration files without putting credentials in them.
        Tom White created issue -

          People

          • Assignee:
            Tom White
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development