Skip to main content

This post is from the XebiaLabs blog and has not been updated since the original publish date.

Last Updated Apr 21, 2015 — DevOps Expert

Learn about Jython API

DevOps

There is no quick way to learn Jython API but to experiment with it. The easiest way is to start with Jytutor extension for XL Deploy. Now you can also use the code snippet for exposing jython/python context in XL Deploy environment by running it directly in Jytutor Here's how you can go ahead with that

  1. Download the Jytutor extension referring to the Jytutor Blog or from the following link https://github.com/xebialabs-community/xld-jytutor-plugin/releases
  2. Shutdown your XL Deploy server and drop the extension jar file under XLD_HOME/plugins folder
  3. Restart the server and log back in
  4. You should be able to see Jytutor as the last option in top menu. Click to open that
  5. Now refer to the code snippet in XL Deploy Variables Demystified : Part 2
  6. Once you copy the snippet in Commands section and submit it, this is how it looks.Jython-API-XLD
  The Standard output  box shows all the complex objects and services that are exposed in the jython context.  You can use this to type your complete script for xl-rules and custom-rest-endpoints , test it without rebuilding/restarting server and then put in your code. Enjoy!!  

More from the Blog

View more
Feb 22, 2021

Reckoning DevOps’ role in the enterprise value stream

DevOps
If you’re a software or digital solutions company, you may use DevOps ...
Read More
Feb 10, 2021

Customer spotlight: Schneider avoiding bumps in the road with DevOps adoption

DevOps
Everyone wants to deliver software faster and more reliably. Companies ...
Read More
Jan 06, 2021

How testing automation can build a culture of QA while accelerating continuous delivery

DevOps
An organization’s level of automated test coverage is quickly emerging ...
Read More
Jul 30, 2020

Part 2: Is Technology Slowing Down Your Digital Transformation?

DevOps
In part one of this post, we shared insights from Andreas Prins’ webin ...
Read More
Contact Us