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

Add Jobs API #1101

Open
cicoyle opened this issue Aug 14, 2024 · 12 comments · May be fixed by #1110
Open

Add Jobs API #1101

cicoyle opened this issue Aug 14, 2024 · 12 comments · May be fixed by #1110
Assignees
Labels
help wanted Extra attention is needed kind/enhancement New feature or request

Comments

@cicoyle
Copy link
Contributor

cicoyle commented Aug 14, 2024

Dapr v1.14 adds support for the Jobs API which uses the Scheduler control plane service under the hood. This new API allows users to schedule/get/delete jobs to be triggered at some point in the future. Once triggered from the Scheduler control plane service, daprd will send the job to the app via either grpc or http via OnJobEventAlpha1 or /jobs repspectively. The API is exposed to the user for both grpc + http via the ScheduleJobAlpha1/GetJobAlpha1/DeleteJobAlpha1 apis.

Reference implementation for the go-sdk.

Note the API is called jobs

@cicoyle cicoyle added kind/enhancement New feature or request help wanted Extra attention is needed labels Aug 14, 2024
@charan2628
Copy link

@cicoyle Can I work on this?

@cicoyle
Copy link
Contributor Author

cicoyle commented Aug 19, 2024

@charan2628 Absolutely! Please assign yourself this issue by commenting ‘/assign’. Definitely refer to the go sdk example and reach out to me for additional assistance as needed

@charan2628
Copy link

/assign

@charan2628 charan2628 linked a pull request Aug 21, 2024 that will close this issue
3 tasks
@charan2628
Copy link

@cicoyle Can you please verify once my changes, so I can continue this approach

@salaboy
Copy link
Contributor

salaboy commented Aug 23, 2024

@charan2628 we will look into your changes.. I think that @artursouza already made some comments.

@siri-varma
Copy link

I believe there is still pending work here. I would like to take it up. Let me know if that's ok.

@cicoyle
Copy link
Contributor Author

cicoyle commented Mar 7, 2025

@siri-varma - All community contributions are welcome :) I can assign you to this issue as well.

@charan2628 has started on this work, but if you would like to pick up where it was left off we appreciate the help! Since the PR has not been updated since October that is fine by me if you would like to start a new branch, or if you'd like to cherry pick in what has already been started on. We will be sure to reference @charan2628 as they definitely put in some efforts. It will be appreciated if you can bring it over the line @siri-varma - we can get it in the next release

@charan2628
Copy link

@cicoyle I didn't received feedback for my changes, that's why I stopped working on this. I am asking in my PR if my implementation is fine, got no reply.

@salaboy
Copy link
Contributor

salaboy commented Mar 10, 2025

@charan2628 there is an open PR showing how to add a new API to the Dapr SDK, which is quite complete: #1235 my advice would be to copy how that PR is adding the APIs and all the tests that needs to be added to check that the API is working correctly. Apologies for the delay in getting back to you with this PR.

@charan2628
Copy link

Ok @salaboy

@charan2628
Copy link

@siri-varma are you going to completely work on this

@siri-varma
Copy link

@charan2628. Yes, I will be able to wrap this up.

This was referenced Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/enhancement New feature or request
Projects
No open projects
Status: In review
Development

Successfully merging a pull request may close this issue.

4 participants