Ticket Contents
Description
We need to implement standard /health and /version endpoints across all API repositories to improve observability, maintainability, and deployment traceability.
/health: Should return a minimal response indicating the service is live and healthy. Useful for uptime monitoring, and load balancers.
/version: Should return metadata including the latest Git commit hash and build timestamp.
Goals
Goals
Expected Outcome
- Every API repository has a functional
/health and /version endpoint.
- Endpoints are minimal, fast, and production-safe.
- No disruption to existing routes or CI/CD workflows.
Acceptance Criteria
/health responds with { "status": "UP" } on all services.
/version returns consistent metadata in JSON format.
- GitHub Actions or other CI tools validate the presence of these endpoints.
Implementation Details
- Use existing web framework to expose both endpoints.
- Ensure these endpoints are lightweight, do not require authentication, and are safe to expose in production.
Mockups/Wireframes
No response
Product Name
AMRIT
Organisation Name
Piramal Swasthya Management and Research Institute
Domain
No response
Tech Skills Needed
Spring Boot
Organizational Mentor
@drtechie
Angel Mentor
No response
Complexity
Medium
Category
Configuration, CI/CD, Accessibility
Ticket Contents
Description
We need to implement standard
/healthand/versionendpoints across all API repositories to improve observability, maintainability, and deployment traceability./health: Should return a minimal response indicating the service is live and healthy. Useful for uptime monitoring, and load balancers./version: Should return metadata including the latest Git commit hash and build timestamp.Goals
Goals
Expected Outcome
/healthand/versionendpoint.Acceptance Criteria
/healthresponds with{ "status": "UP" }on all services./versionreturns consistent metadata in JSON format.Implementation Details
Mockups/Wireframes
No response
Product Name
AMRIT
Organisation Name
Piramal Swasthya Management and Research Institute
Domain
No response
Tech Skills Needed
Spring Boot
Organizational Mentor
@drtechie
Angel Mentor
No response
Complexity
Medium
Category
Configuration, CI/CD, Accessibility