Logo: Relish

  1. Sign in

Project: Document-retrieval-api

Return the metadata of legacy documents

  • @document_metadata
Scenarios
Return the metadata of a legacy document stored in the file directory
Given
metadata details of a file directory document
When
the metadata for document "9863756" is requested
Then
the correct metadata is returned
And
the metadata contains the correct file directory path
Return the metadata of an EDRS legacy document stored in the database
Given
metadata details of a database document
When
the metadata for document "4136" is requested
Then
the correct metadata is returned
Return the metadata of a legacy E-Document stored in the database
Given
metadata details of a database e-document
When
the metadata for e-document "5294" is requested
Then
the correct metadata is returned
Return the correct error details for a non-existent document
Given
the unique identifier of the legacy document is "12345"
When
the metadata for the document is requested
Then
the correct metadata not found error message is returned
Return a file deleted message for a deleted legacy document
Given
the unique identifier of the legacy document is "777"
When
the metadata for the document is requested
Then
the correct file deleted message is returned
Return an invalid id format message for an invalid document id
Given
the unique identifier of the legacy document is "xa1234x"
When
the metadata for the document is requested
Then
the correct invalid id format message is returned

Last published over 4 years ago by Matthew Thomas.