Set up the Environment

Before you develop custom policies, ensure that environment for custom policy development is configured.

To set up the custom policy development environment:
  1. Install / update to the latest version of Oracle JDK.
  2. Install the latest version of Java IDE. For example, Eclipse or IntelliJ.
  3. Sign into the Management Portal with a Gateway Manager or Administrator user.
  4. Download the Gateway Node Installer.
  5. Install a Gateway Node.
  6. Copy and place the following jars in plugins directory.
    • groovy-all.jar from <gateway_install_dir>/GATEWAY_HOME/ocsg/httpclient/.

    • oracle.apiplatform.policies.sdk.jar, oracle.apiplatform.shared.jar, oracle.apiplatform.utils.jar, and json-20160212.jar from <gateway_install_dir>/domain/gateway1/servers/managedServer1/tmp/_WL_user/SharedSDK/{custom folder}/APP-INF/lib