generated from SidingsMedia/service-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SidingsMedia/computroniks/features/remove-…
…stats-and-add-healthchecks Computroniks/features/remove stats and add healthchecks
- Loading branch information
Showing
10 changed files
with
81 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
description: Service is unhealthy | ||
content: | ||
text/plain: | ||
schema: | ||
type: string | ||
example: | ||
unhealthy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
description: Service is healthy | ||
content: | ||
text/plain: | ||
schema: | ||
type: string | ||
example: | ||
healthy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
get: | ||
description: Messaging service health check | ||
summary: Health check | ||
tags: | ||
- messaging | ||
responses: | ||
'200': | ||
$ref: ../../components/responses/HealthCheckOK.yaml | ||
'429': | ||
$ref: ../../components/responses/TooManyRequests.yaml | ||
5XX: | ||
$ref: ../../components/responses/HealthCheckFail.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
get: | ||
description: Static service health check | ||
summary: Health check | ||
tags: | ||
- static | ||
responses: | ||
'200': | ||
$ref: ../../components/responses/HealthCheckOK.yaml | ||
'429': | ||
$ref: ../../components/responses/TooManyRequests.yaml | ||
5XX: | ||
$ref: ../../components/responses/HealthCheckFail.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
get: | ||
description: OpenAPI service health check | ||
summary: Health check | ||
tags: | ||
- openapi | ||
responses: | ||
'200': | ||
$ref: ../../components/responses/HealthCheckOK.yaml | ||
'429': | ||
$ref: ../../components/responses/TooManyRequests.yaml | ||
5XX: | ||
$ref: ../../components/responses/HealthCheckFail.yaml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters