- Issue created by @jurgenhaas
- 🇦🇺Australia VladimirAus Brisbane, Australia
Gitlab API is limted, but I successfully can query/create
Milestones
andTasks
using Postman.
Pretty sure we can start withtasks
and then extend further. - 🇩🇪Germany jurgenhaas Gottmadingen
With the implementation of 📌 Provide access to all methods of the GitLab client Fixed the full GitLab API is available and we're already using that. It's very powerful.
Pretty sure we can start with tasks and then extend further.
I wouldn't want to build action plugins for each available method, that's not worth the effort. Especially when it comes to long-term maintenance as we would always have to make sure that we keep up to date with new and changed API methods.
What I would hope is possible it to scan the PHP code of the linked library and detect all the methods and their arguments automatically, so that we can use a plugin deriver that builds the action plugins on the fly.
- 🇦🇺Australia VladimirAus Brisbane, Australia
As in scanning all library APIs and trying to call each available method on the fly?
Does ECA have something already that can understand different parameters? - 🇩🇪Germany jurgenhaas Gottmadingen
That's not ECA supposed to be doing that job. It's the action plugin system from Drupal core combined with a
Deriver
who should be providing an action plugin for each API method. The question of how to do that is what my initial post was about. I want to believe that PHP Reflections should be able to help us with that. - Assigned to jurgenhaas
- 🇩🇪Germany jurgenhaas Gottmadingen
I've started implementing this and all API methods are already available with their config forms. Just the execution of the methods needs to be done next.
- Status changed to Fixed
10 months ago 8:56am 20 June 2024 - 🇩🇪Germany jurgenhaas Gottmadingen
This is now fully implemented, and we now have access to ALL API calls in GitLab through ECA. This is available in a sub-module and can be enabled if ECA is also installed.
This provides 384 new action plugins!!!
Automatically closed - issue fixed for 2 weeks with no activity.