You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by my...@apache.org on 2018/02/20 11:56:48 UTC

[fineract-cn-rhythm] branch develop updated (0abeb58 -> 2e00a9c)

This is an automated email from the ASF dual-hosted git repository.

myrle pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-rhythm.git.


    from 0abeb58  Merge pull request #1 from myrlen/develop
     add 9fd70a9  Added log message in case of authentication failure when preparing to send beat.
     add eefbf8e  Added test for the case that rhythm was inactive for a few days and needs to "make up" beats. Because this required changing db data in the test I discovered a locking bug by writing this test.  The locking changes I made here may be sufficient to allow for a concurrent deployment of rhythm. Maybe.  But that should be tested to be sure.
     add a3c200e  Created clockoffset endpoint and persisted per tenant.
     add b9d163a  Clockoffset now shifts, by tenant, the time at which beats are published.
     add 8f8ce21  Simplified Drummer somewhat and fixed a bug in determining next beat. Re-engineered Drummer unit test to cover more cases. Fixed component test so that it can "see" the bug.
     add 68b736f  Updating next beat when the clockoffset changes for a tenant.
     add 75e3dcc  Added some more log messages.
     add ebc35e7  Merge pull request #2 from myrlen/develop
     new 2e00a9c  Merge pull request #1 from crain/develop

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../mifos/rhythm/api/v1/client/RhythmManager.java  |  16 ++
 .../io/mifos/rhythm/api/v1/domain/ClockOffset.java | 101 +++++++++++
 .../mifos/rhythm/api/v1/events/EventConstants.java |   2 +
 .../rhythm/api/v1/domain/ClockOffsetTest.java      |  67 +++++++
 .../java/io/mifos/rhythm/AbstractRhythmTest.java   |  37 +++-
 .../src/main/java/io/mifos/rhythm/TestBeats.java   | 107 ++++++++++-
 ...Listener.java => ClockOffsetEventListener.java} |  17 +-
 ...nCommand.java => ChangeClockOffsetCommand.java} |  31 ++--
 .../command/handler/BeatCommandHandler.java        |  38 ++--
 .../command/handler/ClockOffsetCommandHandler.java |  84 +++++++++
 .../rhythm/service/internal/mapper/BeatMapper.java |  37 +++-
 .../service/internal/mapper/ClockOffsetMapper.java |  48 +++++
 .../internal/repository/ApplicationRepository.java |   3 +
 .../internal/repository/BeatRepository.java        |  13 +-
 .../internal/repository/ClockOffsetEntity.java     |  83 +++++++++
 .../ClockOffsetRepository.java}                    |  19 +-
 .../internal/service/BeatPublisherService.java     |   6 +-
 .../internal/service/ClockOffsetService.java       |  41 +++++
 .../rhythm/service/internal/service/Drummer.java   | 111 +++++++-----
 .../service/IdentityPermittableGroupService.java   |  11 +-
 .../rhythm/service/rest/BeatRestController.java    |   2 +-
 .../service/rest/ClockOffsetRestController.java    |  77 ++++++++
 .../migrations/mariadb/V2__tenant_clock_offset.sql |  25 +++
 .../service/internal/service/DrummerTest.java      | 198 ++++++++++++++++-----
 shared.gradle                                      |   4 +-
 25 files changed, 1014 insertions(+), 164 deletions(-)
 create mode 100644 api/src/main/java/io/mifos/rhythm/api/v1/domain/ClockOffset.java
 create mode 100644 api/src/test/java/io/mifos/rhythm/api/v1/domain/ClockOffsetTest.java
 copy component-test/src/main/java/io/mifos/rhythm/listener/{MigrationEventListener.java => ClockOffsetEventListener.java} (70%)
 copy service/src/main/java/io/mifos/rhythm/service/internal/command/{DeleteApplicationCommand.java => ChangeClockOffsetCommand.java} (60%)
 create mode 100644 service/src/main/java/io/mifos/rhythm/service/internal/command/handler/ClockOffsetCommandHandler.java
 create mode 100644 service/src/main/java/io/mifos/rhythm/service/internal/mapper/ClockOffsetMapper.java
 create mode 100644 service/src/main/java/io/mifos/rhythm/service/internal/repository/ClockOffsetEntity.java
 copy service/src/main/java/io/mifos/rhythm/service/internal/{command/InitializeServiceCommand.java => repository/ClockOffsetRepository.java} (62%)
 create mode 100644 service/src/main/java/io/mifos/rhythm/service/internal/service/ClockOffsetService.java
 create mode 100644 service/src/main/java/io/mifos/rhythm/service/rest/ClockOffsetRestController.java
 create mode 100644 service/src/main/resources/db/migrations/mariadb/V2__tenant_clock_offset.sql

-- 
To stop receiving notification emails like this one, please contact
myrle@apache.org.

[fineract-cn-rhythm] 01/01: Merge pull request #1 from crain/develop

Posted by my...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

myrle pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-rhythm.git

commit 2e00a9c4a7e79be7e222f568743a6cd4f59db1ef
Merge: 0abeb58 ebc35e7
Author: Myrle Krantz <my...@apache.org>
AuthorDate: Tue Feb 20 12:56:47 2018 +0100

    Merge pull request #1 from crain/develop
    
    Sync with latest Mifos I/O

 .../mifos/rhythm/api/v1/client/RhythmManager.java  |  16 ++
 .../io/mifos/rhythm/api/v1/domain/ClockOffset.java | 101 +++++++++++
 .../mifos/rhythm/api/v1/events/EventConstants.java |   2 +
 .../rhythm/api/v1/domain/ClockOffsetTest.java      |  67 +++++++
 .../java/io/mifos/rhythm/AbstractRhythmTest.java   |  37 +++-
 .../src/main/java/io/mifos/rhythm/TestBeats.java   | 107 ++++++++++-
 .../rhythm/listener/ClockOffsetEventListener.java  |  51 ++++++
 .../internal/command/ChangeClockOffsetCommand.java |  50 ++++++
 .../command/handler/BeatCommandHandler.java        |  38 ++--
 .../command/handler/ClockOffsetCommandHandler.java |  84 +++++++++
 .../rhythm/service/internal/mapper/BeatMapper.java |  37 +++-
 .../service/internal/mapper/ClockOffsetMapper.java |  48 +++++
 .../internal/repository/ApplicationRepository.java |   3 +
 .../internal/repository/BeatRepository.java        |  13 +-
 .../internal/repository/ClockOffsetEntity.java     |  83 +++++++++
 ...nRepository.java => ClockOffsetRepository.java} |  12 +-
 .../internal/service/BeatPublisherService.java     |   6 +-
 .../internal/service/ClockOffsetService.java       |  41 +++++
 .../rhythm/service/internal/service/Drummer.java   | 111 +++++++-----
 .../service/IdentityPermittableGroupService.java   |  11 +-
 .../rhythm/service/rest/BeatRestController.java    |   2 +-
 .../service/rest/ClockOffsetRestController.java    |  77 ++++++++
 .../migrations/mariadb/V2__tenant_clock_offset.sql |  25 +++
 .../service/internal/service/DrummerTest.java      | 198 ++++++++++++++++-----
 shared.gradle                                      |   4 +-
 25 files changed, 1086 insertions(+), 138 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
myrle@apache.org.