Commit Graph
5212 Commits
Author SHA1 Message Date
Michael Vorburger ⛑️andGitHub d59ed17d97 replace long outdated '0.4.0-incubating' in API Docs by simply 'Fineract' (#776) 2020-04-22 09:55:54 +01:00
xurrorandMichael Vorburger ⛑️ dd1ec2f356 Clean up on #772 2020-04-19 14:15:21 +02:00
xurrorandMichael Vorburger ⛑️ 8b92b38886 FINERACT-881
Remove hard-coded default passwords
2020-04-19 12:18:49 +02: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
percyashuandMichael Vorburger ⛑️ 83899c2fb0 FINERACT-826 Remove unused getTimeZone 2020-04-18 17:37:46 +02:00
Michael Vorburger ⛑️andGitHub 005cc2129a remove JAVA_OPTS from docker-compose.yml (FINERACT-900) (#773) 2020-04-18 06:26:45 +01:00
thesmallstarandMichael Vorburger ⛑️ dd2e934cb1 Added One Statement per line and Enforced checkstyle 2020-04-18 03:23:54 +02: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 ⛑️andGitHub 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 ⛑️andGitHub 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 ⛑️andGitHub 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
26b619eea7 FINERACT-809 (#719) : Upgrade RestAssured version
Upgrade RestAssured version

closes https://issues.apache.org/jira/browse/FINERACT-809

Co-authored-by: percyashu <percyayukashu@gmail.com>

Co-authored-by: percyashu <percyayukashu@gmail.com>
2020-04-12 20:36:15 +01:00
Michael Vorburger c9a1b38b0e chmod +x kubernetes/*.sh (and some README updates) 2020-04-12 13:37:47 +02:00
xurrorandMichael Vorburger ⛑️ a9c2140463 Setup configMap and startup and shutdown scripts 2020-04-12 11:06:38 +02:00
xurrorandMichael Vorburger ⛑️ 472f5b6280 FINERACT-783
- Update README.md with instructions for kubernetes
 - Setup fineractmysql configuration file
 - Setup fineract-server configuration file
closes https://issues.apache.org/jira/browse/FINERACT-783
2020-04-12 11:06:38 +02:00
thesmallstarandMichael Vorburger ⛑️ beee2e5330 Fixed: Checkstyle Violations 2020-04-07 23:46:20 +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
NatashaandMichael Vorburger ⛑️ d0c8c6a012 FINERACT-538 populated updated and created address 2020-04-07 23:15:25 +02:00
NatashaandMichael Vorburger ⛑️ eb8a3572ae FINERACT-122 added clientId, officeId, and groupId. 2020-04-07 23:11:48 +02:00
Manthan SurkarandMichael Vorburger ⛑️ 110684bf30 Added: IntelliJ Checkstyle plugin tip to README 2020-04-07 10:08:03 +02:00
Michael Vorburger ⛑️andGitHub a0a82a0748 add link to Release Process page on Wiki to README 2020-04-06 12:03:11 +02:00
Manthan SurkarandGitHub 402c41dd95 Add Jacoco to measure code coverage (FINERACT-725 / PR #742)
* Added Code Coverage Section in Readme
2020-04-01 23:29:15 +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
xurrorandMichael Vorburger ⛑️ 3475c0cfb7 FINERACT-796
Use Hikari instead of Tomcat Connection Pool
 - Created hikari connection pool bean
 - Configured connection parameters to match hikari
 - Removed tomcat-jdbc and dbcp
 - Remove unused classes
 - Add Hikari to logback
 - update hikaridatasource bean

closes https://issues.apache.org/jira/browse/FINERACT-796

remove hikaricp import from gradle files

more specific bean config

- Set up datasource properties
- Cleanup unused classes
- Add hikari to logback
2020-03-28 15:06:34 +01:00
percyashuandMichael Vorburger ⛑️ 2e620b4de8 FINERACT-823 Gradle modernizer fixing violations 2020-03-23 00:54:00 +01:00
percyashuandMichael Vorburger ⛑️ ef5bba4d52 Minor Typo fix 2020-03-17 20:53:02 +01:00
thesmallstarandMichael Vorburger ⛑️ 3f11dc51a9 Fix: Duplicate migration version 2020-03-15 11:05:30 +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
Angel CajasandMichael Vorburger ⛑️ b9b265b915 Fineract-614
Changes to comply with Checkstyle rules
2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ 8df44af628 Fineract-614:
Updating Global Configurations
Fixing some rebase conflicts
Change to imports on IntegrationTest for CheckStyle
2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ 15a4a7695a Fineract-614:
Updating Global Configurations
Fixing some rebase conflicts
2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ 3a1a90d15e Fineract-614: Renaming SQL file for a higher version number 2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ e2f5c95034 Fixing some code to be compatible with Spring update 2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ c342f5b43d FINERACT-737: Updated Api Docs to include loan charges paid by
FINERACT-736: Api Docs were updated to include rates documentation
FINERACT-735: Integration test were created for rates creation, retrieval and update

Missing permission READ_RATE
2020-03-13 17:15:25 +01:00
Angel CajasandMichael Vorburger ⛑️ a7d4c83e92 A new rates module was added to define new rates that can be used to set min and max nominal interest rate, when a new loan account is created they can be used to determine which rates may be applicable for the loan account. 2020-03-13 17:15:25 +01:00
xurrorandMichael Vorburger ⛑️ f484f884a0 FINERACT-696
add spotbug bug-pattern plugin.

Apply suggestions from code review

closes https://issues.apache.org/jira/browse/FINERACT-696

Co-Authored-By: Michael Vorburger ⛑️ <mike@vorburger.ch>
2020-03-13 09:27:34 +01:00
thesmallstarandMichael Vorburger ⛑️ de329e2489 FINERACT-83 Made interestIncome variable null-safe 2020-03-12 12:57:18 +01:00
thesmallstarandMichael Vorburger ⛑️ 93d1716630 Added: SQL builder toString function 2020-03-12 12:54:46 +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 ⛑️andGitHub 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