Giter Site home page Giter Site logo

confluex / maven-mule-rest-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nicholasastuart/maven-mule-rest-plugin

0.0 4.0 0.0 335 KB

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

License: Apache License 2.0

maven-mule-rest-plugin's Introduction

#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>org.mule.tools</groupId>
				<artifactId>mule-mmc-rest-plugin</artifactId>
				<version>1.2.0-SNAPSHOT</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
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.

maven-mule-rest-plugin's People

Contributors

nicholasastuart avatar mjhoffman65 avatar palma avatar

Watchers

Mike Cantrell avatar James Cloos avatar Erich Leipold avatar Phillip Grove avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.