Skip to content

Revisit API error cases #122

@wwerner

Description

@wwerner

We're still experiencing intermittend hanging requests.
To approach this in a structured kind of way, I suggest writing a dedicated negative test suite for

  • Trying to access non-existing resources (see also Accessing non-existing resources just hangs #96) -> 404
    • Organization
    • Unit
    • Context
    • Schema
    • Schema Version (by /organization and /version/<reference>)
    • Sources
  • Syntactically invalid specifications (by POST, PATCH, PUT) -> 400
  • Lifecycle state changes to invalid states -> 400
  • Incomplete entities (by POST, PATCH, PUT) -> 400
    • Organization
    • Unit
    • Context
    • Schema
    • Schema Version (by /organization and /version/<reference>)
  • Invalid schema version updates
    • Conflicting previous and current versions (gaps, same version, version no decreases) -> 409
    • Incompatible specifciations in compatible version update (for patch and minor updates) -> 409

Metadata

Metadata

Assignees

No one assigned

    Labels

    P:1Highest Priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions