-
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
blob/json_blob should not be included in default response #73
Comments
Using example URL, not finding blob in result:
Double checked and 'ops:Label_File_Info/ops:blob' is in the test data. Maybe already fixed on PR #20 ? |
@al-niessner not sure about the latest version, but I do see
|
Quite possible that I fixed it on PR #20 but it has not made its way to pds-gamma. Thanks. |
closed by mistake |
This problem resulted because the test data set updated to add json_blob but the java software knew anything about it. As part of updating application/pds4+xml to decode ops_blob, made the discovery that there are now two blobs: json_blob and ops_blob. Updated the ignore blob code to ignore both and process the correct one for PDS4 content type. Hence, json_blob no longer shows up with JSON content types. |
π Describe the bug
I've seen the blob in default responses from the API
π To Reproduce
Test with this request for example:
curl --location --request GET 'http://localhost:8080/bundles'
--header 'Accept: application/kvp+json'
π΅οΈ Expected behavior
The blob should not be available in default responses so to improve the performance and not to confuse the users.
π Version of Software Used
Latest on main
The text was updated successfully, but these errors were encountered: