DSL guide

Groovy DSL

Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.

For more details see the Groovy official documentation.

Groovy allows objects to be bound into the interpreter which modify and extend the language notation. This is really significant as it allows us to build a targeted single-purpose mini language, often referred to as a domain-specific language (DSL). It is the DSL capability of Groovy which will, over time, enable us to develop a new mini language for the operation and control of Platform 6.

Platform 6 Groovy DSL:

API bus

Using the Groovy DSL service, you can perform request and response exchanges with built-in Platform 6 services.

Here are the services which expose an API through the bus:


No specific user’s permissions are required to perform a request to a service.