-
Notifications
You must be signed in to change notification settings - Fork 15
feat: Implement ITriggerableProvider for task processing providers #683
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the ITriggerableProvider interface for AppAPI task processing providers, allowing providers to be externally triggered. This enhancement adds triggering capabilities to existing task processing providers by extending the anonymous provider class to implement the new interface.
- Adds ITriggerableProvider interface implementation to anonymous ExApp providers
- Implements a trigger() method that makes HTTP requests to external apps
- Updates constructor dependencies to support the triggering functionality
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
oleksandr-nc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, if it is working good
|
Mh, after a test I can say with confidence: it's not working :D |
|
Tested and works |
See nextcloud/app_api#683 for the corresponding AppAPI PR. Changes proposed in this pull request: * Add a `trigger_handler` param to set_handlers() that will be called when the /trigger endpoint is requested by AppAPI. --------- Signed-off-by: Marcel Klehr <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
See nextcloud/server#55741 for the server-implementation.