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

Add GWLF-E Endpoint to Geoprocessing API #3483

Merged
merged 5 commits into from
Feb 23, 2022

Commits on Feb 18, 2022

  1. Standardize job statuses

    We've been using string values for a long time, which have
    thankfully not diverged. By wrapping them in constants we
    ensure their standard use throughout.
    rajadain committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    9368acd View commit details
    Browse the repository at this point in the history
  2. Add custom exceptions for two-step endpoints

    For modeling, sometimes an endpoint depends on the output of
    a preceding preparatory action. To handle cases when a gwlf-e/run
    is given a job that is not ready yet, or has failed, we add
    errors. They use the precondition required and precondition failed
    HTTP status codes.
    rajadain committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    1760f10 View commit details
    Browse the repository at this point in the history
  3. Add public GWLF-E Endpoint at gwlf-e/run

    This takes the output of gwlf-e/prepare and runs it.
    If the prepare job is not ready or has failed, returns an
    error.
    
    This endpoint is based on the internal start_gwlfe endpoint.
    Currently, it does not handle modifications. These will be
    added at a later date.
    rajadain committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    85168da View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

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

Commits on Feb 23, 2022

  1. Re-enable tests

    These are passing now.
    rajadain committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    b93cfbc View commit details
    Browse the repository at this point in the history