Skip to content
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

[AIRFLOW-3632] Allow replace_microseconds in trigger_dag REST request #6380

Merged
merged 5 commits into from
Nov 20, 2019

Commits on Nov 18, 2019

  1. [AIRFLOW-3632] Add replace_microseconds to trigger_dag endpoint

    Enable the caller of the trigger_dag API endpoint to specify a
    boolean value for replace_microseconds.  When false, this will
    store microseconds in the database for the execution_id, thus allowing
    more than 1 request per second to be processed by the REST API
    Austin Roos committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    d068ee6 View commit details
    Browse the repository at this point in the history
  2. [AIRFLOW-3632] Only replace microseconds if execution_date is None

    No need to require a user to pass in replace_microseconds to the
    request body; instead we should use exactly the date that is given.
    We will still replace the microseconds on execution_date if none is
    passed in (and the param is True, which is the default)
    Austin Roos committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    5b013d9 View commit details
    Browse the repository at this point in the history
  3. [AIRFLOW-3632] Re-allow replacing microseconds with execution_date

    A user can now choose to pass the execution_date in but still have
    the microseconds replaced by also sending replace_microseconds=true
    in the request body
    Austin Roos committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    9a94611 View commit details
    Browse the repository at this point in the history
  4. [AIRFLOW-3632] Test _almost_ all scenarios with microsecond replacing

    The only way that replace_microseconds should be accessible
    is through the endpoints, so leave the testing there
    Austin Roos committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    39da647 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Configuration menu
    Copy the full SHA
    1d6766e View commit details
    Browse the repository at this point in the history