-
Notifications
You must be signed in to change notification settings - Fork 180
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
[2.26.x] Adds Gmd QueryResponseTransformer #6781
Conversation
build now |
Internal build has been started, your results will be available at build completion. |
@Override | ||
public BinaryContent transform(SourceResponse sourceResponse, Map<String, Serializable> map) | ||
throws CatalogTransformerException { | ||
if (sourceResponse.getResults() != null && sourceResponse.getResults().size() == 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the GMD Schema itself doesn't appear to support multiple metadata records in a single doc, but a possible improvement here would be to create a zip of all the results in the GMD XML format.
Deployed these changes in a downstream project and now able to export a single metacard in gmd:MD_Metadata format |
Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI. |
This reverts commit c879577.
This reverts commit c879577.
Forward Ports Provide better transform failure message 390db3f #6771 DDF-6386 Add support for source id and metacard type for csv metacard transforms 367e426 #6387 Adds Gmd QueryResponseTransformer 89877a4 #6781 Use UTC dates when exporting metacards in CSV format 27ed601 #6501 Fix CSV transformer output when no columnOrder given fef3cb1 #6653 Updated the CsvTransformer to remove attributes that have empty or null fbb2b4d #6738 Xlsx column filtering 0335485 #6747 updated RTF transformer formatting and now omits null attributes from 64f8e5d #6744 fix npe in rtf 41fe113 #6750 Updated CSV and XLSX transformers to maintain the order specified in the columnOrder argument 506791d #6757 Dynamic rtf 83bcf56 #6762 Fix multi-value exports for RTF dd7bc91 #6767 --------- Co-authored-by: derekwilhelm <[email protected]>
What does this PR do?
Adds a QueryResponseTransformer implementation for GMD format.
Who is reviewing it?
@derekwilhelm
@birda
How should this be tested?
Any background context you want to provide?
What are the relevant tickets?
Fixes: #____
Screenshots
Checklist:
Notes on Review Process
Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.
Review Comment Legend: