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

Improve Generic Assay Meta performance #10386

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

Conversation

dippindots
Copy link
Member

@dippindots dippindots commented Sep 14, 2023

Partial Fix cBioPortal/icebox#570

Describe changes proposed in this pull request:

  • Adding a new repository function: getGenericAssayAdditionalpropertiesByMolecularProfileId, this function will reduce the ids in the SQL query and in some cases (query that requires too much data), this can avoid the database crash because there are too many ids in the query.
  • getGenericAssayAdditionalpropertiesByMolecularProfileId is also been cached in the static cache, this will improve the fetching speed too
  • Adding unit tests for generic essay service

@JREastonMarks
Copy link
Contributor

Overall this looks good and about ready to merge. I think fixing the failing test is all that is needed.

@dippindots
Copy link
Member Author

@JREastonMarks Thanks for the review, didn't notice the test is failing here. Will address the failing test and update soon.

@sonarcloud
Copy link

sonarcloud bot commented Sep 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@JREastonMarks
Copy link
Contributor

Hi @dippindots,
Did you want to rebase this off of master since we have updated it to 6.0.0? I will be glad to help.

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

Successfully merging this pull request may close these issues.

Make Generic Assay Meta endpoints faster
2 participants