lams_build

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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-3365: Add "explode-all" Ant taks.

LDEV-3365: Add "explode-all" Ant taks.

LDEV-3315: Add utility methods for security. Use the new SecurityService in several places.

  1. … 8 more files in changeset.
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
    • +1
    ./conf/j2ee/jboss-deployment-structure.xml
  1. … 77 more files in changeset.
LDEV-3275: Add missing library dependencies.

    • -0
    • +1
    ./conf/j2ee/jboss-deployment-structure.xml
    • -0
    • +112
    ./lib/jdk/jdk.module.xml
    • -0
    • +2
    ./lib/xml-commons/xmlcommons.module.xml
  1. … 1 more file 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-3319: update 'autopatch' and 'discovery' libraries in LAMS components.

Replace jar libraries. Update 3rdParty.userlibraries to use autopatch-1.4.2-lams and discovery-1.0.5-lams. Update build.xml to deploy correct libs to wildfly.

    • binary
    ./lib/autopatch/autopatch-1.4.2-lams.jar
    • binary
    ./lib/autopatch/discovery-1.0.5-lams.jar
    • binary
    ./lib/autopatch/tk-discovery-1.0.0.jar
LDEV-3319: Synchronize patch execution with an external monitor. Modules in WildFly can be loaded in parallel. AutoPatch is not ready for this as it uses static methods with unsynchronized collections. Each AutoPatchService instance should be run sequentially.

    • -41
    • +0
    ./lib/autopatch/autopatch.module.xml
  1. … 32 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.

    • -4
    • +2
    ./conf/j2ee/jboss-deployment-structure.xml
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.

    • -4
    • +6
    ./conf/j2ee/jboss-deployment-structure.xml
LDEV-3315: Add security service and use it in vital entry points.

  1. … 12 more files 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.

    • -172
    • +146
    ./conf/j2ee/jboss-log4j.xml
LDEV-2847: Put build.properties file as the first one so it has priority over othe settings.

LDEV-2847: Put build.properties file as the first one so it has priority over othe settings.

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

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

    • -10
    • +16
    ./conf/j2ee/lams.application.xml
  1. … 38 more files in changeset.
LDEV-2846: Remove obsolete filters.

  1. … 3 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. … 8 more files in changeset.
LDEV-2463 Added new method "learnerStrictAuth" available to LoginRequest. It works the same way as "learner" but requires hash to also contain lesson id parameter.

  1. … 4 more files in changeset.
LDEV-3309 Add isUpdateUserDetails parameter for LoginRequest so user details get updated

  1. … 6 more files in changeset.
LDEV-3309 Add isUpdateUserDetails parameter for LoginRequest so user details get updated

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

    • -1
    • +2
    ./conf/j2ee/jboss-deployment-structure.xml
  1. … 557 more files in changeset.
LDEV-3275: Make LAMS Valve and Session libraries part of plain lams.jar. In JBoss these libraries had to be externalised as global valves were declared on server, not deployment level, and their code could not be a part of a deployment. If the same thing is attempted with Undertow, the server will (most probably) require all code referenced by a valve to be available during core start up, i.e. before processing LAMS EAR. Since the valves reference LAMS services and other classes, separation seems difficult to achieve. In such case valves (in Undertow: HTTP Handlers) will be a part of an deployment and will be declared for each WAR if necessary.

  1. … 2 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.

    • -0
    • +9
    ./conf/j2ee/jboss-app.xml