Skip to content

Support string interpolation in configuration file #1

Merged
merged 1 commit into from
Apr 18, 2018
Merged

Support string interpolation in configuration file #1

merged 1 commit into from
Apr 18, 2018

Conversation

dshafer
Copy link
Collaborator

@dshafer dshafer commented Apr 17, 2018

This PR will allow us to inject configuration through environment variables referenced in config/restforce.rb, e.g.:

host: "<%= ENV['SF_HOST'] %>"
username: "<%= ENV['SF_USERNAME'] %>"
password: "<%= ENV['SF_PASSWORD'] %>"
security_token: "<%= ENV['SF_SECURITY_TOKEN'] %>"
client_id: "<%= ENV['SF_CLIENT_ID'] %>"
client_secret: "<%= ENV['SF_CLIENT_SECRET'] %>"

This is required for containerizing and automating build/test for Federation Manager.

Copy link
Contributor

@ij ij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request.

@ij ij merged commit 751eaff into Internet2-TSG:master Apr 18, 2018
@ij
Copy link
Contributor

ij commented Apr 18, 2018

Fyi, I assigned the tag v0.1.53 after merging.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants