mirror of
https://github.com/ditkrg/guidelines-and-instructions.git
synced 2026-01-22 22:06:40 +00:00
DevOps Requirements
This commit is contained in:
parent
fa92ffc431
commit
f5edaf45d4
@ -377,8 +377,42 @@ When using Kafka as a message broker, make sure that consumers of the same appli
|
||||
|
||||
#### Health Check
|
||||
|
||||
All web application are required to provide a `GET /health` endpoint that will return a `200` HTTP Response Code if:
|
||||
|
||||
1. The application was bootstrapped successful and
|
||||
2. Necessary connections to different data sources can be established and
|
||||
3. Connection to depending services can be established
|
||||
|
||||
If these conditions cannot be met, the endpoint must return a `503` HTTP Response Code.
|
||||
|
||||
#### Status
|
||||
|
||||
All web application are required to provide a `GET /status` endpoint with a similar response schema and a `200` HTTP Response Code:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The application name"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "The version of the application"
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The start time when the application was successfully booted"
|
||||
},
|
||||
"host": {
|
||||
"type": "string",
|
||||
"description": "The name of the host machine on which the application is running"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Software Application Specifications
|
||||
|
||||
### Authentication
|
||||
@ -395,6 +429,8 @@ When using Kafka as a message broker, make sure that consumers of the same appli
|
||||
|
||||
### Pagination
|
||||
|
||||
### Idempotent Requests
|
||||
|
||||
## Accepted Technologies and Development Stacks
|
||||
|
||||
### Software Development Stacks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user