Skip to content

Commit

Permalink
fix(service): enable health-check for servicebus (#1338)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #292 

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Enhanced health check reporting to focus on dependency tracking.
- Optimized caching strategies for improved performance and reliability.
- Updated configuration for HTTP clients to improve error handling and
service integration.

- **Bug Fixes**
- Adjusted health check options and caching parameters to ensure
accurate functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
arealmaas authored Oct 23, 2024
1 parent 9574176 commit 480f5e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ internal static void AddPubSubCapabilities(InfrastructureBuilderContext builderC
return;
}

// x.ConfigureHealthCheckOptions(options => options.Tags.Add("self"));
x.ConfigureHealthCheckOptions(options => options.Tags.Add("dependencies"));
x.AddConfigureEndpointsCallback((_, cfg) =>
{
if (cfg is IServiceBusReceiveEndpointConfigurator sb)
Expand Down

0 comments on commit 480f5e3

Please sign in to comment.