Skip to content
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

Remove blob #513

Merged
merged 8 commits into from
Jul 24, 2024
Merged

Remove blob #513

merged 8 commits into from
Jul 24, 2024

Conversation

tloubrieu-jpl
Copy link
Member

@tloubrieu-jpl tloubrieu-jpl commented Jul 24, 2024

🗒️ Summary

Removes the blob from the application/json and kvp responses.

⚙️ Test Data and/or Report

Test with postman, see PR : NASA-PDS/registry#301

♻️ Related Issues

Fixes #497
Fixes #514

terraform/ecs.tf Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were these changes an intentional part of this PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are also part of another PR #482 which was not approved/merged. SoI embedded it here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were these changes an intentional part of this PR?

Comment on lines 111 to 117
log.debug("Excluded fields are " + excluded_fields);
for (Map.Entry<String, Object> entry : sourceAsMap.entrySet()) {
try {
apiProperty = SearchUtil.openPropertyToJsonProperty(entry.getKey());
if ((excluded_fields == null) || !excluded_fields.contains(apiProperty))
log.debug("see if property " + apiProperty + "should be added");
if ((excluded_fields == null) || !excluded_fields.contains(apiProperty)) {
log.debug("confirmed, the property is being added");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these lines intended to remain in the codebase, or were they temporary dev logs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right temporary logs. I can remove them.

Copy link
Contributor

@alexdunnjpl alexdunnjpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with some questions (see comments)

@tloubrieu-jpl tloubrieu-jpl merged commit d2a2895 into develop Jul 24, 2024
1 check failed
@tloubrieu-jpl tloubrieu-jpl deleted the remove_blob branch July 24, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants