Skip to content

[REFACTOR] Centralize custom health indicators under HealthModule #244

@aniebietafia

Description

@aniebietafia

Problem

Custom Actuator health indicators live inside their respective feature packages:

  • brokers/kafka/health/KafkaHealthIndicator.java
  • googlevision/health/GoogleVisionHealthIndicator.java

This scatters monitoring logic across different packages.

Proposed Solution

Consolidate all custom health indicators under a single package com.xtraction.api.shared.health under shared/.

User Stories

  • As an SRE, I want monitoring and health check logic located in a single package namespace.

Acceptance Criteria

  • Custom health indicator classes are relocated.
  • The /actuator/health endpoint correctly aggregates and displays health check results.

Tasks

  • Relocate health indicator classes.
  • Update import statements.
  • Query the Actuator health endpoint to verify integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apienhancementBuild on top of an already existing feature to mke it better.ocr

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions