-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user, I want to receive a XML response that contains the PDS4 label metadata in XML format (application/vnd.nasa.pds.pds4+xml) #440
Comments
This ticket is not closed after pull request NASA-PDS/registry-api-service#90 |
Oh, I think I understand. I turned application/pds4+xml and application/xml back "on" such that they go through the translation mechanisms. They fail for reasons I do not fully understand when building the XML, which is to say the results are retrieved from ES then fails to be remapped to XML. They both seem to fail for similar reasons. Should probably just fix both at the same time. Something about the converter resolution and null type failure:
|
Same process question: with the PR merged, should this ticket still be open? |
💪 Motivation
...so that I can get the original label from the API
📖 Additional Details
We need to reimplement the 'application/pds4+xml' MVC implementation on top of the PDS4Product object (instead of previously on top of the default Product object)
⚖️ Acceptance Criteria
Given a valid lidvid in the registry
When I perform curl -X GET http://{base_url}/products/{lidvid} --header Accept: application/pds+xml
Then I expect to get the original PDS4 XML label for the lidvid
When I perform curl -X GET http://{base_url}/products --header Accept: application/pds+xml
Then I expect to get the search result with original PDS4 XML labels
⚙️ Engineering Details
The text was updated successfully, but these errors were encountered: