No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Maestro plugin providing a "task" to send SMS messages through the SMSified gateway. This plugin is a Ruby-based deployable that gets delivered as a Zip file.


  • src/smsified_worker.rb
  • manifest.json
  • (this file)

The Task

This SMS plugin requires a few inputs:

  • username (for the SMSified account)
  • password (for the SMSified account)
  • number (the 'from' SMSified number)
  • to (the destination number)
  • body (the 140 or less chars to send)

The plugin architecture will provide "output" via an internal task handling mechanism, making it available to subsequent composition tasks.

Logging is available to plugins in the form of a "write_output" method that streams to both logs and the Maestro UI's task execution console.

The Code

Just need to inherit Maestro::MaestroWorker and ensure that you have a method that matches the command specified in the manifest.json. Use write_output() to get stuff sent to the task execution console. Use Maestro.log.INFO/DEBUG/ERROR() to get stuff to the agent log.

The Manifest

Everything should be pretty obvious in the manifest. It's JSON. And, everthing in this one is required.

The tool_name is used by Maestro to drop the task into a specific Tool Type. The command is just used by Maestro to get the work from a composition to the task for execution.

Obviously, class is the name of the class that exists in the src/ subdirectory.


Currently we require the plugin to be development/built under JRuby (and within a RVM-managed setup is just fine :)). The reason is the dependent maestro-agent gem is currently also the runtime.

This plugin uses SMSified's own gem, which is a simple Httparty wrapper.


It's really straigtforward. To start, let's fetch the dependencies:

$ bundle

Next, we'll run the tests:

$ bundle exec rake spec

Because we don't want the test and development gems in the package, let's remove them (way harder than it should be).

$ rm -rf .bundle
$ bundle install --without test development

Then, we need to package up the plugin for deployment:

$ bundle package
$ bundle exec rake package

You'll get a maestro-sms-plugin-${version}.zip file.


Deploying a Maestro plugin is super simple. Just drop it in Maestro's configured plugins subdirectory (which is specified in the maestro_lucee.json configuration file). By default it would be /etc/maestro/plugins/.


This plugin is a great starting point for those needing to extend Maestro capability via a plugin (with Ruby). It's one file (sans tests) and a manifest, shoved into a zip file.


Apache 2.0 License: