Thanks a lot for all tips.
It seems Tristan's solution fits the best. I've just tried it out and it
seems to do the job:
> ./cli.sh
> embed-server --server-config=cloud.xml --std-out=echo
> /subsystem=datagrid-infinispan-endpoint/rest-connector=rest-connector:remove
> stop-embedded-server
I might
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 commo
I suggest Java, any other language will be used as an excuse to leave all
the maintenance work to you :)
Dan
On Mon, Aug 28, 2017 at 5:05 PM, Katia Aresti wrote:
> Hi !
>
> What about Golang ?
>
> Cheers,
>
> Katia
>
> On Mon, Aug 28, 2017 at 1:41 PM, Sebastian Laskawiec
> wrote:
>
>> Hey,
>>
Before you start messing with XML itself, you might want to see what we do in
Hibernate 2L.
We first load the XML configuration [1], and using the
ConfigurationBuilderHolder we can swap cache configurations, we can tweak
them...etc, and eventually we create a cache manager out of that.
From th
Hi !
What about Golang ?
Cheers,
Katia
On Mon, Aug 28, 2017 at 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 n
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.
`con