Yes, please send it. While I think they were going to look into the REST API, it won't hurt to have this as an option.
-------------------------------------------
Original Message:
Sent: Aug 11, 2025 11:36 AM
From: Martin Rybczynski
Subject: Automating the creation of Job Streams
Jared,
If it helps, I can share a CLI script (python) that takes a CSV file with basic information (target job, scheduler, business area, etc.) as a parameter for creating jobstreams in bulk.
Thanks,
Martin
Original Message:
Sent: Aug 05, 2025 09:35 AM
From: Jared Kessans
Subject: Automating the creation of Job Streams
Thanks. Didn't know about the REST endpoint other than the subscription services. This should help a lot.
Original Message:
Sent: Aug 05, 2025 12:50 AM
From: John Hiett
Subject: Automating the creation of Job Streams
HI Jared,
There are multiple means of creating jobstreams:
- Via the traditional means, the AAI User Interface
- Via the AAI REST API
- Via the AAI Command Line Interface (CLI)
While not automatic, leveraging a template JSON request to use the REST API and/or a template Python script to use the CLI can ease the creation of multiple jobstreams.
REST API
There is documentation along with an example of usage within the swagger documentation found at:
http[s]://<aai_server>:<port>/aai/swagger-aai.html#/jobstreams/JobStreamsService_addJobStream
CLI
You will find an example script named add_jobstream.py on the AAI server within the <INSTALL_DIR>/batch/examples directory.
I hope that this helps.
Many thanks and kind regards,
Jon
Original Message:
Sent: Aug 04, 2025 03:12 PM
From: Jared Kessans
Subject: Automating the creation of Job Streams
I have a user that has about 200 processes from Automic they would like to have added to AAI to monitor. Is there an automated process to set up Job Streams or it is only a manual process?
-------------------------------------------