feat: implement MoloApp plans 01-15 with integration

Full C++23 framework tree: runtime, observability, security,
data, app, realtime, supervisor, clients, CLI, example plus
enterprise tenancy, audit, operability, governance,
supplychain. Postgres via docker compose for tests.
This commit is contained in:
2026-10-23 18:20:04 +02:00
parent 54068f1953
commit 3c4334cec9
1068 changed files with 100899 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
// Route: /events/fire (typed event bus)
#include "support/Assert.hpp"
using namespace molo::example::test;
int main() {
Fixture f;
int seen = 0;
f.services.events->on("demo.ping",
[&](const molo::example::fw::Event&) { ++seen; });
auto fire = f.client->post(
"/events/fire", "{\"type\":\"demo.ping\",\"payload\":\"p1\"}",
"application/json");
check(fire.status == 200, "fire status 200");
check(seen == 1, "side effect: listener ran");
auto list = f.client->get("/events/fire");
check(contains(list.body, "demo.ping"), "delivery recorded");
return finish("events/fire");
}