-
Notifications
You must be signed in to change notification settings - Fork 1
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
#305 Get-Ancestors-Server Functionality #312
base: master
Are you sure you want to change the base?
Conversation
1. Made the necessary changes as mentioned by the team. 3. Made the necessary changes to the getAncestors Database functionality.
1. Made the necessary changes as mentioned by the team. 3. Made the necessary changes to the getAncestors Server functionality.
JaCoCo model module code coverage report - scala 2.13.11
|
JaCoCo agent module code coverage report - scala 2.13.11
|
JaCoCo reader module code coverage report - scala 2.13.11
|
JaCoCo server module code coverage report - scala 2.13.11
|
@@ -0,0 +1,121 @@ | |||
/* |
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.
I guess this shouldn't even be part of this PR as there is #311
|
||
object GetAncestorsResult { | ||
|
||
@tailrec def resultsToPartitioningWithIdDTOs( |
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.
The very same code already exists in GetFlowPartitioning, maybe we could introduce some abstraction and reuse it here.
@@ -40,6 +40,8 @@ object ApiPaths { | |||
final val Flows = "flows" | |||
final val Measures = "measures" | |||
final val MainFlow = "main-flow" | |||
final val Ancestors = "ancestors" | |||
final val Parents = "parents" |
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.
not used
PartitioningController.getAncestors(partitioningId, limit, offset) | ||
} | ||
), | ||
// createServerEndpoint[ |
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.
Not part of this PR (the commented-out code). This goes for multiple places. You can remove all the code unrelated to this PR I think...
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.
Please clean up this PR. It cannot contain unrelated code. You should introduce only code related to the server's part of get ancestor operation if that's what this PR is intended for.
Added the getAncestors Functionality for the Server Portion