ESP Workload Automation

 View Only

 ESP to make API call

Sharon Lancaster's profile image
Sharon Lancaster posted May 01, 2025 11:58 AM

What are the options for ESP/ESP Agent to make an API call to a 3rd party host? Looking for something like ESP to make API call (HTTPS/REST) to SAS Viya Cloud.

Thank you!

Sharon

Lucy Zhang's profile image
Broadcom Employee Lucy Zhang

Hi Sharon,

Currently ESP POJO_JOB can be defined to make calls to many cloud applications.  And other than the application service or web service agent plugin, a related agent plugin for the cloud application will be required. See the following link for all existing cloud application agent plugins:
https://marketplace.automic.com/marketplace/browse?search=&products=1664272081420

I checked and couldn't find SAS Viya cloud in the list. I will contact our product team for their future consideration.

Thank you,

Lucy

Sharon Lancaster's profile image
Sharon Lancaster

Hi Lucy,

Here is a little more context, I have e-mailed this context to Dan Shannon as well. Is there no way to make a call to SAS Viya from ESP?

We are evaluating the feasibility of integrating our on-premise Broadcom ESP Workload Automation with SAS Viya HMS running on AWS cloud. The connection between our on-premise environment and AWS will be via an AWS PrivateLink.

Our specific requirement is to trigger SAS scripts running on the SAS Viya HMS platform using API calls initiated from Broadcom ESP. We intend to use service accounts for authentication to SAS Viya, leveraging SCIM for provisioning and OAuth 2.0 & OICD for authentication.

Thank you,

Sharon

Lucy Zhang's profile image
Broadcom Employee Lucy Zhang

Hi Sharon,

Thank you.

I will check with our agent expert on any possible workaround.

At the same time, wonder if you can provide an example on what kind of call or request needs to be performed from ESP.

Regards,

Lucy

Sharon Lancaster's profile image
Sharon Lancaster

Hi Lucy,

Thanks for your assistance with this. I have ask what kind of call needs to be made and waiting on a response. Here are a few questions that were ask by the team.

We would appreciate your confirmation on the following:

1.             Does Broadcom ESP support making REST API calls over an AWS PrivateLink connection?

2.            Can Broadcom ESP be configured to include necessary headers for authentication with a service account using OAuth 2.0 or OICD (e.g., including a Bearer token in the Authorization header)?

3.            Are there any known limitations or specific configurations required within Broadcom ESP to accommodate a network link that is primarily unidirectional, except for initiated API calls?

Thank you,

Sharon

Daniel Shannon's profile image
Broadcom Employee Daniel Shannon

The SAS Viya application runs in a Kubernetes environment. If the goal is to run a script on the platform, it can be accomplished by installing the Kubernetes/OpenShift agent plugin extension. Once this is available, an ESP POJO job can be defined to run and monitor the script to completion. Documentation on the plugin extension can be found at https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-plugin-extensions/GA/workload-automation-agent-plugin-extension/openshift-plugin-extension.html.

Sharon Lancaster's profile image
Sharon Lancaster

Hi Lucy,

Here is what I received from the team, also sent this over to Dan.

Broadcom ESP needs make authenticated HTTPS POST requests with a JSON payload to the SAS Viya Job Execution API endpoint to trigger SAS scripts on AWS hosted SAS VIYA platform. The authentication must be handled using OAuth 2.0 Bearer tokens. Additionally, ESP should be able to handle the asynchronous nature of the API for a complete integration. 

Sharon