I love a good user interface. However, for getting stuff done there is nothing I like more than a good old text editor and some crisply formatted code.
Starting in 6.0, ElectricFlow added support for a powerful Domain Specific Language (DSL), based on the popular Apache Groovy language, that allows you to define your automation processes as code. This makes your automation as easily versionable, testable, and repeatable as your application code – and helps you transform your pathway to production from a jumble of batch files and shell scripts into a lean, mean, delivery machine!
A few weeks ago I was asked to put together a training to help educate our partners and world-wide field teams on this new way of working. The session was a huge success – and we had several partners ask for the recording. But I’m an engineer, and not an AV person :) so I didn’t have that replay..
Luckily, I got to team up with Sam Fell recently to re-ran the session to record it to make it easy to share.
If you are interested in getting started with our DSL, take a look at the replay – you wouldn’t believe how powerful it is, and how quickly you can get up and running!
In addition to the information and tips I go through in this training webinar, below are some links that may help you:
- The full DSL documentation is available here.
- Code Samples can be found here DSL GitHub repository. If you need any assistance, please don’t hesitate to ask us.
- The slide deck of Greg Maxey’s presentation from DOES15 “Process as Code: An Introduction to ElectricFlow DSL” can be found here.
- A neat DSL IDE that works right inside of ElectricFlow can be found here: https://github.com/electric-cloud/EC-DSLIDE (I love that!)
- A Groovy Style Guide @ http://www.groovy-lang.org/style-guide.html
- Groovy Language Documentation @ http://www.groovy-lang.org/single-page-documentation.html