This PR includes the following proposed change(s):
DF-2071
Added functionality to return a document as base64 encoded string for a given documentId by calling VIPS API through the new documentsDocumentIdCorrelationIdGet endpoint.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Build and ran the 'digitalforms-api' application. Ran Swagger-UI. Sent a request to the GET '/documents' endpoint of the API with valid documentId parameter and confirmed returning base64 encoded string response object successfully.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes
Description
This PR includes the following proposed change(s):
Type of change
if your change is a breaking change, please add
breaking change
label to this PRHow Has This Been Tested?
Build and ran the 'digitalforms-api' application. Ran Swagger-UI. Sent a request to the GET '/documents' endpoint of the API with valid documentId parameter and confirmed returning base64 encoded string response object successfully.
Checklist: