-
Notifications
You must be signed in to change notification settings - Fork 66
Define environment specific assets in ml-config.xml #692
Comments
I'm curious about the use case here, as a major purpose to having the |
The use case described to me by the customer is that they run their testing in lower environments and that testing needs additional users defined for automating their testing scenarios. Another use case was that they want to go through a process of promoting indexes up into higher environments and that this would be a good way to manage that for them. |
Sounds good to me. |
I'm playing around with #808, and starting to think I need something similar. I'd like to get rid of the xml placeholders like
Note: the property placeholder gets replaced as anywhere else, and results in either an empty if-exists attribute, or one with a value. Similarly we could do something like:
Or maybe just |
I was hoping to be able to use more complex if expressions, like |
I'm ok with saying this feature is not ML7 supported |
Well, I had something in mind for #808, but that would affect ML7 support too. I might have found a way though. search:parse works too. Less strong, but it works. And there are some quirks with cts:parse, making search:parse do a little better actually.. Let me see if I can put a PR together for this.. |
…able to expose decision logic within ml-config
Fixed #692: leveraging search:parse to evaluate if's against properties
Implemented in DEV |
…able to expose decision logic within ml-config
Request from a customer :
Have an optional attribute in Roxy assets which defines environments that are allowed to use that asset.
ex:
This asset would only be deployed/wiped on dev environment:
This asset would only be deployed/wiped on local and dev environment:
While you can do this with using a different ml-config,xml for each environment, it would be much more condensed to manage assets like this within a single ml-config.xml file.
The text was updated successfully, but these errors were encountered: