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
+26
View File
@@ -0,0 +1,26 @@
#include "View.hpp"
namespace molo::example::fw {
View::View(Request req) : req_(std::move(req)) {}
Response View::dispatch() {
switch (req_.method) {
case Method::Get: return get();
case Method::Post: return post();
case Method::Put: return put();
case Method::Patch: return patch();
case Method::Delete: return del();
case Method::Options: return options();
default: return TextResponse("method not allowed", 405);
}
}
Response View::get() { return TextResponse("method not allowed", 405); }
Response View::post() { return TextResponse("method not allowed", 405); }
Response View::put() { return TextResponse("method not allowed", 405); }
Response View::patch() { return TextResponse("method not allowed", 405); }
Response View::del() { return TextResponse("method not allowed", 405); }
Response View::options() { return TextResponse("method not allowed", 405); }
} // namespace molo::example::fw