Skip to content

Remove CE health check from the indicator#745

Merged
yinan-symphony merged 1 commit intofinos:mainfrom
yinan-symphony:task/health-ce
Feb 23, 2023
Merged

Remove CE health check from the indicator#745
yinan-symphony merged 1 commit intofinos:mainfrom
yinan-symphony:task/health-ce

Conversation

@yinan-symphony
Copy link
Copy Markdown
Contributor

@yinan-symphony yinan-symphony commented Feb 23, 2023

CE health status is optional, should not impact the BDK bot global health status, remove it from the check list.

Description

Closes #[742]

Please put here the intent of your pull request.

Dependencies

List the other pull requests that should be merged before/along this one.

Checklist

  • Referenced an issue in the PR title or description
  • Filled properly the description and dependencies, if any
  • Unit/Integration tests updated or added
  • Javadoc added or updated
  • Updated the documentation in docs folder

healthIndicator.doHealthCheck(builder);
Health build = builder.build();
assertThat(build.getStatus().getCode()).isEqualTo("WARNING");
assertThat(build.getStatus().getCode()).isEqualTo("UP");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

let's rename this test then

.withDetail(DF, services.get(DF))
.withDetail(KM, services.get(KM))
.withDetail(AGT, users.get(AGT))
.withDetail(CE, users.get(CE))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we hide details about CE too? Maybe we can keep details and only ignore CE in the global status

CE health status is optional, should not impact the BDK bot
global health status, remove it from the check list.
@yinan-symphony yinan-symphony merged commit 8a77411 into finos:main Feb 23, 2023
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