Jboss deployer using Python Requests library
Deploy to remote Jboss EAP6.x+ via HTTP management API using the great Python Requests library. I decided to write it in Python mainly because its multiplatform, so you can launch the script in UNIX/Linux, MacOS or even Windows.
Written in Python 3
The usage is very easy, the script takes 4 arguments. Here is an example:
./jota-standalone-deployer.py -u admin -p admin01 -d http://192.168.2.131:9990 -pkg /repository/packages/example.war
Where:
Once launched, example.war should be deployed in the remote standalone Jboss node.
The script just needs one more argument specifying the target Server Group where you want to deploy the package. Here is an example:
./jota-domain-deployer.py -u admin -p admin01 -d http://192.168.2.131:9990 -pkg /repository/packages/example.war -sg my-server-group
Where:
Once launched, example.war should be deployed in the remote Jboss Server Group.