|
|
|
@ -37,7 +37,7 @@ active_simulations = {}
|
|
|
|
|
|
|
|
|
|
|
|
async def call_ahm_callback_service(simulation_id: str, job_id: str):
|
|
|
|
async def call_ahm_callback_service(simulation_id: str, job_id: str):
|
|
|
|
from src.config import AHM_BASE_URL, AHM_SIMULATION_CALLBACK_URL
|
|
|
|
from src.config import AHM_BASE_URL, AHM_SIMULATION_CALLBACK_URL
|
|
|
|
url = f"{AHM_BASE_URL}{AHM_SIMULATION_CALLBACK_URL}"
|
|
|
|
url = f"{AHM_BASE_URL.rstrip('/')}/{AHM_SIMULATION_CALLBACK_URL.lstrip('/')}"
|
|
|
|
payload = {
|
|
|
|
payload = {
|
|
|
|
"simulation_id": simulation_id,
|
|
|
|
"simulation_id": simulation_id,
|
|
|
|
"job_id": job_id,
|
|
|
|
"job_id": job_id,
|
|
|
|
|