[WIP] Dynaconf for yamls
Purpose or Intent
This PR is an enhancement of what I have done in PR #9315 as it is able to read values for all the available yamls in conf/ directory.
It does have limitations though(dynaconf imposed):
- It cannot override and merge values from
.local.yamlfiles [Update] I have a PR that may fix the issue number 1 listed above: https://github.com/rochacbruno/dynaconf/pull/238 - waiting on them to release new version - It does not have a property
runtimeas the conf had [Update] I have made it possible to mimic the runtime property with dynaconf and it seems to collect alright locally.
You still need my latest GitLab PR to make this code work locally.
File names _copy are not final, will rename files before merge.
@john-dupuy yes please pull my YAMLs PR 832 and then you can run:
In [1]: from cfme.utils import conf_copy
In [2]: conf_copy.cfme_data
Out[2]: <cfme.utils.config_copy.ConfigData at 0x7f9aa6e7c1d0>
In [3]: conf_copy.cfme_data.basic_info <or any other keys>
I am waiting on my Dynaconf PR before working on this one. In the meanwhile feel free to leave reviews. I will fix travis later.
Moving to WIPTEST based off of https://github.com/ManageIQ/integration_tests/pull/9376#issuecomment-534193018, let me know if you'd like to leave it RFR @kedark3
To Reviewers: This PR passed the jenkins run, I can point you to it if needed.Kindly review.
Would you mind rebasing this Pull Request against latest master, please? :trollface: CFME QE Bot