Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Gems for automation scripts


Gems are packaged Ruby libraries with a name and a version. They can be used for connecting to an external system and trigger an action by using various web services such as REST and SOAP API calls.

The following table provides a list of Gems for loading, that you can use while creating your script:

Notes

  • All the Gems listed in the following table are available by default when you create a new script except for the following 3 Gems:
    • require 'rest-client'
    • require 'savon'
    • require 'date'
       If you are using any of the preceding 3 Gems then you must specify it in the script body, otherwise you need not explicitly mention the other Gems in the script body.
  • The require 'lib/script_support/baa_utilities' Gem is required for creating any new scripts for integrating with BMC Application Automation 8.2.00. It provides a reference of the library where all the routines related to BMC Application Automation 8.2.00 are added. These routines are used for connecting with the BMC Application Automation server via REST or SOAP API calls.

List of Gems supported

Gem

Version

require 'rubygems'

Depends on the latest installed version of Gems

require 'net/http'

1.9.3

require 'uri'

1.9.3

require 'yaml'

1.9.3

require 'fileutils'

1.9.3

require 'cgi'

1.9.3

require 'json'

1.4

require 'rexml/document'

19.3

require 'hudson-remote-api'

0.5.0

require 'rest-client'

1.6.7

require 'savon'

1.1.0

require 'base64'

1.9.3

require 'date'

1.9.3

require 'lib/script_support/baa_utilities'

None

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*