Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No Ticket] Add get_object to interpret JSON settings #336

Merged
merged 1 commit into from
May 1, 2018
Merged

[No Ticket] Add get_object to interpret JSON settings #336

merged 1 commit into from
May 1, 2018

Conversation

icereval
Copy link
Contributor

@icereval icereval commented May 1, 2018

Ticket

N/A

Purpose

Allow JSON objects and arrays to be passed into as environment variable settings, needed for Storage Internationalization project.

Changes

Adds get_object to the base Settings class, in the correct alphabetical order.

Side effects

None

QA Notes

N/A

Deployment Notes

Can now use JSON in environment variables, e.g.

export SERVER_CONFIG_CACHE_PROVIDER_SETTINGS='{
  "bucket": "cos-osf-stage-files-ca-1-mfr"
}'

@icereval icereval requested a review from felliott May 1, 2018 01:21
Copy link
Member

@felliott felliott left a comment

Choose a reason for hiding this comment

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

🤘

@coveralls
Copy link

coveralls commented May 1, 2018

Coverage Status

Coverage increased (+0.02%) to 71.29% when pulling 0eac963 on icereval:feature/settings-get-object into f4a5cd2 on CenterForOpenScience:develop.

@felliott felliott merged commit 0eac963 into CenterForOpenScience:develop May 1, 2018
felliott added a commit that referenced this pull request May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants