Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to trigger jobs through API end point #334

Open
bsushmith opened this issue Nov 25, 2022 · 1 comment
Open

ability to trigger jobs through API end point #334

bsushmith opened this issue Nov 25, 2022 · 1 comment

Comments

@bsushmith
Copy link
Member

Summary
support ability to trigger jobs such as grant_expiration_reminder & grant_expiration_revocation through an API endpoint whenever needed instead of only at a pre-determined cron schedule.

@rahmatrhd
Copy link
Member

we can setup an API for this POST /jobs/:name/run with request body accepting interface{} because each job can have different parameters.

Additionally, existing ImportGrants and ImportActivities can also be treated as job, and triggered through that API as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants