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

feat(): Added JDBC heartbeat #2081

Merged
merged 15 commits into from
Sep 28, 2023
Merged

feat(): Added JDBC heartbeat #2081

merged 15 commits into from
Sep 28, 2023

Conversation

Skraye
Copy link
Member

@Skraye Skraye commented Sep 11, 2023

close #2055

@Skraye Skraye requested a review from loicmathieu September 11, 2023 12:37
@Skraye Skraye self-assigned this Sep 11, 2023
Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

There is a log of business rules inside the repository, I wonder if it should not be moved to the caller as a repository should only take care of accessing the data.

@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch 3 times, most recently from 748de53 to 8e9caeb Compare September 18, 2023 09:49
@Skraye
Copy link
Member Author

Skraye commented Sep 18, 2023

Still need to write tests, but will do it after the logic is validated.

Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

I didn't add time to review everything but here are a first batch of feedbacks.

As a side note, I would have prefer to have the PR split in two heartbeat and resubmit it would have been easier to reason about.

@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch 3 times, most recently from 2a3d294 to a1f8ec5 Compare September 26, 2023 08:22
@Skraye Skraye marked this pull request as ready for review September 26, 2023 08:37
@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch 2 times, most recently from 9d7b607 to 251187a Compare September 26, 2023 12:56
@tchiotludo tchiotludo force-pushed the feat/jdbc-heartbeat branch 4 times, most recently from c423c91 to e0af053 Compare September 27, 2023 09:35
@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch 3 times, most recently from eaceb06 to 5f8c24a Compare September 27, 2023 14:20
@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch from 5f8c24a to d475142 Compare September 27, 2023 14:24
Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

LGTM

@loicmathieu
Copy link
Member

See #2201 for some followup on the implementation

@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch from d169037 to a70f840 Compare September 27, 2023 16:17
@Skraye Skraye force-pushed the feat/jdbc-heartbeat branch from 64ee18a to f3e8f61 Compare September 28, 2023 09:02
Copy link
Member

@loicmathieu loicmathieu left a comment

Choose a reason for hiding this comment

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

Some minor feedback but overall LGTM

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 16 Code Smells

72.2% 72.2% Coverage
2.3% 2.3% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@tchiotludo tchiotludo merged commit c9e6145 into develop Sep 28, 2023
@tchiotludo tchiotludo deleted the feat/jdbc-heartbeat branch September 28, 2023 12:36
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.

Zombie Worker Task Detection & Automatic Resubmission
3 participants