lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5260 Move custom Flux classes to separate package

    • -0
    • +137
    /lams_common/src/java/org/lamsfoundation/lams/flux/FluxMap.java
LDEV-5260 Improve Flux cancellation mechanism

LDEV-5260 Rewrite polling to producer-subscriber model

Till now we had "are-learners-answers-updated" polling on controller

level.

It was rewritten to following scenario:

- method which stores learner answers is aware whether answers have

changed, i.e. it knows if charts need to be updated

- it flushes latest data to DB and puts tool content ID to Sink

- Sink notifies all interested Fluxes (currently only charts updating

one, but in the future other ones like updating table with answer % too)

- FluxMap holds a map of tool content ID -> interested hot publisher

Flux

- the Flux checks if it is interested in the tool content ID from the

Sink

- if so, it fetches data from DB and emits it to all subscribers, i.e.

opened monitoring windows with charts displayed

- data is cached so it is immediately available on for the next

subscriber

- data is throttled so calls to DB are not made too often

- if all subscribers are gone, the hot publisher Flux is still active; a

timeout is added which removes it from FluxMap when there were not emits

for the given time

    • -0
    • +105
    /lams_common/src/java/org/lamsfoundation/lams/util/FluxMap.java
LDEV-5260 Emit chart update only when new data is available

LDEV-5200 Add "learners who started lesson" counter to LD in monitoring

LDEV-5260 Skip Flux retransmissions if data has not changed

LDEV-5260 Use WildFly task executor for Spring async request processing

LDEV-5260 Rewrite test implementation using Reactor Flux instead of SSE

LDEV-5260 Add Reactor as Spring dependency

Spring is capable of configuring Reactor environment automatically if

Spring detects it on classpath. The detection must happen when Spring is

still loading, not afterwards. So Reactor must be a Spring dependency as

otherwise it will load too late to get detected.

    • -0
    • +2
    /lams_build/lib/spring/spring.module.xml
LDEV-5260 Separate Reactivestreams code from Reactor library

Reactivestreams 1.0.2 is already present at WF 14 distribution. We just

update it to 1.0.3.

    • binary
    /lams_build/lib/reactivestreams/reactive-streams-1.0.3.jar
    • -0
    • +34
    /lams_build/lib/reactivestreams/reactivestreams.module.xml
Merge remote-tracking branch 'origin/v4.5' into v4.6

LDEV-5260 Initial implementation of EventSource-powered chart

    • -1
    • +14
    /lams_tool_assessment/web/WEB-INF/web.xml
LDEV-5259 Manually create parent application context

Previous attempt to reproduce BeanFactoryLocater was an overkill. A

simple singleton parent application context is sufficient.

    • -13
    • +0
    /lams_monitoring/web/WEB-INF/web.xml
    • -8
    • +0
    /lams_tool_assessment/web/WEB-INF/web.xml
  1. … 31 more files in changeset.
LDEV-5259 Use MVC initialisation via annotation

Manually triggering controller scanning by adding an annotation handler

bean does not register all useful support beans. If

<mvc:annotation-driven> is used in spring-servlet.xml, all support beans

are registered via WebMvcConfigurer.

<mvc:path-matching suffix-pattern="true" /> need to be added because we

use .do suffix for Spring actions and suffix was turned off for Spring

5.3

https://github.com/spring-projects/spring-framework/issues/24179

  1. … 37 more files in changeset.
LDEV-5230 Add missing VSA label

LDEV-4762 Fix saving option order in ordering question

TreeSet.addAll() seems not to work correctly in some cases

https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6385838

LDEV-5261 Fix popovers in QB and Assessment question stats

LDEV-5260 Add Reactor source code reference

    • -0
    • +175
    /3rdParty_sources/reactor/reactor/adapter/JdkFlowAdapter.java
    • -0
    • +29
    /3rdParty_sources/reactor/reactor/adapter/package-info.java
    • -0
    • +48
    /3rdParty_sources/reactor/reactor/core/CorePublisher.java
    • -0
    • +61
    /3rdParty_sources/reactor/reactor/core/CoreSubscriber.java
    • -0
    • +168
    /3rdParty_sources/reactor/reactor/core/Disposable.java
    • -0
    • +485
    /3rdParty_sources/reactor/reactor/core/Disposables.java
    • -0
    • +766
    /3rdParty_sources/reactor/reactor/core/Exceptions.java
    • -0
    • +272
    /3rdParty_sources/reactor/reactor/core/Fuseable.java
    • -0
    • +612
    /3rdParty_sources/reactor/reactor/core/Scannable.java
    • -0
    • +25
    /3rdParty_sources/reactor/reactor/core/package-info.java
  1. … 798 more files in changeset.
LDEV-5260 Add Reactive Streams source code reference

LDEV-5260 Add Reactor library

    • binary
    /lams_build/lib/reactor/reactive-streams-1.0.3.jar
    • binary
    /lams_build/lib/reactor/reactor-core-3.4.12.jar
    • -0
    • +30
    /lams_build/lib/reactor/reactor.module.xml
LDEV-5259 Remove unnecessary util class

Merge branch 'v4.6' into LDEV-5259

Merge remote-tracking branch 'origin/v4.5' into v4.6

LDEV-4875 Fix hash code generation in Scratchie

LDEV-5125 Improve support for VSA questions import from Word file

VSA questions should have 2 options if they are going to be TBL

compatible. When importing from Word document only correct answers

option is required. The other one, incorrect answers option, now gets

added automatically. Also incorrect answers option does not get deleted

after editing via QB interface.

LDEV-5259 Silence verbose scanner logs

LDEV-5259 Manually start controller annotation detection

  1. … 24 more files in changeset.
LDEV-5259 Reintroduce BeanFactoryLocator mechanism back to LAMS

It was removed for Spring 5

  1. … 44 more files in changeset.
LDEV-5259 Update Spring libraries to version 5.3.13

    • -11
    • +11
    /lams_build/3rdParty.userlibraries
    • binary
    /lams_build/lib/spring/spring-context-4.3.12.RELEASE.jar
    • binary
    /lams_build/lib/spring/spring-context-support-4.3.12.RELEASE.jar
    • binary
    /lams_build/lib/spring/spring-expression-4.3.12.RELEASE.jar
    • -11
    • +11
    /lams_build/lib/spring/spring.module.xml
LDEV-5259 Update Spring source code reference to 5.3.13

    • -0
    • +4
    /3rdParty_sources/spring/org/aopalliance/aop/package-info.java
  1. … 3774 more files in changeset.