jens-scheffler-bosch opened a new pull request, #33051:
URL: https://github.com/apache/airflow/pull/33051

   This PR makes the ground-work to a follow-up PR #33017
   
   I realized that the providers-manager is implemented inconsistently and 
treats core hooks other than provider contributed hooks. Core hooks are not 
providing extended web UI fields (feature is ignored) as well as the list of 
provided generic hooks is redundant in CLI and UI code.
   
   This PR cleans this up and:
   
   - Treats Airflow core hooks like provider hooks in terms on loading and 
initialization
   - Implements UI feature for FileSystem hook (so that a user does not need to 
provide JSON dict)
   - Removed redundant hard-coded lists from CLI and UI code
   
   Point of discussion would be if we still should further carry the generic 
hook type "Mesos Framework ID" which seems to be a legacy leftover from Airflow 
1.x. This was a former executor type but the code is gone completely since 
Airflow 2.0 and besides the traces in code I could find no reference. I assume 
nobody is using this anymore.
   
   How to test:
   
   - Pipeline green obviously
   - Open the Web UI connections form and see that "File (Path)" connection 
type now has a proper form


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to