implemented legacy module for company
This commit is contained in:
@@ -15,6 +15,7 @@ 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.CompanyLegacy;
|
||||
import de.srsoftware.umbrella.legacy.NotesLegacy;
|
||||
import de.srsoftware.umbrella.legacy.ProjectLegacy;
|
||||
import de.srsoftware.umbrella.legacy.UserLegacy;
|
||||
@@ -69,6 +70,7 @@ public class Application {
|
||||
var tagModule = new TagModule(registry,config);
|
||||
var bookmarkApi = new BookmarkApi(registry,config);
|
||||
var companyModule = new CompanyModule(registry, config);
|
||||
var companyLegacy = new CompanyLegacy(registry, config);
|
||||
var documentApi = new DocumentApi(registry, config);
|
||||
var itemApi = new ItemApi(registry, config);
|
||||
var userLegacy = new UserLegacy(registry,config);
|
||||
@@ -84,6 +86,7 @@ public class Application {
|
||||
bookmarkApi .bindPath("/api/bookmark") .on(server);
|
||||
documentApi .bindPath("/api/document") .on(server);
|
||||
companyModule .bindPath("/api/company") .on(server);
|
||||
companyLegacy .bindPath("/legacy/company") .on(server);
|
||||
itemApi .bindPath("/api/items") .on(server);
|
||||
markdownApi .bindPath("/api/markdown") .on(server);
|
||||
notesModule .bindPath("/api/notes") .on(server);
|
||||
|
||||
Reference in New Issue
Block a user