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

#303: Get flow checkpoints refactoring #304

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

Conversation

salamonpavel
Copy link
Collaborator

@salamonpavel salamonpavel commented Nov 21, 2024

Refactoring of get flow checkpoints endpoint. It newly returns also partitioning data and is sorted in descending order by checkpoint start time.
Closes #303

Release notes:

  • Get flow checkpoints endpoint refactored to reverse the order of data returned and to include partitioning data.

@salamonpavel
Copy link
Collaborator Author

Release notes:

  • Get flow checkpoints endpoint refactored to reverse the order of data returned and to include partitioning data.

Copy link

github-actions bot commented Nov 21, 2024

JaCoCo model module code coverage report - scala 2.13.11

Overall Project 59.69% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Nov 21, 2024

JaCoCo agent module code coverage report - scala 2.13.11

Overall Project 78.49% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Nov 21, 2024

JaCoCo reader module code coverage report - scala 2.13.11

Overall Project 100% 🍏

There is no coverage information present for the Files changed

Copy link

github-actions bot commented Nov 21, 2024

JaCoCo server module code coverage report - scala 2.13.11

Overall Project 68.39% -12.8% 🍏
Files changed 60.68%

File Coverage
FlowRepositoryImpl.scala 100% 🍏
FlowServiceImpl.scala 100% 🍏
FlowControllerImpl.scala 100% 🍏
CheckpointItemWithPartitioningFromDB.scala 69.04%
GetFlowCheckpoints.scala 53.28% -58.32%

@salamonpavel salamonpavel marked this pull request as ready for review November 21, 2024 10:57
@benedeki benedeki changed the title Feature/303 get flow checkpoints refactoring #303: Get flow checkpoints refactoring Nov 22, 2024
database/README.md Outdated Show resolved Hide resolved

object CheckpointItemWithPartitioningFromDB {

private def fromItemsToCheckpointWithPartitioningDTO(
Copy link
Contributor

Choose a reason for hiding this comment

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

Name suggestion:
Wouldn't be def groupCheckpoint be easier to understand?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't know. Naming is difficult...

Copy link
Contributor

Choose a reason for hiding this comment

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

That's true 😄

Copy link
Contributor

@benedeki benedeki left a comment

Choose a reason for hiding this comment

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

  • code reviewed
  • pulled
  • built
  • run

Copy link

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

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.

GetFlowCheckpoints refactoring
3 participants