Skip to content

Commit e24b02d

Browse files
Kamal Sai DevarapalliKamal Sai Devarapalli
authored andcommitted
fix: update docker-compose and scripts for reorganized structure
- Update docker-compose.yml logmonitor Dockerfile path to deployment/Dockerfile - Update dry_run_tests.py to use taskprocessing instead of booking - Ensure compatibility with reorganized file structure
1 parent fc7c8ca commit e24b02d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ services:
213213
logmonitor-service:
214214
build:
215215
context: .
216-
dockerfile: services/logmonitor/Dockerfile
216+
dockerfile: services/logmonitor/deployment/Dockerfile
217217
ports:
218218
- 5004:9094
219219
depends_on:

scripts/dry_run_tests.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ def main():
132132
print(message)
133133
results.append(("API Endpoint", "usermanagement", is_reachable))
134134

135-
# Booking (just check if endpoint exists)
135+
# Task Processing (just check if endpoint exists)
136136
try:
137-
url = f"{SERVICES['booking']['url']}{SERVICES['booking']['test_endpoint']}"
137+
url = f"{SERVICES['taskprocessing']['url']}{SERVICES['taskprocessing']['test_endpoint']}"
138138
response = requests.head(url, timeout=5)
139-
print(" Booking endpoint is reachable")
140-
results.append(("API Endpoint", "booking", True))
141-
except:
142-
print(" Booking endpoint connection refused")
143-
results.append(("API Endpoint", "booking", False))
139+
print(f" Task processing endpoint is reachable (status: {response.status_code})")
140+
results.append(("API Endpoint", "taskprocessing", True))
141+
except Exception as e:
142+
print(f" Task processing endpoint error: {str(e)}")
143+
results.append(("API Endpoint", "taskprocessing", False))
144144

145145
# Notification (check root)
146146
try:

0 commit comments

Comments
 (0)