Groovy This & Groovy That – Part 3 The Example

Lets now get a little bit more practical with an example to show how we will Login to PBCS and run some commands, but with a twist.... Why ordinary!!!! That would only be boring. Today our example, will run a program that will interact with the triggering user and execute commands based on the entered input. This program/mini-application will allow the user to list files, delete files, upload and download files to and from PBCS and execute Jobs in PBCS using Groovy commands. Please note this example can be further expanded to do much more in PBCS and leverage all the PBCS REST API functions, however the commands listed will be used as the example in this post.

Groovy This & Groovy That – Part 2 The Setup

Nothing special here just a basic how to install Groovy for PBCS integration and a simple test to show is working: Hello World Println from the Hyperion Jedi.

Blog at WordPress.com.

Up ↑

%d bloggers like this: