Setting JavaScript access to Address Manager API - BlueCat vRO Plug-in - 8.0.1-9.1.0

IPAM Automation Guide

prodname
BlueCat vRO Plug-in
version_custom
8.0.1-9.1.0

In order to access the Address Manager API from a vRO workflow, you must make some changes to your vRO server JavaScript settings.

To allow access to the all Address Manager API, perform the following changes to your vRO server:

  1. Create a text configuration file with the following line to allow JavaScript access:
    java.lang.*
  2. Name the configuration file as rhino-class-shutter-file.
  3. Save the configuration in the /data/vco/usr/lib/vco/app-server directory.
  4. Log in to the VMware vRealize Orchestrator Control Center user interface as root.
  5. Click System Properties.
  6. Click New.
  7. Set the following properties:
    • Key—enter com.vmware.scripting.rhino-class-shutter-file
    • Value—enter /usr/lib/vco/app-server/rhino-class-shutter-file
    • Description—enter the description of the system property. For example, "Configure JavaScript access to additional Java classes."
  8. Click Add.
  9. Click Save changes from the pop-up window.
    The vRealize Orchestrator server restarts.
For details on how to use actions, please refer to VMware vRealize Orchestrator documentation.