feat(workflow): example covers security, platform, enterprise and resilience features

105 route tests, matrix crawl, spec and README updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 02:19:52 +02:00
co-authored by Claude Sonnet 5.5
parent 00af65613d
commit 62fdd08da8
90 changed files with 8038 additions and 11 deletions
+15
View File
@@ -0,0 +1,15 @@
// Route: GET /security/secrets (values are always masked)
#include "support/Assert.hpp"
using namespace molo::example::test;
int main() {
Fixture f;
auto list = f.client->get("/security/secrets");
check(list.status == 200 && contains(list.body, "DB_PASSWORD"), "names listed");
check(!contains(list.body, "demo-db-password"), "no values in list");
auto one = f.client->get("/security/secrets?name=API_KEY");
check(one.status == 200 && contains(one.body, "de*"), "masked value");
check(!contains(one.body, "demo-api-key-abcdef"), "full value never returned");
check(f.client->get("/security/secrets?name=NOPE").status == 404, "unknown 404");
check(f.client->post("/security/secrets", "x").status == 405, "POST 405");
return finish("security/secrets");
}