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:
@@ -0,0 +1,16 @@
|
||||
// Route: GET /telemetry/trace (span plus correlation id)
|
||||
#include "support/Assert.hpp"
|
||||
|
||||
using namespace molo::example::test;
|
||||
|
||||
int main() {
|
||||
Fixture f;
|
||||
auto res = f.client->get("/telemetry/trace");
|
||||
check(res.status == 200, "status 200");
|
||||
check(contains(res.body, "\"trace\":\"trace-"), "trace id issued");
|
||||
check(contains(res.body, "\"correlation\":\"req-"),
|
||||
"correlation id flows");
|
||||
check(f.services.telemetry->spans().size() == 1,
|
||||
"side effect: span recorded");
|
||||
return finish("telemetry/trace");
|
||||
}
|
||||
Reference in New Issue
Block a user