Sample Exchange

 View Only

codestream-scheduler 

Jan 10, 2022 08:16 AM

vRealize Orchestrator Action to allow for Codestream Pipeline Scheduling.

 

Action require 4 Named String inputs:

  • vRealizeApplianceURL = FQDN of vRealize Automation Appliance (https://fqdn).
  • codestreamUserName = Username for vRealize Automation.
  • codestreamPassword = Password for the user (SecureString).
  • pipelineUUID = UUID of the pipeline to execute. Obtained from the URL in GUI.

The Action can then be used as part of a Scheduled Workflow in Orchestrator.

Example Usage

vRealize Orchestrator Schedule Action

I firstly created a new Orchestrator Action to trigger a specific pipeline UUID thru the Code Stream API. For this to work I needed to create the Action outside of Orchestrator due to the requirement to use the requests module. I then bundled the libraries needed with the code into a zip file and import it(action-schedule-codestream.zip) into orchestrator.

The Action require 4 Named Input variables to function.

  •   vRealizeApplianceURL = FQDN of vRealize Automation Appliance (https://fqdn).
  •   codestreamUserName = Username for vRealize Automation.
  •   codestreamPassword = Password for the user (SecureString).
  •   pipelineUUID = UUID of the pipeline to execute. Obtained from the URL in GUI.

With the action Imported we can go ahead and create a simple workflow which we will be able to schedule.

vRealize Orchestrator Schedule Workflow

For the Workflow I created a bunch of Variables needed by the Action. I created multiple values for the UUID input to allow me to trigger multiple pipelines in every scheduled run.

In the workflow Schema I added a Action element for each Pipeline I would like to trigger. In each element I supply all the details and the variable assigned with the pipeline that needs to be triggered. The only Variable that differ will be for the Pipeline UUID.

The last part is to create the Schedule.


#vRealizeOrchestrator
#MIT
#CodeStream
#vRO8
#vRealizeCodeStream
#vRealizeOrchestrator
#ActionScript

Statistics
0 Favorited
2 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
codestream-scheduler-main.zip   1.59 MB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Comments

Jun 27, 2023 12:45 PM

how to import a zip file or unzip file in orchestrator

Related Entries and Links

No Related Resource entered.