preparing message bus

This commit is contained in:
2025-12-19 13:33:08 +01:00
parent 73751c1ea2
commit 3d31ac90a0
9 changed files with 73 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ application{
dependencies{
implementation(project(":bookmark"));
implementation(project(":bus"));
implementation(project(":company"))
implementation(project(":contact"))
implementation(project(":core"))

View File

@@ -19,6 +19,7 @@ import de.srsoftware.umbrella.files.FileModule;
import de.srsoftware.umbrella.legacy.*;
import de.srsoftware.umbrella.markdown.MarkdownApi;
import de.srsoftware.umbrella.message.MessageSystem;
import de.srsoftware.umbrella.messagebus.MessageApi;
import de.srsoftware.umbrella.notes.NoteModule;
import de.srsoftware.umbrella.project.ProjectModule;
import de.srsoftware.umbrella.stock.StockModule;
@@ -63,6 +64,7 @@ public class Application {
var server = HttpServer.create(new InetSocketAddress(port), 0);
try {
new Translations().bindPath("/api/translations").on(server);
new MessageApi().bindPath().on(server);
new MessageSystem(config);
new UserModule(config).bindPath("/api/user").on(server);
new TagModule(config).bindPath("/api/tags").on(server);