Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1307 commits
Select commit Hold shift + click to select a range
3f0fd30
PHEE-440 Create a worker to send the callback in ams_mifos (#48)
logoutdhaval Oct 13, 2023
5f637a5
GOV-301: Update BPMN to add Authorization Worker (#185)
danishjamal104 Oct 16, 2023
b4a6520
PHEE 307,419 Applied formatting and styling (#50)
dhruvsonagara Oct 20, 2023
b2f59c6
PHEE-455 Fix AMS mifos startup issue (#53)
dhruvsonagara Oct 25, 2023
52c47f8
Adding IAM hostname (#187)
apurbraj Nov 1, 2023
2f3b0db
G2PCCODV-43 - Barebones base helm chart (#175)
Anover000 Nov 3, 2023
09c60b6
PHEE-461 Update mojaloop tls secret in env-labs (#191)
Anover000 Nov 3, 2023
f740234
PHEE 307 Applied formatting and styling (#23)
dhruvsonagara Nov 3, 2023
1da1eed
GOV-287.3: Migrated channel ingress to kong (#174)
danishjamal104 Nov 10, 2023
5de1937
Gov 287.3 Added Channel service annotation (#194)
danishjamal104 Nov 10, 2023
2e11eb5
#GOV-134 enable liveness and readiness (#43)
somanath21 Nov 10, 2023
b85e171
Gov 325: De duplicate worker added (#197)
danishjamal104 Nov 21, 2023
4470cdc
[PHEE-477] Create an orb that fetches the docker images and do helm u…
logoutdhaval Nov 22, 2023
d482c7b
PHEE-482 Update fspids in ams mifos (#54)
Anover000 Nov 23, 2023
bb4a15d
[PHEE-484] g2p-sandbox-fynarfin-SIT is not using docker latest image …
logoutdhaval Nov 24, 2023
85afe5b
[PHEE-477] Create an orb that fetches the docker images and do helm u…
logoutdhaval Nov 27, 2023
b563a2a
[PHEE-477] Create an orb that fetches the docker images and do helm u…
logoutdhaval Nov 27, 2023
5fa6da5
[PHEE-477] Create an orb that fetches the docker images and do helm u…
logoutdhaval Nov 27, 2023
12ae7b1
[PHEE-477] Create an orb that fetches the docker images and do helm… …
logoutdhaval Nov 27, 2023
cf13a84
Operations-chart-grafana-version fixed (#200)
fynmanoj Nov 28, 2023
f1dbe2d
[PHEE-490] Publish helm chart with jira ticket from circleci (#202)
logoutdhaval Nov 29, 2023
972b63b
[PHEE-499] Worker DFSPIDs in inbound-ams-mifo.bpmn workflow is not ch…
logoutdhaval Dec 1, 2023
78d40bf
PHEE-500 Apply check for chart availability during deployment. (#204)
logoutdhaval Dec 1, 2023
1bb6579
[PHEE-496] phee-488 add callback url option in ml connector for looku…
Anover000 Dec 4, 2023
5e13d0f
[PHEE-496] Update ml-connector config (#201)
Anover000 Dec 4, 2023
3cdcbfe
[PHEE-499] Worker DFSPIDs in inbound-ams-mifo.bpmn workflow is not ch…
logoutdhaval Dec 4, 2023
046e649
[PHEE-499] Worker DFSPIDs in inbound-ams-mifo.bpmn workflow is not ch…
logoutdhaval Dec 4, 2023
7727ab5
g2p-sandbox chart fix (#208)
logoutdhaval Dec 14, 2023
996ceea
Initial commit
fynmanoj Dec 20, 2023
91d899f
Initial commit
fynmanoj Dec 20, 2023
1cd8ebf
PHEE-512 Provide a release for the mifos circleci orb. (#214)
logoutdhaval Dec 26, 2023
55021c0
remove-test-execution-as-this-step-is-broken
fynmanoj Dec 26, 2023
b8df516
bulk-port-change
fynmanoj Dec 26, 2023
90ed953
Adding circleci and dockerfile (#8)
apurbraj Dec 26, 2023
6c7da17
[PHEE-519] Update payer fund transfer related BPMNs (#218)
Anover000 Dec 27, 2023
549c4ee
[GOV-134] Fix liveness and readiness build issues (#58)
dhruvsonagara Dec 27, 2023
55f21f7
p2g bpmns (#206)
ankita10r Dec 27, 2023
b38cee0
[GOV-78] Fix for P2P (#27)
ankita10r Dec 27, 2023
98f2c19
circle ci for bill pay
ankita10r Dec 28, 2023
03677d2
circle ci for crm
ankita10r Dec 28, 2023
a4cb6d0
Merge pull request #2 from ankita10r/P2gcircle
fynmanoj Dec 28, 2023
eda106f
Merge pull request #2 from ankita10r/P2gcircle
fynmanoj Dec 28, 2023
d587997
added services in service txt (#221)
ankita10r Dec 28, 2023
48045ab
P2G
ankita10r Dec 28, 2023
3a74d89
P2G 1
ankita10r Dec 28, 2023
31228db
P2G
ankita10r Dec 28, 2023
ffc11b7
Merge pull request #1 from ankita10r/P2G
fynmanoj Dec 28, 2023
de42f11
Merge pull request #1 from ankita10r/P2G
fynmanoj Dec 28, 2023
c5f3718
P2G helm override (#217)
ankita10r Dec 28, 2023
90b3c3e
dummy commit
fynmanoj Dec 29, 2023
476e826
P2G RTP
apurbraj Dec 29, 2023
e6d9cc9
Ingress change
apurbraj Dec 29, 2023
d38b719
Worker fix
apurbraj Dec 29, 2023
7216064
Code cleanup and worker changes
apurbraj Dec 29, 2023
f6598d1
Adding rtpId variable
apurbraj Dec 29, 2023
3970576
Changing varibale names
apurbraj Dec 29, 2023
74db9c3
cetificate
apurbraj Dec 29, 2023
687ae86
[GOV-83] Connector (#215)
apurbraj Dec 30, 2023
c84cdbf
[GOV-83] P2G RTP (#7)
apurbraj Dec 30, 2023
00ee402
Merge pull request #4 from apurbraj/master
fynmanoj Dec 30, 2023
758139d
[GOV-134] Fix liveness and readiness issues (#17)
dhruvsonagara Dec 31, 2023
75fc4c0
Changing docker image for ph-ee-connector (#223)
apurbraj Jan 1, 2024
caee742
[GOV-134] Fix liveness and readiness issues (#26)
dhruvsonagara Jan 2, 2024
2b57523
[GOV-134] Fix liveness and readiness issues (#35)
dhruvsonagara Jan 2, 2024
7a3959f
GOV-324 (#151)
apurbraj Jan 2, 2024
c1ce0db
Delete config map
fynmanoj Jan 3, 2024
48593b8
revert-delete-config
fynmanoj Jan 3, 2024
86338ef
[PHEE-494] Add Minio to the ph ee engine helm chart (#207)
logoutdhaval Jan 4, 2024
8b881c4
[G2PCCODV-50] Update Kafka and Importer Rdbms (#225)
Anover000 Jan 10, 2024
cd53bff
[PHEE-503] Post installation job (#224)
somanath21 Jan 10, 2024
9fa103b
update-image-tag
fynmanoj Jan 11, 2024
b306a16
[PHEE-540] Update Operations-App Ingress url with service name in Cha…
shkr7 Jan 22, 2024
33c425f
[GOV-83] P2G NonRTP TCs
ankita10r Jan 31, 2024
19aec0d
[GOV-83] P2G NonRTP TCs
ankita10r Jan 31, 2024
d908e2e
[GOV-83] P2G NonRTP TCs
ankita10r Jan 31, 2024
b62e01b
[GOV-83] P2G NonRTP TCs
ankita10r Jan 31, 2024
b281ecb
[PHEE-551] Get Operations-web up and running (#228)
Anover000 Feb 1, 2024
49ee851
Disable post_installation job (#229)
somanath21 Feb 2, 2024
694a27b
[GOV-83] P2G NonRTP TCs
ankita10r Feb 2, 2024
aaa598a
[GOV-83] P2G NonRTP TCs
ankita10r Feb 2, 2024
36f551c
Update services.txt with integration-test image (#231)
somanath21 Feb 2, 2024
854ef4d
[GOV-83] P2G NonRTP TCs (#227)
ankita10r Feb 4, 2024
a3be716
Merge pull request #4 from ankita10r/GOV83BITcs
fynmanoj Feb 4, 2024
1a43c5d
Merge pull request #5 from ankita10r/GOV83BITcs
fynmanoj Feb 4, 2024
6f5206a
update-image-name
fynmanoj Feb 5, 2024
3464fc5
GOV-83
apurbraj Feb 5, 2024
9d9014e
[PHEE-552] Updated Sub-Batch Id assigned. (#12)
abhinavm117 Feb 5, 2024
86c9e5e
[PHEE-552] BPMN updated for bulk closed loop DFSPID (#234)
abhinavm117 Feb 5, 2024
d645598
GOV-83 (#233)
apurbraj Feb 6, 2024
2e4e474
Updating connector common version
apurbraj Feb 6, 2024
6b7b383
Adding header in callback
apurbraj Feb 6, 2024
a1ef92c
remove hardorded values
apurbraj Feb 6, 2024
da6d08b
Merge pull request #6 from apurbraj/validation
fynmanoj Feb 6, 2024
25b7120
checkstyle changes
apurbraj Feb 7, 2024
c12cdac
Merge pull request #7 from apurbraj/chekstyle
fynmanoj Feb 7, 2024
9c1a46d
[PHEE-570] create g2p-sandbox-fynarfin-demo chart (#236)
Anover000 Feb 9, 2024
1f965c5
[PHEE-570] create g2p-sandbox-fynarfin-demo chart (#238)
Anover000 Feb 12, 2024
2dbee46
[PHEE-575] Archived BPMNs that won't be picked up by CircleCI (#239)
somanath21 Feb 13, 2024
2016ea0
lion->wakanda (#240)
Anover000 Feb 15, 2024
da902a5
[PHEE-560] Reduce Memory Consumption of reported services (#18)
Anover000 Feb 15, 2024
2b6cf29
zeebe dep 8.1.1->8.1.23, pollInt prop configurable, 1-> 10 (#61)
Anover000 Feb 15, 2024
df28fe0
PHEE-584 Fix the DFSP IDs work around from SIT chart (#241)
dhruvsonagara Feb 15, 2024
1c62c86
[PHEE-585] Fixed retry logic in bulk_processor_account_lookup BPMN (#…
shkr7 Feb 16, 2024
4e9dcf7
[PHEE-588] Fix AMS failing test cases from AMS connector (#62)
dhruvsonagara Feb 16, 2024
a454445
PHEE-588 Fix AMS failing test cases from AMS connector (#243)
dhruvsonagara Feb 20, 2024
ad03e21
update mojaloop connector tenants (#244)
Anover000 Feb 21, 2024
01a2d52
[PHEE-596] enable callback for voucher redeem and pay and transfer st…
logoutdhaval Feb 22, 2024
db1b8bc
check for the elastic-certificates.p12 file (#247)
somanath21 Mar 1, 2024
7ea5d40
[PHEE-571] Disable docker and save p12 file (#248)
somanath21 Mar 4, 2024
680f9fa
[PHEE-571] Update Kibana makefile (#249)
somanath21 Mar 4, 2024
8cfa958
[PHEE-603] Create Add payment advice flag in redeem and Pay BPMN. (#250)
logoutdhaval Mar 5, 2024
b60c91b
change in flag (#251)
logoutdhaval Mar 6, 2024
be0eb3c
Update setup_remote_docker version for CircleCI
Mar 7, 2024
0104bb2
move-slcb-bpmn
fynmanoj Mar 7, 2024
40f9fa7
Update setup_remote_docker version for CircleCI
Mar 7, 2024
610f49e
[PHEE-617] Getting multiple callbacks on single batch transaction API…
logoutdhaval Mar 14, 2024
ef1debf
Adding zeebe variables
apurbraj Mar 19, 2024
784bd0c
checkstyle fix
apurbraj Mar 19, 2024
f3db0ea
[GOV-83A] Changes for db consistency
ankita10r Mar 19, 2024
e169bc4
[GOV-83A]Added fields for db and tc
ankita10r Mar 19, 2024
51a08f2
Merge pull request #11 from ankita10r/newGOV-83A
fynmanoj Mar 19, 2024
3465692
Merge pull request #6 from ankita10r/GOV-83A
fynmanoj Mar 19, 2024
a5d57cc
Merge pull request #10 from apurbraj/bill
fynmanoj Mar 19, 2024
3a8fc96
changing bill request bpmn (#257)
apurbraj Mar 19, 2024
3051492
tansastion id change
apurbraj Mar 20, 2024
4049aa1
Adding zeebe variables
apurbraj Mar 20, 2024
bff2359
Adding state as zeebe variable
apurbraj Mar 22, 2024
6fbcfa3
Adding state
apurbraj Mar 25, 2024
5534b1b
adding variable
apurbraj Mar 25, 2024
3cb7efc
log
apurbraj Mar 25, 2024
dcbf9a3
fix
apurbraj Mar 25, 2024
8f8d27d
cleanup
apurbraj Mar 26, 2024
fd48205
fix
apurbraj Mar 26, 2024
829b994
test
apurbraj Mar 26, 2024
d2e32f1
Merge pull request #12 from apurbraj/bill
fynmanoj Mar 26, 2024
3a2ccab
[GOV-83C] Adding state as variable (#13)
apurbraj Mar 26, 2024
bb7d74c
Merge pull request #7 from apurbraj/gov
fynmanoj Mar 26, 2024
abacb96
Merge pull request #67 from somanath21/PHEE-606
somanath21 Mar 28, 2024
6d6e423
expose management endpoints for health checks
Mar 28, 2024
b988260
Enable management endpoints for health checks
Mar 30, 2024
4dcd719
Merge pull request #36 from somanath21/PHEE-606
somanath21 Apr 1, 2024
13e15c2
enable the health endpoint for Spring Boot Actuator configuration (#69)
somanath21 Apr 1, 2024
cc0d219
Merge pull request #13 from somanath21/GOV-134
fynmanoj Apr 1, 2024
4dd7f04
[PHEE-641] CSV Schema update (#14)
abhinavm117 Apr 9, 2024
7e49177
[PHEE-648] Fix AWS s3 status code 404 issue. (#260)
logoutdhaval Apr 11, 2024
aabecdc
Create DMP_2024.yml
edcable Apr 13, 2024
5c602eb
Create DMP_2024.yml
edcable Apr 13, 2024
674cef1
Create DMP_2024.yml
edcable Apr 13, 2024
883f893
Merge pull request #261 from openMF/edcable-patch-1
edcable Apr 13, 2024
f1b45f6
Merge pull request #8 from somanath21/GOV-134
fynmanoj Apr 16, 2024
632d090
[GOV-134] Enable management endpoints for health checks (#29)
somanath21 Apr 16, 2024
206f00f
[GOV-134] Enable liveness and readiness (#13)
somanath21 Apr 16, 2024
7b4d743
[GOV-134] Enable liveness and readiness (#32)
somanath21 Apr 16, 2024
cee3aa9
zeebe ops (#264)
apurbraj Apr 19, 2024
2cd1cdb
port (#37)
apurbraj Apr 19, 2024
4ba9946
disable-post-install-job
fynmanoj Apr 19, 2024
238f328
scrape and visualise kong metrics (#266)
Anover000 Apr 22, 2024
ee555a8
[PHEE-657] Enable k8s dashboard in grafana (#268)
dhruvsonagara Apr 22, 2024
8610dfc
prometheus retention configuration (#269)
Anover000 Apr 24, 2024
6feb0f7
connector name change (#275)
apurbraj May 16, 2024
7e6c575
[GOV-83New] Adding status api
ankita10r May 17, 2024
9bf1691
[GOV-83New] Adding status api
ankita10r May 17, 2024
bd0fc9a
Merge pull request #9 from ankita10r/newGOV83API
fynmanoj May 20, 2024
c356fdf
Merge pull request #14 from ankita10r/newGOV83API
fynmanoj May 21, 2024
69b72bc
Add validations
shkr7 Apr 19, 2024
515a6d0
Add annotation to prepare headers
shkr7 May 6, 2024
ce81ee0
Add annotation and interceptor
shkr7 May 7, 2024
b5dad32
Update validations
shkr7 May 13, 2024
4162c5c
Add spotless changes
shkr7 May 13, 2024
0bdf51b
Updade netty dependency
shkr7 May 13, 2024
b985f12
Add logs to commit
shkr7 May 13, 2024
878d181
Update default headers
shkr7 May 13, 2024
d076af0
Update default headers
shkr7 May 13, 2024
3d85b6b
Update default headers
shkr7 May 13, 2024
f1f26c2
Updated zeebe client config
shkr7 May 13, 2024
906e20c
Update connector-common version
shkr7 May 20, 2024
f7f09b2
Updated build dependencies
shkr7 May 21, 2024
e8eafe0
Update connector common version
shkr7 May 21, 2024
d1728b1
Add spotless changes
shkr7 May 21, 2024
f4297ce
Rebased with upstream
shkr7 May 21, 2024
e4b6fce
Update header
shkr7 May 21, 2024
66e4ead
Merge pull request #15 from shkr7/validations
fynmanoj May 22, 2024
09c2b97
[PHEE-674] Create ph-ee-g2p-sandbox-ci chart (#279)
logoutdhaval Jun 5, 2024
82883fc
[PHEE-674] Create ph-ee-g2p-sandbox-ci chart (#281)
logoutdhaval Jun 6, 2024
107a70f
first commit
ankita10r Dec 5, 2023
4aabae6
new changes for P2G
ankita10r Dec 20, 2023
52ccfb6
new changes for P2G -- 1
ankita10r Dec 20, 2023
bfaed02
Update docker url and default branch name
apurbraj Jun 10, 2024
a2a2c88
Update docker url and default branch name
apurbraj Jun 11, 2024
0dfca08
Update docker url and default branch name
apurbraj Jun 11, 2024
64f8704
Update docker url and default branch name
apurbraj Jun 11, 2024
29fc481
Update docker url and default branch name
apurbraj Jun 11, 2024
8394c61
Update docker url and default branch name
apurbraj Jun 11, 2024
b3519d9
Update docker url and default branch name
apurbraj Jun 11, 2024
c5bd74b
updating docker url in services file
apurbraj Jun 11, 2024
9a30ea1
Update docker url, orb and default branch
apurbraj Jun 11, 2024
9d7ce2e
rebase fixes
apurbraj Jun 18, 2024
ef0520c
Merge pull request #1 from fynarfin/fix
apurbraj Jun 18, 2024
bd3b87a
Delete src/main/java/org/mifos/pheeBillPay directory
apurbraj Jun 18, 2024
c705722
Change orb version, fynarfin image url
apurbraj Jun 21, 2024
57a8192
Merge pull request #86 from apurbraj/test
apurbraj Jun 21, 2024
ff45efe
Update image url
apurbraj Jun 21, 2024
b6ebba4
[phee-679] Update env-template pipline to use ph-ee-g2p-sandbox-ci ch…
logoutdhaval Jun 24, 2024
4d53127
optimize events pushed
Anover000 Jun 28, 2024
2fec3c8
resolve JSONObject and ObjecMapper not compatible issue
Anover000 May 19, 2024
c544a04
Merge pull request #1 from Anover000/debug
fynmanoj Jun 28, 2024
3001801
[PHEE-699] Parallel Payee-Multi-Tenancy-Support in channel Transfer A…
Anover000 Jul 8, 2024
425f786
Multiple Payee tenants config. (#95)
Anover000 Jul 8, 2024
a3f5d03
Address review comments.
Anover000 Jul 9, 2024
bd3b731
Remove unused import. Change back json dependency from Impl to compil…
Anover000 Jul 9, 2024
2a6e468
Merge pull request #1 from Anover000/optimize
fynmanoj Jul 10, 2024
3d5dec6
moved payee transaction request bpmn out of archive (#92)
kaibalya-fynarfin Jul 11, 2024
32aabdc
Added default header field in values.yaml in fynarfin sit (#102)
kaibalya-fynarfin Jul 18, 2024
25a5ea0
Merge remote-tracking branch 'importerrdbms/develop' into develop
apurbraj Jul 24, 2024
364b6ec
Merge remote-tracking branch 'mock/develop' into develop
apurbraj Jul 24, 2024
aebb1d7
Merge remote-tracking branch 'app/develop' into develop
apurbraj Jul 24, 2024
6656414
Merge remote-tracking branch 'channel/develop' into develop
apurbraj Jul 24, 2024
9947916
Merge remote-tracking branch 'template/develop' into develop
apurbraj Jul 24, 2024
9c52da9
Merge remote-tracking branch 'bulk/develop' into develop
apurbraj Jul 24, 2024
7d84ef2
Merge remote-tracking branch 'labs/develop' into develop
apurbraj Jul 24, 2024
ca7b61b
Merge remote-tracking branch 'test/develop' into develop
apurbraj Jul 24, 2024
4e41f4f
Merge remote-tracking branch 'importeres/develop' into develop
apurbraj Jul 24, 2024
330fde7
Merge remote-tracking branch 'zeebe/develop' into develop
apurbraj Jul 24, 2024
e1182a6
Merge remote-tracking branch 'billpay/develop' into develop
apurbraj Jul 24, 2024
4a1b53e
Merge remote-tracking branch 'iam/develop' into develop
apurbraj Jul 24, 2024
48af4d8
Merge remote-tracking branch 'vouchers/develop' into develop
apurbraj Jul 24, 2024
78b3069
Merge remote-tracking branch 'crm/develop' into develop
apurbraj Jul 24, 2024
2842eba
Merge remote-tracking branch 'connector/develop' into develop
apurbraj Jul 24, 2024
d860639
Merge remote-tracking branch 'common/develop' into develop
apurbraj Jul 24, 2024
03cb825
Merge remote-tracking branch 'mojaloop/develop' into develop
apurbraj Jul 24, 2024
92efa03
Merge remote-tracking branch 'exporter/develop' into develop
apurbraj Jul 24, 2024
801a198
Merge remote-tracking branch 'misof/develop' into develop
apurbraj Jul 25, 2024
4b81441
Merge remote-tracking branch 'gsma/develop' into develop
apurbraj Jul 25, 2024
fe3d7ca
Merge remote-tracking branch 'id/develop' into develop
apurbraj Jul 25, 2024
b9cbfde
Setting up ph-ee-core
apurbraj Jul 26, 2024
1e2a91d
update circle ci config
apurbraj Jul 26, 2024
067752e
config file changes
apurbraj Jul 26, 2024
7a57bca
checsktyle config
apurbraj Jul 26, 2024
0867429
config command changes
apurbraj Jul 26, 2024
7de15ac
dummy
apurbraj Jul 26, 2024
b1c02b7
Adding env template pipeline
apurbraj Jul 26, 2024
e2b9461
Adding orb
apurbraj Jul 26, 2024
3fab7b0
pipeline fix
apurbraj Jul 26, 2024
98a7c3f
pipeline fix
apurbraj Jul 26, 2024
0781a17
test
apurbraj Jul 29, 2024
ba899b3
test
apurbraj Jul 30, 2024
b4dd83e
test
apurbraj Jul 30, 2024
edc58c9
test
apurbraj Jul 30, 2024
5eee9f0
test
apurbraj Jul 31, 2024
04556ad
test
apurbraj Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
836 changes: 836 additions & 0 deletions .circleci/config.yml

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
target/
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/

### VS Code ###
.vscode/

### MAC
.DS_Store
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ph-ee-core
32 changes: 32 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
allprojects {
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2')
}

maven {
url = uri('https://jfrog.sandbox.fynarfin.io/artifactory/fyn-libs-snapshot')
}
}
}

subprojects {
apply plugin: 'java'

version = '0.0.1-SNAPSHOT'

sourceCompatibility = '17'

repositories {
mavenCentral()
}

dependencies {
}

test {
useJUnitPlatform()
}
}

266 changes: 266 additions & 0 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0"?>

<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="error"/>

<!--
You can learn more about individual checkstyles at: https://checkstyle.sourceforge.io/
Checks related to LineLength and Indentation are only handled by Spotless
Checks included in MissingSwitchDefault are handled by ErrorProne
-->

<module name="SuppressionFilter">
<property name="file" value="${config_loc}/suppressions.xml"/>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
</module>
<module name="RegexpMultiline">
<property name="format" value="(?s:\r\n.*)"/>
<property name="message" value="File has Windows (CR+LF) instead of UNIX (LF) end of line (EOL) delimiters."/>
</module>
<module name="SuppressWarningsFilter"/>


<module name="TreeWalker">
<module name="ParameterName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$|[a-z]"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="SeparatorWrap">
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
</module>
<module name="com.github.sevntu.checkstyle.checks.coding.AvoidHidingCauseExceptionCheck" />
<module name="SuppressWarningsHolder" />
<module name="RegexpSinglelineJava">
<property name="format" value="System\.(out)|(err)\.print(ln)?\("/>
<property name="message" value="Line contains console output."/>
<property name="ignoreComments" value="false" />
</module>
<module name="EqualsHashCode"/>
<module name="FinalClass"/>
<module name="SeparatorWrap">
<property name="tokens" value="COMMA"/>
<property name="option" value="EOL"/>
</module>
<module name="NoFinalizer"/>
<module name="FallThrough"/>
<module name="IllegalThrows" />
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="AvoidStarImport"/>
<module name="LeftCurly" />
<module name="AnnotationLocation">
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
</module>
<module name="CustomImportOrder">
<property name="thirdPartyPackageRegExp" value=".*"/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>
</module>
<module name="OperatorWrap">
<property name="option" value="NL"/>
<property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
</module>
<module name="RightCurly">
<property name="option" value="ALONE_OR_SINGLELINE"/>
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, STATIC_INIT, INSTANCE_INIT"/>
</module>
<module name="com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck">
<property name="packageNameRegexp" value=".*" />
<property name="forbiddenImportsRegexp" value="com.google.common.base.Charsets" />
<property name="forbiddenImportsExcludesRegexp" value="" />
<message key="forbid.certain.imports" value="Use ''java.nio.charset.StandardCharsets'' instead of ''{0}''" />
</module>
<module name="OneStatementPerLine"/>
<module name="EmptyStatement"/>
<module name="EmptyCatchBlock">
<property name="exceptionVariableName" value="expected|ignore"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="\.printStackTrace?\("/>
<property name="message" value="Line contains printStacktrace()."/>
<property name="ignoreComments" value="false" />
</module>
<module name="TypeName">
<message key="name.invalidPattern"
value="Type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MethodTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Method type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
<!-- No PACKAGE_DEF token, as we like our license header to be glue to "package" statement, to save 1 line screen space -->
<property name="tokens" value="IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="MultipleVariableDeclarations"/>
<module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9_]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="OuterTypeFilename"/>
<module name="AnnotationLocation">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="allowSamelineMultipleAnnotations" value="true"/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="EmptyBlock">
<property name="option" value="TEXT"/>
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="UpperEll"/>
<module name="NeedBraces"/>
<module name="MethodParamPad"/>
<module name="ArrayTypeStyle"/>
<module name="NoLineWrap"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format" value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
<property name="message" value="Avoid using corresponding octal or Unicode escape."/>
</module>
<module name="GenericWhitespace">
<message key="ws.followed"
value="GenericWhitespace ''{0}'' is followed by whitespace."/>
<message key="ws.preceded"
value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
<message key="ws.illegalFollow"
value="GenericWhitespace ''{0}'' should followed by whitespace."/>
<message key="ws.notPreceded"
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module>
<module name="HideUtilityClassConstructor"/>
<module name="OneTopLevelClass"/>
<module name="MethodName">
<property name="format" value="^[a-z][a-zA-Z0-9_]*$"/>
<message key="name.invalidPattern"
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ClassTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Class type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MutableException"/>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<message key="ws.notFollowed"
value="WhitespaceAround: ''{0}'' is not followed by whitespace."/>
<message key="ws.notPreceded"
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="MemberName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="RedundantModifier"/>
<module name="ParenPad" />
<module name="ModifierOrder"/>
<module name="LocalVariableName">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$|[a-z]"/>
<property name="allowOneCharVarInForLoop" value="true"/>
<message key="name.invalidPattern"
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="AvoidNoArgumentSuperConstructorCall"/>
<module name="AvoidDoubleBraceInitialization"/>
<!-- TODO Enable many more checks (go about this one by one, step by step, raise separate PRs fixing and then enforcing):

<module name="HiddenField">
<property name="ignoreAbstractMethods" value="true" />
<property name="ignoreConstructorParameter" value="true" />
<property name="ignoreSetter" value="true" />
<property name="setterCanReturnItsClass" value="true" />
</module>


< ! - - TODO Checks for Exception Handling Anti-Patterns - - >
<module name="IllegalCatch"/>



























<module name="ConstantName" />


<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="4"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="VariableDeclarationUsageDistance"/>


<! - - Enable some JavaDoc validation (requires quite a lot of manual clean up work; not a top priority for initial Checkstyle adoption - ->
<module name="JavadocTagContinuationIndentation"/>
<module name="SummaryJavadocCheck">
<property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
</module>
<module name="JavadocStyle">
< ! - - Do NOT 'scope' this one; any JavaDoc (public/protected/private) IFF present, should be style checked. - - >
<property name="checkEmptyJavadoc" value="true" />
<property name="tokens" value="ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, VARIABLE_DEF"/>
</module>
<module name="SingleLineJavadoc"/>
<module name="NonEmptyAtclauseDescription"/>
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
< ! - - TODO Enable proper JavaDoc paragraphs (requires removing /** from all license headers) - - >
<module name="JavadocParagraph">
<property name="allowNewlineParagraph" value="false"/>
</module>
-->
</module>
<!-- NB, PS: This entire custom Checkstyle configuration originally came from (EPL'd)
https://github.com/opendaylight/odlparent/blob/master/checkstyle/src/main/resources/odl_checks.xml
(for which it was first created by Michael Vorburger.ch while he worked on that community in 2016-2018).
Michael in Jan 2020 copy/pasted this into Apache Fineract (where he has been actively contributing since
ca. 2010 when it was still Mifos), where it was then independantly maintained by Apache contributors. -->
</module>
17 changes: 17 additions & 0 deletions config/checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">

<!--
This file contains suppression rules for Checkstyle checks.
Ideally only files that cannot be modified (e.g. third-party code)
should be added here. All other violations should be fixed.
-->

<suppressions>
<suppress files="[/\\]build[/\\]generated[/\\]" checks=".*"/>
<!-- &lt;!&ndash; TODO: fix integration test formatting &ndash;&gt;-->
<suppress files="[/\\]integration-tests[/\\]src[/\\]test[/\\]main[/\\]" checks=".*"/>
</suppressions>
Loading