-
Notifications
You must be signed in to change notification settings - Fork 80
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
WFCORE-4868 Introduce aliases for standard configuration files #390
Conversation
df386bf
to
0773688
Compare
It is not clear to me where this aliases list live. i would love to make it editable so I could add my own aliases :) Also does it only concerns sandlone configuration files ? I think this should me expressed as a non requirement |
So far it is only available for the configuration files we provide, so it is hardcoded in the code, maybe they could be extracted in an automatic and predictable way, but that is not available for the first cut yet.
That could be an evolution of this one. Right now is only prepared to supply aliases of the configuration files we provide by default. Those are the standalone variants. |
Updated. Just to clarify and perhaps I need to make the distinction clearer. I want this to work for the file suffixes, and a set of strings that are meant for the files we distribute. I.e. "standalone-load-balancer.xml" can be referenced by "lb" (which will be hardcoded, and we could make this extensible in the future) but it could also be referenced by "load-balancer" (which is not hardcoded). |
@michpetrov You are proposing to also enable other aliases besides the ones that can be applied to the files we distribute. So if the user has If we go as it is not, could you also clarify this case in the proposal and define what would be the final logic applied? |
@michpetrov I think we should keep to a limited hard coded list of aliases. We can put in nice to have in the future requirements something to make that list dynamic or editable. |
FYI if we are targeting community the "Nice-to-have" requirements should be converted to non-requirements or moved to a future-work section |
Yes, I do agree. Also, this is more a feature for developers than users, so focusing on files we distribute and providing an alias as a replacement to go faster when you need to use them too often, makes sense to me. Enabling it now for users to create custom aliases for their custom files, does not sound as clear when you make a balance between it and the required logic/rules added to pick up the correct file, a logic that should remain the same for the future. |
Thanks @michpetrov, @yersan and @ehsavoie! |
Issue: EAP7-1700 / WFCORE-4868