- config.py: remove robot_id field from SESConfig (no global default)
- session_client.py: robot_id is now REQUIRED in ask(), no fallback
- mfc_dialog.yaml: add explicit robot_id
- example_*.yaml: add commented robot_id placeholder, fix outdated comments
- config.yaml.example: remove robot_id from ses section
- README: full audit — remove archive references, fix deployment docs,
fix scenario format docs, remove outdated sections
25 lines
1012 B
YAML
25 lines
1012 B
YAML
# =============================================================================
|
||
# Сценарий: диалог с роботом МФЦ (production)
|
||
# =============================================================================
|
||
# Проверяет что робот отвечает на приветствие и возвращает меню действий.
|
||
# Выполняется каждые 60 секунд, создаёт сессию в SES.
|
||
# Результат агрегируется в ses.scenario.ok/total/failed/avg_time/max_time/error.
|
||
|
||
name: "mfc_dialog"
|
||
description: >
|
||
Проверка диалога с МФЦ: отправка приветствия,
|
||
ожидание меню действий (error=0, answer не пуст).
|
||
|
||
enabled: true
|
||
interval: 60
|
||
timeout: 15
|
||
robot_id: "8ae503dc-ee33-4a6c-a6cf-3dcad3900986_prod"
|
||
|
||
steps:
|
||
- send: "Здравствуйте"
|
||
expect:
|
||
- path: "error"
|
||
equals: 0
|
||
- path: "answer[0].messages[0]"
|
||
not_empty: true
|