Finish the rename in the prose
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
| Agent | Client id | Trigger |
|
||||
|---|---|---|
|
||||
| Approvisionnement | `classic-models-agent-approvisionnement` | event-driven, plus a periodic ordering run |
|
||||
| the supply agent | `classic-models-agent-supply` | event-driven, plus a periodic ordering run |
|
||||
| Recouvrement | `classic-models-agent-recouvrement` | weekly, Monday |
|
||||
|
||||
They share a repo because they are not code: n8n workflow exports, same tool,
|
||||
@@ -19,7 +19,7 @@ conversational agents.
|
||||
|
||||
They remain full A2A agents: they publish an Agent Card, accept tasks, answer.
|
||||
|
||||
## Approvisionnement
|
||||
## Supply
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
@@ -121,7 +121,7 @@ that case.
|
||||
## Events over Kafka — built, and one rule about them
|
||||
|
||||
Built 2026-08-31. `classic-models-api` emits domain events through a
|
||||
transactional outbox; a relay publishes them; `approvisionnement-stock-watch`
|
||||
transactional outbox; a relay publishes them; `supply-stock-watch`
|
||||
consumes `product.stock_changed` and is the reactive half this repo had been
|
||||
waiting on. The contract is `classic-models-api/docs/DOMAIN_EVENTS.md` — read it
|
||||
before writing a consumer.
|
||||
@@ -173,14 +173,14 @@ on the n8n instance as the source of truth.
|
||||
## The Kafka credential is created by hand
|
||||
|
||||
`kafka-classic-models` in n8n holds the SCRAM password of the
|
||||
`classic-models-agent-approvisionnement` KafkaUser and the Strimzi cluster CA.
|
||||
`classic-models-agent-supply` KafkaUser and the Strimzi cluster CA.
|
||||
It is not in this repo and must not be: n8n encrypts stored credentials with
|
||||
`N8N_ENCRYPTION_KEY`, and the committed workflow JSON references it by id only.
|
||||
|
||||
To recreate it after a rebuild:
|
||||
|
||||
```
|
||||
kubectl -n kafka get secret classic-models-agent-approvisionnement \
|
||||
kubectl -n kafka get secret classic-models-agent-supply \
|
||||
-o jsonpath='{.data.password}' | base64 -d
|
||||
kubectl -n kafka get secret kafka-cluster-ca-cert \
|
||||
-o jsonpath='{.data.ca\.crt}' | base64 -d
|
||||
|
||||
Reference in New Issue
Block a user