Files
rustybeds/tests/fixtures/beds_test.toml
gramps 2a9afe7d77 Add MariaDB IPL validation, topology docs in beds.toml, and developer wiki
- Add MariaDB (REL) IPL validation — master required, secondary non-fatal
- Add RelNodeConfig / RelInstanceConfig structs with master/secondary pattern
- Add rel_services section to beds.toml and test fixture
- Add detailed topology commentary to beds.toml covering standalone,
  master/replica, Galera cluster, and multi-DB-per-node configurations
- Add developer wiki (wiki/) covering:
    - Origin story — PHP Namaste history, production record, why Rust
    - Architecture overview — full system diagram, all layers explained
    - The four nodes — appServer, admin, segundo, tercero with real-world context
    - IPL sequence — every step documented with rationale for ordering
    - Configuration system — layering, env selection, adding new sections
    - Queue topology — exchanges, routing keys, broker bindings, vhost isolation
    - Template system — REC/REL, TLA convention, cache map, warehousing
    - Event lineage — compound event IDs, parent/child tracking, msLogs schema
    - Glossary
- Update README with wiki index and MariaDB status

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 15:41:28 -07:00

74 lines
1.7 KiB
TOML

# =============================================================================
# BEDS Test Fixture — beds_test.toml
# =============================================================================
#
# Canonical configuration fixture for all BEDS unit and integration tests.
# Values here are test-safe: localhost services, known ports, no real creds.
#
# Load via tests/common/mod.rs::load_test_config() — do not call
# config::load() directly from tests, as that reads the live config/beds.toml.
#
# AUTHOR: mks
# VERSION: 1.0
#
# HISTORY:
# ========
# 2026-04-02 mks original coding
# =============================================================================
debug = true
syslog = false
syslog_mirror_console = true
audit_on = false
journal_on = false
[id]
env_name = "dev"
version = "1.0"
wbid = "ms"
[broker_services]
queue_tag = "test_"
vhost = "test"
timer_violation = 3000
records_per_xfer = 5000
keepalive = true
heartbeat = 60
use_ssl = false
cert_path = "/etc/rabbitmq"
[broker_services.app_server]
host = "127.0.0.1"
port = 5672
api_port = 15672
user = "beds"
pass = "changeme"
rpi = 50
[broker_services.app_server.instances]
r_broker = 2
w_broker = 2
m_broker = 0
[rec_services.app_server]
host = "127.0.0.1"
port = 27017
user = "beds"
pass = "changeme"
database = "beds_test"
use_ssl = false
[rel_services.app_server.master]
host = "127.0.0.1"
port = 3306
user = "beds"
pass = "changeme"
database = "beds_test"
[rel_services.app_server.secondary]
host = "127.0.0.1"
port = 3306
user = "beds"
pass = "changeme"
database = "beds_test"