kuhl-haus-mdp-servers 0.1.13__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/PKG-INFO +3 -3
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/pyproject.toml +3 -3
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/mdp_server.py +9 -1
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/wds_server.py +9 -1
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/LICENSE.txt +0 -0
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/README.md +0 -0
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/__init__.py +0 -0
- {kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/mdl_server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kuhl-haus-mdp-servers
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.14
|
|
4
4
|
Summary: Container image build repository for market data processing servers
|
|
5
5
|
Author-Email: Tom Pounders <git@oldschool.engineer>
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -11,11 +11,11 @@ Project-URL: Documentation, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/w
|
|
|
11
11
|
Project-URL: Source, https://github.com/kuhl-haus/kuhl-haus-mdp-servers.git
|
|
12
12
|
Project-URL: Changelog, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/commits
|
|
13
13
|
Project-URL: Tracker, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/issues
|
|
14
|
-
Requires-Python:
|
|
14
|
+
Requires-Python: >=3.14
|
|
15
15
|
Requires-Dist: kuhl-haus-mdp
|
|
16
16
|
Requires-Dist: websockets
|
|
17
17
|
Requires-Dist: aio-pika
|
|
18
|
-
Requires-Dist: redis
|
|
18
|
+
Requires-Dist: redis
|
|
19
19
|
Requires-Dist: tenacity
|
|
20
20
|
Requires-Dist: fastapi
|
|
21
21
|
Requires-Dist: uvicorn[standard]
|
|
@@ -13,7 +13,7 @@ authors = [
|
|
|
13
13
|
{ name = "Tom Pounders", email = "git@oldschool.engineer" },
|
|
14
14
|
]
|
|
15
15
|
readme = "README.md"
|
|
16
|
-
requires-python = "
|
|
16
|
+
requires-python = ">=3.14"
|
|
17
17
|
license-files = [
|
|
18
18
|
"LICENSE.txt",
|
|
19
19
|
]
|
|
@@ -25,7 +25,7 @@ dependencies = [
|
|
|
25
25
|
"kuhl-haus-mdp",
|
|
26
26
|
"websockets",
|
|
27
27
|
"aio-pika",
|
|
28
|
-
"redis
|
|
28
|
+
"redis",
|
|
29
29
|
"tenacity",
|
|
30
30
|
"fastapi",
|
|
31
31
|
"uvicorn[standard]",
|
|
@@ -33,7 +33,7 @@ dependencies = [
|
|
|
33
33
|
"python-dotenv",
|
|
34
34
|
"massive",
|
|
35
35
|
]
|
|
36
|
-
version = "0.1.
|
|
36
|
+
version = "0.1.14"
|
|
37
37
|
|
|
38
38
|
[project.urls]
|
|
39
39
|
Homepage = "https://github.com/kuhl-haus/kuhl-haus-mdp-servers"
|
{kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/mdp_server.py
RENAMED
|
@@ -206,6 +206,7 @@ async def health_check(response: Response):
|
|
|
206
206
|
"""Health check endpoint - always responsive"""
|
|
207
207
|
try:
|
|
208
208
|
ret: dict[str, Union[str, dict]] = {
|
|
209
|
+
"service": "Market Data Processor",
|
|
209
210
|
"status": "OK",
|
|
210
211
|
"status_code": 1,
|
|
211
212
|
"container_image": settings.container_image,
|
|
@@ -226,7 +227,14 @@ async def health_check(response: Response):
|
|
|
226
227
|
except Exception as e:
|
|
227
228
|
logger.error(f"Health check error: {e}")
|
|
228
229
|
response.status_code = status.HTTP_503_SERVICE_UNAVAILABLE
|
|
229
|
-
return {
|
|
230
|
+
return {
|
|
231
|
+
"service": "Market Data Processor",
|
|
232
|
+
"status": "ERROR",
|
|
233
|
+
"status_code": 0,
|
|
234
|
+
"container_image": settings.container_image,
|
|
235
|
+
"image_version": settings.image_version,
|
|
236
|
+
"message": "An unhandled exception occurred during health check."
|
|
237
|
+
}
|
|
230
238
|
|
|
231
239
|
|
|
232
240
|
if __name__ == "__main__":
|
{kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/wds_server.py
RENAMED
|
@@ -88,6 +88,7 @@ async def health_check(response: Response):
|
|
|
88
88
|
try:
|
|
89
89
|
response.status_code = status.HTTP_200_OK
|
|
90
90
|
return JSONResponse({
|
|
91
|
+
"service": "Widget Data Service",
|
|
91
92
|
"status": "OK",
|
|
92
93
|
"status_code": 1,
|
|
93
94
|
"container_image": settings.container_image,
|
|
@@ -97,7 +98,14 @@ async def health_check(response: Response):
|
|
|
97
98
|
except Exception as e:
|
|
98
99
|
logger.error(f"Fatal error while processing health check: {e}")
|
|
99
100
|
response.status_code = status.HTTP_503_SERVICE_UNAVAILABLE
|
|
100
|
-
return {
|
|
101
|
+
return {
|
|
102
|
+
"service": "Widget Data Service",
|
|
103
|
+
"status": "ERROR",
|
|
104
|
+
"status_code": 0,
|
|
105
|
+
"container_image": settings.container_image,
|
|
106
|
+
"image_version": settings.image_version,
|
|
107
|
+
"message": "An unhandled exception occurred during health check."
|
|
108
|
+
}
|
|
101
109
|
|
|
102
110
|
|
|
103
111
|
@app.websocket("/ws")
|
|
File without changes
|
|
File without changes
|
{kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/__init__.py
RENAMED
|
File without changes
|
{kuhl_haus_mdp_servers-0.1.13 → kuhl_haus_mdp_servers-0.1.14}/src/kuhl_haus/servers/mdl_server.py
RENAMED
|
File without changes
|