NCIOCPL / clinical-trials-listing-api

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

Implement the EvsNameController GetByPrettyUrlName method #7

Closed blairlearn closed 3 years ago

blairlearn commented 3 years ago

As an application developer, I want to retrieve evs 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 evs records which exist
  Given path '/evs-name', prettyUrl
  When method get
  Then  status 200
    And math response == read( expected )

Examples:
   | prettyUrl                | expected                      |
   | soft-tissue-sarcoma      | soft-tissue-sarcoma.json      |
   | recurrent-brain-neoplasm | recurrent-brain-neoplasm.json |

Scenario: Verify handling of record which does not exist
  Given path '/evs-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.