By the time AS7 is ready for full release, you will be able to manage deployment plans in the Admin Console. For now, the only way to use them without writing your own application is to use the domain.interactive
demo included in the AS7 source code.
Task Prerequisites
Check out the AS7 Beta source code from Github.
Install Apache Maven 3.
Build AS7 Beta from source.
Run the AS7 you built from source in Domain Mode.
Procedure 8. Use domain.interactive
to create a deployment plan
Change to the demos/
directory of the AS7 source tree.
Build the domain.interactive
demo.
maven package -D-Dexample=domain.interactive
The demo starts in your terminal. The main screen of the demo is an interactive menu.
Choose option 12 to Create and Execute and Deployment Plan.
Type 12
to choose Create and Execute a Deployment Plan.
Choose option 1
Choose the option to Add new deployment content to the domain.
Choose a deployment file on your system.
A file chooser appears. Browse to a deployment file (such as a WAR or EAR), select it, and click Open.
Apply the deployment action.
Choose option9
to Apply deployment actions to a server group.
Choose the server group to deploy to.
Choose the algorithm to use when rolling out the deployment. To deploy to all servers at once, choose 4
.
View the logging output of the Application Server to verify that the deployment succeeded.
If the deployment succeeded, the logging output, in the terminal where the Application Server is running, shows that the content is added.
The deployment rolls out to the servers in the server group, in the way that you choose. The results are logged by the Application Server logging subsystem.