[infinispan-dev] A tool for adjusting configuration

Tristan Tarrant ttarrant at redhat.com
Mon Aug 28 12:56:46 EDT 2017


For server the tool already exists: the server CLI can work in offline 
mode and manipulate a configuration using DMR ops.

Tristan

On 8/28/17 1:41 PM, 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 HatEMEA <https://www.redhat.com/>
> 
> <https://red.ht/sig>
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 

-- 
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat


More information about the infinispan-dev mailing list