Skip to content

Deduplicate identical HealthCheckResource across backend services #5976

Description

@Ma77Ball

Task Summary

Six backend services (access-control, config, file, computing-unit-managing, workflow-compiling, notebook-migration) each define a byte-for-byte identical HealthCheckResource in package org.apache.texera.service.resource. This consolidates them into a single shared copy in the common/auth module (which all six already depend on), keeping the same fully-qualified class name so every existing import, Jersey registration, and test spec continues to work without call-site changes. Net removal of ~160 lines of duplicated code. Note: amber's org.apache.texera.web.resource.HealthCheckResource is intentionally left out of scope, as it uses the older javax.ws.rs namespace and lacks @PermitAll.

Task Type

  • Refactor

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions