mhenc opened a new pull request, #27892:
URL: https://github.com/apache/airflow/pull/27892

   Introduce Internal API as part of the webserver (standalone version in a 
follow-up). Introduce a single  JSON-RPC endpoint /internal/v1/rpcapi there 
with  3 params "jsonrpc", "method_name" and "params".
   
   Add a decorator for making calls to the Internal API. When method is 
decorated it is executed in one of two modes, depending on configuration
    - [core]database_access_isolation=False -  run method locally, as before
    - [core]database_access_isolation=True - make RPC call to Internal API. The 
method must be first registered one the Internal API server-side.
   
   All communication is serialized as JSON using BaseSerialization from Airflow.
   
   Also decorate first function DagFileProcessor.update_import_errors with 
@internal_api_call decorator
   


-- 
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