[infinispan-dev] A tool for adjusting configuration

Sebastian Laskawiec slaskawi at redhat.com
Mon Aug 28 07:41:28 EDT 2017


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20170828/41d051cc/attachment.html 


More information about the infinispan-dev mailing list