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

[ALS-4774] Add requester email to query request #177

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

Luke-Sikina
Copy link
Member

No description provided.

@Luke-Sikina Luke-Sikina added the enhancement New feature or request label Jan 16, 2024
@Luke-Sikina Luke-Sikina changed the title Requester email [ALS-4774] Add requester email to query request Jan 16, 2024
Comment on lines -295 to -298
// we don't want the user to see the common area ID for now, but this could be useful later
// for editing the query
response.getResultMetadata().put("commonAreaId", queryEntity.getUuid().toString());

Copy link
Member Author

@Luke-Sikina Luke-Sikina Jan 16, 2024

Choose a reason for hiding this comment

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

Non formatting change

metaData.put("commonAreaUUID", gicRequest.getCommonAreaUUID());
metaData.put("site", gicRequest.getInstitutionOfOrigin());
metaData.put("sharingStatus", DataSharingStatus.Unknown);
metaData.put("requesterEmail", gicRequest.getRequesterEmail());
Copy link
Member Author

Choose a reason for hiding this comment

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

Non formatting change

Comment on lines +307 to +309
if (response.getResultMetadata() == null) {
response.setResultMetadata(new HashMap<>());
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Non formatting change

- Add field to federated query
- Add it in agg search resource
- Also add some documentation about code formatting
@Luke-Sikina Luke-Sikina merged commit 6de3f3b into release Jan 17, 2024
3 checks passed
@Luke-Sikina Luke-Sikina deleted the requester-email branch January 17, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants