-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use a configuration.json instead of test_settings.py #29
Comments
@ekoval please keep the following things in mind:
|
I faced this issue few times, and I can't say I like option with |
yoconfigurator is public, but it is still quite heavily tied to private stuff, and expecting third parties working on this library to use it is a bit much, imho. |
By hand. Yeah, yoconfigurator is public, but it isn't useful to anyone else, for generating configs, unless they do a bit of work. We can't expect anyone else to generate configs. |
I think a |
|
I'm still not sure I understand this approach. Even if we have |
Yes. Edit manually before committing. And trim it down to the bare minimum On Thursday, December 10, 2015, Eugene Koval [email protected]
|
I can't say I like this solution. Very inconvenient for non-Yola developers. |
Even JSON with specific fields only has same structure as full JSON, it is not a plain config like this:
How about some mixed solution - if there is a |
I imagined it would look something like this: {
"common": {
"wlproxy": {
"username": "...",
"password": "...",
"url": "...",
}
} That doesn't seem terribly inconvenient for third parties, but would make it very convenient for yola devs. Is something like that not possible? (admittedly, I haven't given it much thought) If so, what would the config have to look like? |
It is not terribly inconvenient, but looks quite unnatural. What is "common"? What is "wlproxy"? Why do I need it if I'm inside WLProxy, and don't know what "common" is? |
The problem is that the settings needed here aren't in common section of our configs, are they? (or do we plan to move them there). If so, generating proper |
Those are all valid concerns. We should probably put this on hold until we have a better idea of how we're going to support per-partner auth anyway. |
If the interface is yoconfig, then the top level structure of our configs is irrelevant. |
See discussion here: #26 (comment)
The text was updated successfully, but these errors were encountered: