Last Updated Apr 21, 2015 — DevOps Expert
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!!
 

Are you ready to scale your enterprise?

Explore

What's New In The World of Digital.ai

January 18, 2023

Three Tips to Unclog Your Application Pipeline

Many organizations have one question at the top of their mind: How can we deliver faster, and with fewer bottlenecks and delays? Read the blog to learn how!

Learn More
August 5, 2022

Agile 2022 by Agile Alliance: Key Takeaways

Digital.ai is thrilled to be back at live, in-person events this year, especially the Agile 2022 Conference by Agile Alliance. The conference was full of great topics, and we wanted to share our insights. Here are the three main points of significance: Engineering with empathy; Leading with kindness; Delivering with passion
Read the full article to learn the “why” and the “how” and let us know your point of view!

Learn More
April 26, 2022

Get ready for peak performance with Digital.ai’s newest AI-Powered DevOps Platform Ascension Release

Today, Digital.ai is excited to announce our latest AI-Powered DevOps Platform Release: Ascension.  This release empowers both private and pub

Learn More