If built-in solutions like what Tristan proposed don't work. Copnsider
Windup, it must likely have ways to transform configurations.
Windup is a generic tool to migrate from some version of X to some
versions of Y. Worth talking to the team.
Emmanuel
On Mon 17-08-28 11:41, Sebastian Laskawiec wrote:
Hey,
Our cloud integration bits require a tool for adjusting the configuration
for certain use cases. A common example would be - take this `cloud.xml`
file, remove all caches, add a new, replicated cache as default one.
The tool should take either configuration or a file name as input (e.g.
`config-tool --add-default-cache -f cloud.xml` or `cat cloud.xml |
config-tool --add-default-cache > cloud-new.xml`) and print out
configuration either to System Out or to a file.
Do you have any ideas what could I use to write such a tool? Those
technologies come into my mind:
- Perl
- Python
- Java (probably with some XPath library)
Thoughts? Ideas? Recommendations?
Thanks,
Sebastian
--
SEBASTIAN ĆASKAWIEC
INFINISPAN DEVELOPER
Red Hat EMEA <
https://www.redhat.com/>
<
https://red.ht/sig>
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev