working on transformation of legacy notes tables

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-12 23:41:56 +02:00
parent 09dd21eee8
commit 1df7a2bd3c
11 changed files with 163 additions and 48 deletions

View File

@@ -15,7 +15,8 @@ import de.srsoftware.umbrella.core.Util;
import de.srsoftware.umbrella.core.exceptions.UmbrellaException;
import de.srsoftware.umbrella.documents.DocumentApi;
import de.srsoftware.umbrella.items.ItemApi;
import de.srsoftware.umbrella.legacy.LegacyApi;
import de.srsoftware.umbrella.legacy.NotesLegacy;
import de.srsoftware.umbrella.legacy.UserLegacy;
import de.srsoftware.umbrella.markdown.MarkdownApi;
import de.srsoftware.umbrella.message.MessageSystem;
import de.srsoftware.umbrella.notes.NoteModule;
@@ -69,7 +70,8 @@ public class Application {
var companyModule = new CompanyModule(registry, config);
var documentApi = new DocumentApi(registry, config);
var itemApi = new ItemApi(registry, config);
var legacyApi = new LegacyApi(registry,config);
var userLegacy = new UserLegacy(registry,config);
var notesLegacy = new NotesLegacy(registry,config);
var markdownApi = new MarkdownApi(registry);
var notesModule = new NoteModule(registry,config);
var projectModule = new ProjectModule(registry, config);
@@ -89,7 +91,8 @@ public class Application {
timeModule .bindPath("/api/times") .on(server);
translationModule.bindPath("/api/translations").on(server);
userModule .bindPath("/api/user") .on(server);
legacyApi .bindPath("/legacy") .on(server);
notesLegacy .bindPath("/legacy/notes") .on(server);
userLegacy .bindPath("/legacy/user") .on(server);
webHandler .bindPath("/") .on(server);
server.setExecutor(Executors.newFixedThreadPool(threads));