Skip to content

MORPH-7518: Add Appliance Health DataService API#132

Open
MrClement wants to merge 6 commits intov1.4.xfrom
MORPH-7518-appliance-health-dataservice
Open

MORPH-7518: Add Appliance Health DataService API#132
MrClement wants to merge 6 commits intov1.4.xfrom
MORPH-7518-appliance-health-dataservice

Conversation

@MrClement
Copy link
Copy Markdown
Contributor

@MrClement MrClement commented Mar 9, 2026

MORPH-7518: Add Appliance Health DataService API

Adds MorpheusApplianceHealthService to the plugin API, providing access to appliance health statistics mirroring the /api/health endpoint.

Changes

  • Add MorpheusApplianceHealthService and MorpheusSynchronousApplianceHealthService interfaces with getHealth() and getLiveHealth() methods
  • Add ApplianceHealth model and 15 supporting sub-models (cpu, memory, storage, threads, database, rabbit, elastic stats)
  • Add toString() methods to all health models
  • Wire getHealth() into MorpheusAdminService and MorpheusSynchronousAdminService
  • Expand ApplianceHealthSpec with toString tests and model coverage

Related PR

Morpheus UI implementation: https://github.com/HPE-EMU/morpheus-ui/pull/3294

MrClement and others added 6 commits March 3, 2026 15:30
- Add MorpheusApplianceHealthService (async) and MorpheusSynchronousApplianceHealthService (sync) interfaces
- Add ApplianceHealth and 15 typed sub-model POJOs in com.morpheusdata.model.health package
- Wire getHealth() into MorpheusAdminService and MorpheusSynchronousAdminService
- Add ApplianceHealthSpec tests (5 passing)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… test coverage

- Add toString() to all 16 ApplianceHealth model classes
- Expand ApplianceHealthSpec with toString tests for all models

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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