@@ -3,6 +3,8 @@ import { HealthCheck, HealthCheckService } from '@nestjs/terminus'
33import { ArgoCDHealthService } from '../../../modules/argocd/argocd-health.service'
44import { GitlabHealthService } from '../../../modules/gitlab/gitlab-health.service'
55import { KeycloakHealthService } from '../../../modules/keycloak/keycloak-health.service'
6+ import { NexusHealthService } from '../../../modules/nexus/nexus-health.service'
7+ import { RegistryHealthService } from '../../../modules/registry/registry-health.service'
68import { VaultHealthService } from '../../../modules/vault/vault-health.service'
79import { DatabaseHealthService } from '../database/database-health.service'
810
@@ -14,6 +16,8 @@ export class HealthController {
1416 @Inject ( KeycloakHealthService ) private readonly keycloak : KeycloakHealthService ,
1517 @Inject ( GitlabHealthService ) private readonly gitlab : GitlabHealthService ,
1618 @Inject ( VaultHealthService ) private readonly vault : VaultHealthService ,
19+ @Inject ( NexusHealthService ) private readonly nexus : NexusHealthService ,
20+ @Inject ( RegistryHealthService ) private readonly registry : RegistryHealthService ,
1721 @Inject ( ArgoCDHealthService ) private readonly argocd : ArgoCDHealthService ,
1822 ) { }
1923
@@ -25,6 +29,8 @@ export class HealthController {
2529 ( ) => this . keycloak . check ( 'keycloak' ) ,
2630 ( ) => this . gitlab . check ( 'gitlab' ) ,
2731 ( ) => this . vault . check ( 'vault' ) ,
32+ ( ) => this . nexus . check ( 'nexus' ) ,
33+ ( ) => this . registry . check ( 'registry' ) ,
2834 ( ) => this . argocd . check ( 'argocd' ) ,
2935 ] )
3036 }
0 commit comments