AutoSys Workload Automation

 View Only
Expand all | Collapse all

Appplication definition rest api for CA workload automation DE

  • 1.  Appplication definition rest api for CA workload automation DE

    Posted Jun 25, 2020 01:22 PM
    ​Hi,

    I think I found bug in rest api fro CA workload automation DE. When I am using rest api to get the details for a particular application and if the jobs/application is using AGENT GROUP instead of agent then rest api doesn't return the agent group details along with other details.
    Also while creating new application I am not able to assign agent group as the rest api doesn't recognize agent group key.

    Let me know if it is actually a bug or I am missing something here.

    Here is the details of output I got  for job definition under application definition using rest api-

    id         : RGVsZXRlX09sZF9SYXRlcl9Mb2dzX1FB
    type       : WindowsJobDefinition
    name       : Delete_Old_Rater_Logs_QA
    successors : {}
    executable : cmd.exe
    arguments  : {/C \\vhfs\ecombat\Batchjobs\QA\CSSupport\Delete_Rater_Logs\DeleteOldRaterLogs.bat}
    user       : CDW-1\webscriptsstage

    id         : TW92ZV9SYXRlcl9Mb2dzX1FB
    type       : WindowsJobDefinition
    name       : Move_Rater_Logs_QA
    successors : {@{key=; releaseCondition=success}}
    executable : cmd.exe
    arguments  : {/C \\vhfs\ecombat\Batchjobs\QA\CSSupport\Move_Rater_Logs\MoveRaterLogs.bat}
    user       : CDW-1\webscriptsstage

    id         : MW1pbl9DQV9Nb25pdG9yLURhdGU=
    type       : WindowsJobDefinition
    name       : 1min_CA_Monitor-Date
    agent      : EBATCHQAVH04
    successors : {}
    executable : cmd.exe
    arguments  : {/C "date /t >> d:\devops\castage1min.txt"}
    user       : CDW-1\caserviceqa



  • 2.  RE: Appplication definition rest api for CA workload automation DE
    Best Answer

    Broadcom Employee
    Posted Jul 14, 2020 12:39 AM
    Hi,

    Currently AGENT GROUPs are not listed in the REST API . Can you please raise an enhancement in the 'Ideation' site to take it forward.

    - Ravi Kiran