Menu

terça-feira, 30 de junho de 2015

Amazing JBoss EAP/Wildfly profile cloner

Some time ago I began to save my JBoss EAP configurations as CLI scripts. The problem is that after each new release it was common to find out my scripts were broken due to command/argument changes.

Fortunately I found out today about Profile Cloner on mastertheboss. It was developed by Tom Fonteyne and it's available at github. This tool allows you to effortlessly convert the current configuration of your JBoss/Wildfly server into a CLI script.

How to use it

git clone https://github.com/tfonteyn/profilecloner
cp target/profilecloner-2015-06-25.jar profilecloner.jar
./profilecloner.sh -f save-script.cli  --controller=localhost --username=user --password=password /profile=ha ha-copy

Nenhum comentário :