Based on business requirements, minions can be created and it can be scheduled to run at the appropriate time using cronjobs. Sometimes it needs to be triggered manually. We can use postman to initiate it.
In order to run the minions, we need to get access token by hitting the /connect/token endpoint of Identity server. Using it, you can send a request to RunMinon() API with the Minion Full Name and you can see the status in the logs.
Authentication
Get the access token by sending the request to token endpoint of ID server.
Trigger Minion
In order to trigger the minion, you need the minion full name. Once posted, it will start the job in the background and you can see the status in the log file.
No comments:
Post a Comment