Skip to content

SCRUM-4817 put Model entities into ES #1311

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

Open
wants to merge 2 commits into
base: stage
Choose a base branch
from
Open

SCRUM-4817 put Model entities into ES #1311

wants to merge 2 commits into from

Conversation

cmpich
Copy link
Contributor

@cmpich cmpich commented Apr 25, 2025

No description provided.

@cmpich cmpich requested a review from a team as a code owner April 25, 2025 12:10
@@ -95,7 +95,7 @@ public void progressProcess(String data, long amount) {

double percent = 0;
if (totalSize > 0) {
percent = sizeCounter.get() / totalSize;
percent = ((double) sizeCounter.get() / (double) totalSize);

Choose a reason for hiding this comment

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

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.UnnecessaryParenthesesCheck> reported by reviewdog 🐶
Unnecessary parentheses around assignment right-hand side.

@DefaultValue("0") @QueryParam("page") Integer page,
@DefaultValue("10") @QueryParam("limit") Integer limit,
HashMap<String, Object> params);
}
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be removed and we use the one in curation.

public SearchResponse<AffectedGenomicModelDocument> getModelDocument(String modelId) {
HashMap<String, Object> params = new HashMap<>();
params.put("primaryExternalId", modelId);
return modelApi.findForPublic(0, 1, params);
Copy link
Member

Choose a reason for hiding this comment

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

Should we we pulling these in batches from curation. As one at time I would think is going to be slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants