-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: stage
Are you sure you want to change the base?
Conversation
@@ -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); |
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.
🚫 [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); | ||
} |
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.
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); |
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.
Should we we pulling these in batches from curation. As one at time I would think is going to be slow.
No description provided.