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

api: add endpoint for workflow status #46

Merged
merged 3 commits into from
Nov 7, 2017

Commits on Nov 6, 2017

  1. api: add endpoint for workflow status

    * add endpoint for getting status of a workflow
      (addresses reanahub/reana-client#39)
    
    Signed-off-by: Harri Hirvonsalo <harri.hirvonsalo@cern.ch>
    hjhsalo authored and Diego Rodriguez committed Nov 6, 2017
    Configuration menu
    Copy the full SHA
    a1610d2 View commit details
    Browse the repository at this point in the history
  2. tests: add test for getting status endpoint

    Signed-off-by: Diego Rodriguez <diego.rodriguez@cern.ch>
    Diego Rodriguez committed Nov 6, 2017
    Configuration menu
    Copy the full SHA
    12e1047 View commit details
    Browse the repository at this point in the history
  3. api: getting status endpoint refactoring

    * Refactors REST endpoint for getting workflow status (`/api/workflows/:uuid/status`) to simplify
      the code logic and to speed up command execution.
    
    * Adds additional tests for a situation with unknown workflow and for an unauthorised access.
    
    Signed-off-by: Diego Rodriguez <diego.rodriguez@cern.ch>
    Diego Rodriguez committed Nov 6, 2017
    Configuration menu
    Copy the full SHA
    ff82e7b View commit details
    Browse the repository at this point in the history