Michael Vorburger
904da67bbd
Remove un-used "Send messages to Email gateway" Job (FINERACT-952)
2020-05-17 10:56:59 +02:00
Michael Vorburger
cbc274f603
remove (useless) SenderTest + mockrunner-jms/nekohtml (FINERACT-938)
2020-05-17 10:53:42 +02:00
Michael Vorburger ⛑️ and GitHub
f7f52f04d1
Merge pull request #852 from vorburger/FINERACT-922_SchedulerJobsTest-reset-world-as-found
...
make SchedulerJobsTest preserve scheduler and job states (FINERACT-922)
2020-05-17 02:52:27 +02:00
Michael Vorburger
e0d4a1f376
make SchedulerJobsTest preserve scheduler and job states (FINERACT-922)
2020-05-17 02:25:51 +02:00
Michael Vorburger ⛑️ and GitHub
ddaffd13c0
Merge pull request #857 from xurror/FINERACT-897
...
[WIP] MySQL v8(FINERACT-897)
2020-05-17 02:13:49 +02:00
Michael Vorburger
00aa71b0e1
rm .github/workflows/first-interaction.yml
...
because it's broken, see
https://github.com/actions/first-interaction/issues/10
2020-05-17 00:21:00 +02:00
Michael Vorburger
a0e20588aa
fix canceling previous ongoing jobs on Fineract.dev [FINERACT-970]
2020-05-17 00:19:11 +02:00
Michael Vorburger
edcdcc34a2
cancel previous ongoing jobs on Fineract.dev when updating [FINERACT-970]
2020-05-17 00:08:07 +02:00
Michael Vorburger
1fdc033923
use --no-daemon in Dockerfile (and don't clean; really no need) [FINERACT-970]
2020-05-16 23:46:27 +02:00
Michael Vorburger
711ea1d6cd
gcloud components install beta to deploy to https://Fineract.dev [FINERACT-970]
2020-05-16 23:34:46 +02:00
Michael Vorburger
84dfb32c34
use --quiet to deploy to https://Fineract.dev [FINERACT-970]
2020-05-16 23:26:43 +02:00
Michael Vorburger
04d3ce673c
automatically deploy to https://Fineract.dev [FINERACT-970]
2020-05-16 23:07:53 +02:00
Michael Vorburger
c764d32d5e
fix Flyway table name problem (FINERACT-979)
2020-05-16 18:34:19 +02:00
Michael Vorburger
9ce72fe67b
fix broken build
...
Combination of recently separately merged PRs #865 and #859 broke it.
2020-05-15 22:56:13 +02:00
Michael Vorburger ⛑️ and GitHub
0eee0ff775
make javac fail, not just warn, for (Xlint) unchecked (FINERACT-959) ( #859 )
...
This is just a first step - we should aim for -Xlint:all! ;)
2020-05-15 21:31:16 +01:00
Michael Vorburger ⛑️ and GitHub
39675c9a23
rewrite MultiException to actually contain all causes (FINERACT-858) ( #855 )
2020-05-15 21:30:33 +01:00
Michael Vorburger
2aca64056a
fix flaky StorageTest.testNotificationStorage() (FINERACT-828)
2020-05-15 20:12:37 +02:00
Michael Vorburger
297e483742
fix invalid YAML syntax in (broken) GitHub Action
2020-05-12 20:54:27 +02:00
Michael Vorburger ⛑️ and GitHub
dec9d21f71
add First Interaction Greeting GitHub Action ( #880 )
2020-05-11 12:09:57 +01:00
Michael Vorburger
3226b63383
remove broken dev-dependencies.gradle (until FINERACT-939)
2020-05-10 21:48:05 +02:00
Michael Vorburger
8743fc9743
fix (?) .github/workflows/rebase.yml (FINERACT-829)
2020-05-10 16:20:45 +02:00
Michael Vorburger
47549ae438
add toString() to Notification (to help debug FINERACT-828 next time)
2020-05-10 16:19:09 +02:00
Michael Vorburger
0cc18d7b8c
fix obvious bug in Notification setActor()
...
This method doesn't seem to be used anywhere, so it never mattered.
Eclipse pointed out "The assignment to variable actorId has no effect".
We should not ignore javac/Eclipse compiler warnings! => FINERACT-959
2020-05-10 16:19:09 +02:00
Michael Vorburger
d2d013b78f
use Java >11.0.2 instead of Java 12 on Travis (FINERACT-937)
...
by ditching Travis' own sad state of Java (cough) 'support'
and just re-installing it ourselves instead
2020-05-10 15:04:26 +02:00
Michael Vorburger
b525925b57
bump org.apache.bval.bundle from 2.0.2 to 2.0.3
...
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-10 14:54:19 +02:00
Michael Vorburger
55af726cf9
improve SchedulerJobsTest.testDateFormat() by introducing Awaitility
...
This recently introduced new test (FINERACT-926) would locally pass, but
then fail on the next run, because another test in the same class would
modify job state to be inactive. It now sets the first jobs state as it
requires it to be, and properly awaits the expected outcome.
2020-05-09 17:05:32 +02:00
Michael Vorburger
e122f1ffd3
fix bug causing NullPointerException in SavingsAccount (FINERACT-957)
2020-05-09 13:31:39 +02:00
Michael Vorburger
27d754529e
bulk replace org.apache.commons.lang with lang3 imports (FINERACT-954)
...
We apparently currently have both on the classpath, but really nowadays
should have, and can, only use lang3 with this minor clean up.
2020-05-09 05:48:31 +02:00
Michael Vorburger
6a8f48c06c
remove fixed Slfj4j versions to fix broken logging (FINERACT-956)
2020-05-09 05:48:15 +02:00
Michael Vorburger
fa74e77e7e
clean up dependencies.gradle and clarify scopes (FINERACT-777)
...
This also solves this Gradle messages: Deprecated Gradle features were
used in this build, making it incompatible with Gradle 7.0. Use
'--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4/userguide/command_line_interface.html#sec:command_line_warnings
2020-05-09 05:47:13 +02:00
Michael Vorburger
6c3598535b
upgrade Gradle (wrapper) from 6.1 to 6.4 (FINERACT-945)
2020-05-09 00:05:10 +02:00
Michael Vorburger
ff1c15d263
rm application.properties from Git, and .gitignore it (because we copy it during build)
2020-05-09 00:03:57 +02:00
Michael Vorburger
f6c7bf970b
ignore yet another :( RecurringDepositTest (FINERACT-855)
...
testRecurringDepositAccountWithClosureTypeTransferToSavings_WITH_HOLD_TAX
2020-05-09 00:03:50 +02:00
Michael Vorburger
4ade89d57d
add integration test for (new) ISO-8601 Date Format (FINERACT-926)
...
using SchedulerJobsTest, just because that's convenient
2020-05-08 23:29:38 +02:00
Michael Vorburger
3ac7c29e51
clean up CommandHandlerProviderTest
2020-05-08 23:04:08 +02:00
Michael Vorburger
29d64d3cb0
remove org.gradle.daemon (FINERACT-948)
2020-05-08 22:41:14 +02:00
Michael Vorburger ⛑️
c6b5b2776b
add "Instructions to build the JAR file" to README
2020-05-08 22:02:16 +02:00
Michael Vorburger ⛑️ and GitHub
bee3fb7ce5
add java.util.Date ISO-8601 GSON type adapter (FINERACT-926) ( #816 )
...
* minor clean-up in existing JsonSerializer implementations (FINERACT-926)
* centralize registration of GSON type adapters (FINERACT-926)
* add java.util.Date ISO-8601 GSON type adapter (FINERACT-926)
2020-05-08 19:56:19 +01:00
Michael Vorburger ⛑️
f049892600
clarify Docker Compose UI self-signed SSL certificate
...
as suggested by Scott Dunbar on dev list
2020-05-08 20:31:12 +02:00
Michael Vorburger
6b1878a1d8
ignore one flaky FixedDepositTest (FINERACT-950)
...
testFixedDepositAccountClosureTypeWithdrawal_WITH_HOLD_TAX()
2020-05-08 20:30:25 +02:00
Michael Vorburger
077065c1b5
fix generic warnings in StaffTest (re. FINERACT-949)
2020-05-08 20:24:31 +02:00
Michael Vorburger ⛑️ and GitHub
22224709b6
upgrade Spotbugs plugin from 2.0.1 to latest 4.0.8 (FINERACT-947) ( #841 )
2020-05-08 19:15:19 +01:00
Michael Vorburger ⛑️ and GitHub
d2a0493be4
add server.forward-headers-strategy=framework (FINERACT-914) ( #798 )
2020-05-08 18:47:53 +01:00
Michael Vorburger ⛑️ and GitHub
e2d076f15e
ignore another flaky test in SchedulerJobsTestResults (FINERACT-857) ( #839 )
...
testUpdateLoanArrearsAgingJobOutcome()
2020-05-08 18:18:26 +01:00
Michael Vorburger ⛑️ and GitHub
1263a00691
change Oracle to OpenJDK in README ( #836 )
2020-05-08 18:17:21 +01:00
Michael Vorburger
bbadeb9591
add Gradle Wrapper Validation GitHub Action (FINERACT-946)
...
see https://github.com/marketplace/actions/gradle-wrapper-validation
2020-05-08 18:07:22 +02:00
Michael Vorburger
ea85f9c739
clean up XBRLBuilderTest (re. FINERACT-940)
2020-05-08 17:04:43 +02:00
Michael Vorburger
69a7b1e8da
add junit-platform-runner dependency (FINERACT-943)
2020-05-08 16:59:52 +02:00
Michael Vorburger
9254a74bb5
upgrade Spring Boot from 2.2.4 to 2.2.7 (FINERACT-941)
2020-05-08 16:16:56 +02:00
Michael Vorburger
bb4f1ac29a
add keystore.jks to .gitignore
...
This file is created by the Tomcat embedded by Spring Boot
when running "java -jar build/libs/fineract-provider.jar",
having it on .gitignore avoids anyone commiting it by mistake.
2020-05-05 22:50:23 +02:00
Michael Vorburger
cb690f6d5b
ignore three more flaky tests in SchedulerJobsTestResults (FINERACT-857)
...
testInterestTransferForSavings()
testExecuteStandingInstructionsJobOutcome()
testAvoidUnncessaryPenaltyWhenAmountZeroForOverdueLoansJobOutcome()
2020-05-05 20:13:11 +02:00
Michael Vorburger
edfcb931e9
Gradle testLogging exceptionFormat "full" (FINERACT-927)
...
as well as integrationTest --fail-fast
2020-05-05 10:52:02 +02:00
Michael Vorburger
b6c6d50501
fix moar 3rd-party versions in build.gradle (see FINERACT-805)
2020-05-04 03:00:31 +02:00
Michael Vorburger ⛑️ and GitHub
d33e0ba72a
add new /echo debug API endpoint (FINERACT-915) ( #797 )
2020-05-03 22:34:37 +01:00
Michael Vorburger
c4797ab96b
more clean up in SchedulerJobsTest (re. FINERACT-922)
...
This does NOT, yet, fix FINERACT-922, but it splits the old test into
new smaller test methods, which (hopefully) should always pass, except
for the last one.
2020-05-03 20:22:54 +02:00
Michael Vorburger
404f055b65
remove old spring-jms:4.0.7 & fix JMS dependencies (FINERACT-805)
2020-05-03 19:52:12 +02:00
Michael Vorburger
83cdb17d8f
exclude dependencies causing classpath duplicates (FINERACT-919)
2020-05-03 19:52:12 +02:00
Michael Vorburger.ch
b0367099bc
add classpath duplicates detection test (FINERACT-919)
2020-05-03 19:52:12 +02:00
Michael Vorburger
2212675af4
second step to clean up in SchedulerJobsTest (re. FINERACT-922)
...
do more un-static-ify SchedulerJobHelper
This does NOT, yet, fix FINERACT-922.
2020-05-03 19:49:27 +02:00
Michael Vorburger
85bf8dc3e9
first step to clean up in SchedulerJobsTest (preparing for FINERACT-922)
...
make two methods in SchedulerJobHelper private
and start to un-static-ify SchedulerJobHelper
This does NOT, yet, fix FINERACT-922.
2020-05-03 19:49:27 +02:00
Michael Vorburger ⛑️
62214ea1f7
add (obvious) rebase step to PR Help in README
2020-05-03 12:23:11 +02:00
Michael Vorburger
1e2e88c8bb
add @Ignore to another SchedulerJobsTestResults method (FINERACT-857)
...
testUpdateOverdueDaysForNPA()
2020-05-03 05:52:06 +02:00
Michael Vorburger
c9f2591766
Upgrade Jersey library from 1.17 to 1.19.4 (FINERACT-920)
2020-05-03 03:12:15 +02:00
Michael Vorburger
7fe9d2bcbf
use throw instead of confusing return null inside catch
...
in JournalEntryWritePlatformServiceJpaRepositoryImpl
2020-05-03 00:07:49 +02:00
Michael Vorburger
8418dd424f
upgrade OpenJPA from 3.1.0 to 3.1.1 (FINERACT-908)
2020-05-02 22:42:10 +02:00
Michael Vorburger
1baecf27f6
add @Ignore to another SchedulerJobsTestResults methods (FINERACT-857)
...
testUpdateLoanPaidInAdvanceJobOutcome()
2020-05-02 22:39:58 +02:00
Michael Vorburger
89fdc804f0
add @Ignore to more SchedulerJobsTestResults methods (FINERACT-857)
...
testUpdateAccountingRunningBalancesJobOutcome()
testTransferFeeForLoansFromSavingsJobOutcome()
2020-05-02 20:55:00 +02:00
Michael Vorburger
c579086af0
change community-app port in docker compose from 80 to 9090 (FINERACT-845)
...
This makes it much easier and more secure to use it "rootless",
e.g. with https://podman.io's podman-compose instead (Moby) Docker.
Also includes minor README improvements useful for beginners.
2020-05-02 14:17:58 +02:00
Michael Vorburger
6e91a091f3
add @Ignore to another SchedulerJobsTestResults methods (FINERACT-857)
...
testApplyDueFeeChargesForSavingsJobOutcome()
2020-05-02 12:22:36 +02:00
Michael Vorburger
ede38dc8fa
add @Ignore to another ClientLoanIntegrationTest method (FINERACT-885)
...
loanWithFlatCahargesAndPeriodicAccrualAccountingEnabled()
2020-04-26 18:41:27 +02:00
Michael Vorburger ⛑️
d3aebf570e
add link to Web UIs, Mobile App, and fineract.dev
2020-04-26 17:26:13 +02:00
Michael Vorburger ⛑️
09fd882c72
add Policy re. unstable tests to README
2020-04-26 16:59:28 +02:00
Michael Vorburger
348d5bc855
add @Ignore to more ClientLoanIntegrationTest methods (FINERACT-885)
...
loanWithCahargesOfTypeAmountPercentageAndPeriodicAccrualAccountingEnabled()
loanWithCahargesOfTypeAmountPlusInterestPercentageAndPeriodicAccrualAccountingEnabled()
2020-04-26 16:55:56 +02:00
Michael Vorburger
a1815c1b51
add @Ignore in AccountingScenarioIntegrationTest (FINERACT-899)
...
checkPeriodicAccrualAccountingFlow()
2020-04-26 16:55:56 +02:00
Michael Vorburger
4b724c2917
add @Ignore to flaky method in ClientLoanIntegrationTest (FINERACT-885)
...
testLoanScheduleWithInterestRecalculation_WITH_REST_DAILY_INTEREST_COMPOUND_INTEREST_FEE_STRATEGY_WITH_OVERDUE_CHARGE()
2020-04-26 12:51:27 +02:00
Michael Vorburger ⛑️ and GitHub
fd9a1ba1be
add @Ignore to flaky method in RecurringDepositTest (FINERACT-855) ( #783 )
...
testRecurringDepositAccountWithPrematureClosureTypeReinvest()
2020-04-26 11:12:13 +01:00
Michael Vorburger ⛑️ and GitHub
d59ed17d97
replace long outdated '0.4.0-incubating' in API Docs by simply 'Fineract' ( #776 )
2020-04-22 09:55:54 +01:00
Michael Vorburger
212cd679e9
Ignore :( flaky :( AccountingScenarioIntegrationTest (FINERACT-899)
...
both checkPeriodicAccrualAccountingFlow_OVER_PAYMENT()
as well as checkPeriodicAccrualAccountingTillCurrentDateFlow()
but not the others
2020-04-18 23:07:24 +02:00
Michael Vorburger ⛑️ and GitHub
005cc2129a
remove JAVA_OPTS from docker-compose.yml (FINERACT-900) ( #773 )
2020-04-18 06:26:45 +01:00
Michael Vorburger
1c74398d90
add MySQL JDBC Driver (LGPL) to Dockerfile + doc (fixes FINERACT-762)
...
Note that it is NOT enabled by default, which should be OK for the ASF.
The main point here is just to clearly document it for end-users.
I've obviously tried out what's documented, and can confirm it works.
2020-04-18 01:46:56 +02:00
Michael Vorburger
64e02bc123
comment out broken MySQL JDBC driver logger (awaiting FINERACT-890)
2020-04-18 01:46:56 +02:00
Michael Vorburger ⛑️ and GitHub
c7b58b9869
escape all grouping in SQL files for MySQL 8 compatibility ( #757 )
...
Indirectly related to FINERACT-762 - not sure if strictly required,
but seems like a good idea anyway at this opportunity, so why not.
As originally on https://github.com/apache/fineract/pull/638/files
2020-04-17 22:40:42 +01:00
Michael Vorburger
059d1bebe7
comment out flaky testSavingsAccount_DormancyTracking (FINERACT-852)
2020-04-17 19:37:28 +02:00
Michael Vorburger
a5b35b8d31
clean-up to remove apparently unused PORT ENV (related to FINERACT-762)
...
This environment variable is actually never used. The port of a Tenant
DB instead appears to be read from schemaServerPort of the
tenant_server_connections table.
2020-04-17 19:09:24 +02:00
Michael Vorburger
f1c7a7b4bc
add DRIVERCLASS_NAME, PROTOCOL, SUB_PROTOCOL to docker-compose.yml
...
These are the default values, from jdbc.properties, only added for
clarity and to make it obvious that they need to be changed e.g. for
FINERACT-762.
The different formats and naming conventions are a little bit of a mess,
but changing them now leads to backwards incompatibility, so for now
let's leave as is; possible clean up later in FINERACT-889.
2020-04-15 17:58:36 +02:00
Michael Vorburger
519dd204d8
set fineract_tenants_* more nicely in docker-compose.yml
...
We can use environment variables instead of system properties.
We originally had to use system properties and could not use environment
variables, because these used to read by Tomcat, but since the switch
to Hikari in FINERACT-796 these are read by Spring Boot instead of
Tomcat, so we can now use system properties.
This both "looks nicer" and is useful e.g. for FINERACT-881.
2020-04-15 17:58:36 +02:00
Michael Vorburger ⛑️ and GitHub
9517051340
comment out flaky SchedulerJobsTest (FINERACT-852) ( #764 )
...
Also adds a new assertion for a clearer failure message than the
confusing low-level technical ArrayIndexOutOfBoundsException for
whenever this test will be re-activated later.
2020-04-15 10:36:46 +01:00
Michael Vorburger ⛑️ and GitHub
fd7fa63002
improve ClientSavingsIntegrationTest error reporting (FINERACT-852) ( #765 )
...
Adds a new assertion for a hopefully clearer failure message than the
confusing low-level technical ArrayIndexOutOfBoundsException we
regularly hit on Travis CI.
Similar to https://github.com/apache/fineract/pull/764
2020-04-15 09:34:33 +01:00
Michael Vorburger
c9a1b38b0e
chmod +x kubernetes/*.sh (and some README updates)
2020-04-12 13:37:47 +02:00
Michael Vorburger
09d0cfaa52
Remove AbstractPersistableCustom's PK parameterization
...
Because both are pointless, as the PK @Id is hard-coded to Long anyway,
and the U is (rightfully) fixed to always be an AppUser here.
2020-04-07 23:46:20 +02:00
Michael Vorburger
dccea1d65e
add @Transient to AbstractPersistableCustom isNew()
...
see https://jira.spring.io/browse/DATAJPA-622
Even though we don't use Hibernate, copying this annotation from the
original class in Spring Data seems prudent - just in case. It should
not cause any harm or side effects on OpenJPA.
2020-04-07 23:46:20 +02:00
Michael Vorburger
ae4117052b
add missing doc to AbstractPersistableCustom & AbstractAuditableCustom
2020-04-07 23:46:20 +02:00
Michael Vorburger ⛑️ and GitHub
a0a82a0748
add link to Release Process page on Wiki to README
2020-04-06 12:03:11 +02:00
Michael Vorburger ⛑️
4ccbcba3a6
add Eclipse Checkstyle plugin tip to README
2020-03-29 13:13:29 +02:00
Michael Vorburger
53e8658d74
apply Hikari's recommended MySQL Configuration (FINERACT-796)
...
from https://github.com/brettwooldridge/HikariCP/wiki/MySQL-Configuration
and https://github.com/brettwooldridge/HikariCP/wiki/JDBC-Logging#mysql-connectorj
2020-03-28 17:58:39 +01:00
Michael Vorburger
5f2ba51f5a
Minor clean ups in DataSource Connection Pool related code
2020-03-28 17:58:39 +01:00
Michael Vorburger
99794914a5
Fix wrong @OneToOne to @ManyToOne in AbstractAuditableCustom
2020-03-28 15:07:28 +01:00
Michael Vorburger
b1eb62f221
fix broken build due to small logging error detected by SpotBugs
...
significant reformatting due to Eclipse auto-save action (someone really
needs to finish the Checkstyle uniform formatting)
see https://github.com/apache/fineract/pull/592
2020-03-15 11:05:30 +01:00
Michael Vorburger
1b1e80b6b1
Log errors from cron jobs individually and with cause (FINERACT-858)
...
instead of current huge JobExecutionException message (without cause)
2020-03-10 17:10:01 +01:00
Michael Vorburger ⛑️ and GitHub
0c9273a11b
throw exception with details in InteropServiceImpl (FINERACT-860) ( #728 )
...
instead of the NoSuchElementException from Optional.get(), we're now
throwing an UnsupportedOperationException which includes the details of
the missing object. (This kind of detailed exception was already thrown
in two existing places in the same code after a null check, but it never
reached there, because the Optional.get() failed earlier. Another
option would have been to return null for an absent Optional, but this
is better.)
The other unrelated changes are automatic clean up actions (in Eclipse).
2020-03-10 12:29:07 +01:00