diff --git a/src/main/java/li/strolch/tutorialwebapp/web/rest/RestfulApplication.java b/src/main/java/li/strolch/tutorialwebapp/web/rest/RestfulApplication.java index 56c3d59ac..88d0609f7 100644 --- a/src/main/java/li/strolch/tutorialwebapp/web/rest/RestfulApplication.java +++ b/src/main/java/li/strolch/tutorialwebapp/web/rest/RestfulApplication.java @@ -33,6 +33,7 @@ public class RestfulApplication extends Application { public Set> getClasses() { Set> classes = new HashSet<>(); classes.addAll(StrolchRestfulClasses.getRestfulClasses()); + classes.addAll(StrolchRestfulClasses.getProviderClasses()); return classes; } } diff --git a/src/main/webapp/WEB-INF/config/StrolchConfiguration.xml b/src/main/webapp/WEB-INF/config/StrolchConfiguration.xml index 9844adfc8..e3c1295ac 100644 --- a/src/main/webapp/WEB-INF/config/StrolchConfiguration.xml +++ b/src/main/webapp/WEB-INF/config/StrolchConfiguration.xml @@ -42,4 +42,33 @@ true + + EnumHandler + li.strolch.runtime.query.enums.EnumHandler + li.strolch.runtime.query.enums.DefaultEnumHandler + ElementMapHandler + + defaultRealm + Resource/Enumeration/salutations + Resource/Enumeration/sex + Resource/Enumeration/religions + + + + RestfulHandler + li.strolch.rest.RestfulStrolchComponent + li.strolch.rest.RestfulStrolchComponent + SessionHandler + + + + + SessionHandler + li.strolch.rest.StrolchSessionHandler + li.strolch.rest.DefaultStrolchSessionHandler + PrivilegeHandler + + true + + diff --git a/src/main/webapp/WEB-INF/data/Enums.xml b/src/main/webapp/WEB-INF/data/Enums.xml new file mode 100644 index 000000000..62ddb9c61 --- /dev/null +++ b/src/main/webapp/WEB-INF/data/Enums.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/data/StrolchModel.xml b/src/main/webapp/WEB-INF/data/StrolchModel.xml index 2ded8056d..2d9d4958e 100644 --- a/src/main/webapp/WEB-INF/data/StrolchModel.xml +++ b/src/main/webapp/WEB-INF/data/StrolchModel.xml @@ -25,5 +25,6 @@ + \ No newline at end of file