diff --git a/k8s/configmap.yaml b/k8s/configmap.yaml index a77fb41..7684b93 100644 --- a/k8s/configmap.yaml +++ b/k8s/configmap.yaml @@ -25,3 +25,8 @@ data: # Specialists are reached at their own Service names, compiled into # specialists.py. ASSISTANT_URL_ overrides one, and exists only for # running the orchestrator outside the cluster against a port-forward. + # The specialists' Service names, overriding the defaults compiled into + # specialists.py. Set here so the rename took effect without rebuilding an + # image; the defaults in the code carry the same values for the next build. + ASSISTANT_URL_CATALOGUE: http://catalog-agent.agents.svc.cluster.local:8080/ + ASSISTANT_URL_APPROVISIONNEMENT: http://supply-agent.agents.svc.cluster.local:8080/ diff --git a/src/assistant_agent/specialists.py b/src/assistant_agent/specialists.py index 386c588..3f53656 100644 --- a/src/assistant_agent/specialists.py +++ b/src/assistant_agent/specialists.py @@ -38,7 +38,7 @@ class Specialist: CATALOGUE = Specialist( name="catalogue", - url="http://catalogue-agent.agents.svc.cluster.local:8080/", + url="http://catalog-agent.agents.svc.cluster.local:8080/", audience_scope="classic-models-agent-catalogue-audience", serves="product management: products, product lines, pricing, discontinuation", decides=( @@ -52,7 +52,7 @@ CATALOGUE = Specialist( APPROVISIONNEMENT = Specialist( name="approvisionnement", - url="http://approvisionnement-agent.agents.svc.cluster.local:8080/", + url="http://supply-agent.agents.svc.cluster.local:8080/", audience_scope="classic-models-agent-approvisionnement-audience", serves="supply: whether a reference can be promised, from stock on hand", decides=(