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: add function for check psql connection #10

Merged
merged 32 commits into from
Feb 6, 2024

Conversation

gulivero1773
Copy link
Contributor

Title

Add function for check PostgreSQL connection

Motivation

It merge for fix - #1

Modifications

Add function for get psql health connection from parameters and function for get psql health connection using url. Add protocol for struct

Result

Get health check of PostgreSQL

Copy link

codecov bot commented Feb 1, 2024

Codecov Report

Attention: 57 lines in your changes are missing coverage. Please review.

Comparison is base (2d4dca3) 100.00% compared to head (611be4f) 70.15%.
Report is 1 commits behind head on main.

❗ Current head 611be4f differs from pull request most recent head 0d89dd7. Consider uploading reports for the commit 0d89dd7 to get more accurate results

Files Patch % Lines
...ks/PostgresHealthChecks/PostgresHealthChecks.swift 0.00% 56 Missing ⚠️
...althChecks/Extensions/Application+Extensions.swift 88.88% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              main      #10       +/-   ##
============================================
- Coverage   100.00%   70.15%   -29.85%     
============================================
  Files            3        8        +5     
  Lines           34      191      +157     
============================================
+ Hits            34      134      +100     
- Misses           0       57       +57     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mcmikius mcmikius left a comment

Choose a reason for hiding this comment

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

Add comments

Copy link
Contributor

@mcmikius mcmikius left a comment

Choose a reason for hiding this comment

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

Add comments

Copy link
Contributor

@mcmikius mcmikius left a comment

Choose a reason for hiding this comment

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

Need comments and proposals

@mcmikius mcmikius merged commit 4000843 into main Feb 6, 2024
2 of 4 checks passed
@mcmikius mcmikius deleted the 1-add-check-psql-connection branch February 6, 2024 16:31
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.

2 participants