Skip to content

refactor: [#508] extract health check methods

Codecov / codecov/patch failed Nov 24, 2023 in 1s

56.32% of diff hit (target 84.28%)

View this Pull Request on Codecov

56.32% of diff hit (target 84.28%)

Annotations

Check warning on line 94 in src/app.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app.rs#L94

Added line #L94 was not covered by tests

Check warning on line 34 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L34

Added line #L34 was not covered by tests

Check warning on line 36 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L36

Added line #L36 was not covered by tests

Check warning on line 50 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L49-L50

Added lines #L49 - L50 were not covered by tests

Check warning on line 54 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L54

Added line #L54 was not covered by tests

Check warning on line 56 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L56

Added line #L56 was not covered by tests

Check warning on line 60 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 62 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L62

Added line #L62 was not covered by tests

Check warning on line 65 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 67 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L67

Added line #L67 was not covered by tests

Check warning on line 72 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L70-L72

Added lines #L70 - L72 were not covered by tests

Check warning on line 76 in src/bootstrap/jobs/health_check_api.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/bootstrap/jobs/health_check_api.rs#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 186 in src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lib.rs#L185-L186

Added lines #L185 - L186 were not covered by tests

Check warning on line 13 in src/servers/apis/v1/context/health_check/resources.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/apis/v1/context/health_check/resources.rs#L13

Added line #L13 was not covered by tests

Check warning on line 25 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L25

Added line #L25 was not covered by tests

Check warning on line 29 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L29

Added line #L29 was not covered by tests

Check warning on line 33 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L33

Added line #L33 was not covered by tests

Check warning on line 45 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L45

Added line #L45 was not covered by tests

Check warning on line 48 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 51 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L50-L51

Added lines #L50 - L51 were not covered by tests

Check warning on line 53 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L53

Added line #L53 was not covered by tests

Check warning on line 55 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L55

Added line #L55 was not covered by tests

Check warning on line 71 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L71

Added line #L71 was not covered by tests

Check warning on line 74 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L74

Added line #L74 was not covered by tests

Check warning on line 77 in src/servers/health_check_api/handlers.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/servers/health_check_api/handlers.rs#L76-L77

Added lines #L76 - L77 were not covered by tests