-
Notifications
You must be signed in to change notification settings - Fork 507
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
Refactor sort/search/pagination for ClinicalData table endpoint #10407
Conversation
0009e1e
to
2a73c03
Compare
2a73c03
to
20d4347
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs 0.0% Coverage 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. |
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.
LGTM, just added some comments about the new model created
model/src/main/java/org/cbioportal/model/SampleClinicalDataCollection.java
Outdated
Show resolved
Hide resolved
service/src/main/java/org/cbioportal/service/ClinicalDataService.java
Outdated
Show resolved
Hide resolved
...-mybatis/src/test/java/org/cbioportal/persistence/mybatis/util/PaginationCalculatorTest.java
Outdated
Show resolved
Hide resolved
@pvannierop Could you link the related frontend pr and rebase this pr? Thanks! |
20d4347
to
2a35baa
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs 0.0% Coverage The version of Java (11.0.21) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
I have addressed your remarks. The branch has been rebased. I could not reference the frontend PR because @alisman still has to make this. |
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.
@pvannierop Thanks for addressing my comments! It looks good to me. I guess we just need to wait for two more things:
- wait for @alisman make the frontend pr
- wait for RFC72 (spring-boot refactoring)
Then we can merge this one.
model/src/main/java/org/cbioportal/model/ClinicalDataTableResult.java
Outdated
Show resolved
Hide resolved
2a35baa
to
dbe55af
Compare
dbe55af
to
a19c568
Compare
a19c568
to
bff1453
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 6 New issues |
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.
A couple of issues to address mentioned here.
I would also look at SonarCube Analysis for other minor issues after you resolve the conflicts.
src/main/java/org/cbioportal/persistence/mybatis/util/PaginationCalculator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/cbioportal/service/impl/ClinicalDataServiceImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/org/cbioportal/service/impl/ClinicalDataServiceImpl.java
Outdated
Show resolved
Hide resolved
bff1453
to
9eeda41
Compare
src/main/java/org/cbioportal/persistence/mybatis/util/PaginationCalculator.java
Outdated
Show resolved
Hide resolved
src/test/java/org/cbioportal/persistence/util/fakeclient/MockInMemoryRedissonClient.java
Show resolved
Hide resolved
bc712a9
to
6ee609d
Compare
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.
lgtm
src/main/java/org/cbioportal/persistence/mybatis/util/PaginationCalculator.java
Show resolved
Hide resolved
src/main/java/org/cbioportal/persistence/mybatis/StudyMyBatisRepository.java
Show resolved
Hide resolved
src/main/java/org/cbioportal/service/impl/ClinicalDataServiceImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/org/cbioportal/model/SampleClinicalDataCollection.java
Outdated
Show resolved
Hide resolved
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.
lgtm
7c3e6a0
to
0726e4c
Compare
Quality Gate passedIssues Measures |
Background
Solution
Remarks