NCIOCPL / clinical-trials-listing-api

API for Clinical Trial (Dynamic) Listing Pages
2 stars 2 forks source link

Implement the ListingInformationController GetByPrettyUrlName method #4

Closed blairlearn closed 3 years ago

blairlearn commented 3 years ago

As an application developer, I want to retrieve override documents by their pretty url name, so that end users don't have to work with concept IDs.

ESTIMATE TBD

Acceptance Criteria

Scenario: Get specific override records which exist
  Given path '/override-name', prettyUrl
  When method get
  Then  status 200
    And math response == read( expected )

Examples:
   | prettyUrl              | expected                            |
   | recurrent-adult-brain  | success-recurrent-adult-brain.json  |
   | childhood-brain-cancer | success-childhood-brain-cancer.json |

Scenario: Verify handling of record which does not exist
  Given path '/override-name', '/turkey-duck-chicken-turducken'
  When method get
  Then  status 404

Resources:

Notes


Solution

Prerequisites

Tasks

Technical Notes

blairlearn commented 3 years ago

Obsoleted by design changes.