Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3333: Remove Wildfly modules that are not required by LAMS distribution. Remove welcome-content from Wildfly distribution

Process of identification of modules that are eligible for removal (slimming):

1. LAMS direct dependencies (modules) were compared to 'Minimalistic Core' version of wildfly.

2. All missing modules were added to Wildfly modules

3. Direct dependencies of added modules (transitive LAMS dependencies) were identified based on module.xml content.

4. Points 2-3 were performed iteratively until all missing modules were added to Wildfly modules.

5. List of modules started with regular Wildfly distribution was compared to modules started with LAMS slimmed distribution.

  1. … 1 more file in changeset.
LDEV-3333: remove org.jboss.as.jdr and org.jboss.as.pojo from LAMS standalone.xml

LDEV-3333: remove org.jboss.as.jaxrs, org.jboss.as.sar and org.wildfly.extension.batch extensions from jboss standalone.xml

LDEV-3333: remove 'org.jboss.as.mail' module from standalone.xml

LDEV-3333: Remove ejb module from LAMS deployment configuration

LDEV-3332: revert spring-beans schema declaration in application context xml files. export spring meta-inf in jboss-deployment-structure.xml

It is way more elegant approach to fix an issue with spring-beans.xsd loading from internet.

  1. … 77 more files in changeset.
LDEV-3275: Add missing library dependencies.

  1. … 9 more files in changeset.
LDEV-3275: Set default log level to DEBUG for LAMS classes.

LDEV-3293: fix hibernate dtd declarations. Change 'hibernate.org' to 'www.hibernate.org'.

In order for hibernate DTDEntityResolver not to load hibernate-mapping-3.0.dtd from internet (and use local one), namespace declaration of dtd must exactly match the namespace declared in DTDEntityResolver class.

  1. … 93 more files in changeset.
LDEV-3318: Move jboss-log4j.xml configuration to jboss logging subsystem in standalone.xml. Apparently there is no way to simultanously use both logging conifgs. All not-commented appenders and loggers from old configuration were migrated.

LDEV-3319: remove autopatch dependencies from <resources> declaration of jboss-deploymet. Libraries present in 'lib' directory are automatically added as project dependenies.

LDEV-3320: fix Infinispan configuration as 2nd level cache of Hibernate. The problem was, that for plain Hibernate usage, Infinispan has to be eagerly initialized (an already present when Hibernate starts). Also RegionFactory was changed to JNDIRegionFactory.

  1. … 1 more file in changeset.
LDEV-3319: move AutoPatchService from module deployment to static jar dependency.

  1. … 1 more file in changeset.
LDEV-3318: fix jboss-log4j.xml configuration for Wildfly. Change appenders and errorHandlers from 'org.jboss.logging' to 'org.apache.log4j' types. Use 'jboss.server.base.dir' variable as base for logs files location.

LDEV-3315: Remove AUTHOR ADMIN role. Allow AUTHOR role to preview lessons. Allow MONITOR role to edit activities and run Live Edit.

  1. … 72 more files in changeset.
LDEV-3315: Clean up roles and paths to secured resources in all modules.

  1. … 38 more files in changeset.
LDEV-3275: Introduce SSO using Undertow mechanisms.

Valves do not exist in Undertow. Another approach had to be used.

In each WAR there is a file in META-INF/service dir which adds a class in request processing chaing.

For Central it is SsoProducer which put the authenticated account into shared session.

All other modules use SsoConsumer which takes the account and puts it into its security context.

In standalone.xml caching of credentials was switched off as it would prevent UniversalLoginModule from putting UserDTO into shared session.

TODO: use a simple pass-all authentication mechanism for static files like images and JS files.

  1. … 12 more files in changeset.
LDEV-3275: Add dependecies and source code for Undertow.

  1. … 558 more files in changeset.
LDEV-3275: Use "lams" security domain for the whole LAMS deployment. Turn off JDBC spying for faster start up. Can be manually turned on later for debugging.

LDEV-3275: Formatting

LDEV-3275: Make LAMS Session JAR a part of EAR instead of WildFly module as it uses other LAMS classes.

  1. … 2 more files in changeset.
LDEV-3293: Use Hibernate 4 cache. Remove unused cache management from lams_admin.

  1. … 908 more files in changeset.
LDEV-3293: Use Spring support for Hibernate 4 instead of 3 (session factory and filters). Use new path for Hibernate DTDs. Make XDoclet generate hbm.xml files with the correct path by providing it a new template.

    • -0
    • +268
    ./xdoclet-hibernate-template.xml
  1. … 111 more files in changeset.
LDEV-3293: Add Spring 4.0.6 libraries and their sources. Make LAMS use them and reference Hibernate 4.3.5 embedded in WildFly 8.1.

    • -17
    • +7
    ./j2ee/jboss-deployment-structure.xml
  1. … 6317 more files in changeset.
LDEV-3275: Decrease version of Hibernate from 4.x (delivered to WildFly) to 3.6.10 (newer than used before, but still 3.x as otherwise Spring won't work with it).

  1. … 3092 more files in changeset.
LDEV-3275: Exclude a part (javax/**) of xml-apis.jar as it is already present in Java JDK. Leaving it caused class clashes. The whole JAR could not be removed, though, as classes in org/** are required by Spring and other libs.

  1. … 1 more file in changeset.
LDEV-3275: Set module dependencies.

    • -7
    • +15
    ./j2ee/jboss-deployment-structure.xml
  1. … 1 more file in changeset.
LDEV-3275: Rename lams-ds and make it the default data source (required by JEE specification).

  1. … 1 more file in changeset.
LDEV-3275: Set module dependencies.

LDEV-3275: Move tool JARs to EAR/lib for automatic detection.

  1. … 6 more files in changeset.