Skip to content

NicholasAStuart/Maven-Mule-REST-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Maven Mule REST Plugin#

This is a project to utilize the RESTful interface that is provided for the Management console on Mule ESB's Enterprise Edition.

This plugin assumes that you have configured the maven-mule-plugin to generated the mule application archive

This is a personal project and is not affiliated with MuleSoft or the maven mule plugin in any way.

Example:

<project>
	...
	<build>
		<plugins>
			<plugin>
				<groupId>com.github.nicholasastuart</groupId>
				<artifactId>mule-mmc-rest-plugin</artifactId>
				<version>1.2.0</version>
			</plugin>
		</plugins>
	</build>
	...
</project>

Calling the plugin

There is only one goal, deploy. To call the plugin, do the following

mule-mmc-rest-plugin:deploy

This goal will

  • delete an existing mule application archive from the MMC Repository if version contains "SNAPSHOT"
  • upload the mule application archive to the MMC Repository
  • delete an existing deployment having the same application name
  • create a new deployment this the uploaded archive, with target the given serverGroup
  • perform a deploy request to make MMC deploy into target server group

Security

In order to post to the Mule Repository, you need only these permissions:

  • Repository Read
  • Repository Modify

Configuration Options

Property Description Default
muleApiUrl The URL of the Mule MMC API (usually .../api) http://localhost:8585/mmc/api
name What to name the application when it is uploaded to the repository MuleApplication
deploymentName What to name the deployment when it is uploaded to the repository same as name
version What version to give the software when it is uploaded to the repository Current Time, in MM-dd-yyyy HH:mm:ss format
serverGroup The name of the target Mule serverGroup
password The password to the Mule MMC API.
username The username to the Mule MMC API.

About

Plugin for Maven that allows deploying to Mule MMC's RESTful interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages