You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Michal Brys (Jira)" <ji...@apache.org> on 2019/08/21 13:44:00 UTC

[jira] [Created] (AIRFLOW-5275) Add support for template parameters in DataprocWorkflowTemplateInstantiateOperator

Michal Brys created AIRFLOW-5275:
------------------------------------

             Summary: Add support for template parameters in DataprocWorkflowTemplateInstantiateOperator
                 Key: AIRFLOW-5275
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5275
             Project: Apache Airflow
          Issue Type: Improvement
          Components: operators
    Affects Versions: 1.10.4
            Reporter: Michal Brys
            Assignee: Michal Brys


Implement passing parameter values when instantiating parametrized Dataproc workflow templates. While Dataproc API supports it ([https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.locations.workflowTemplates/instantiate]) it's not implemented in DataprocWorkflowTemplateInstantiateOperator yet.

 

The implementation plan is to add a map of parameters to request body:
{code:java}
body={
      'requestId': str(uuid.uuid4()),
      'parameters': parameters
}
{code}
in [https://github.com/apache/airflow/blob/master/airflow/contrib/operators/dataproc_operator.py]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)