Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix for database insert failures #410

Merged
merged 46 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7428740
ci: disbale int test for snapshots until fixed
oderayi Jun 27, 2024
cf5c0ac
chore(snapshot): 17.0.0-snapshot.0
oderayi Jun 27, 2024
2f7795c
chore(snapshot): 17.0.0-snapshot.1
oderayi Jun 27, 2024
8a1dee5
chore(snapshot): 17.0.0-snapshot.2
oderayi Jun 27, 2024
905abbc
ci: update config
oderayi Jun 27, 2024
81edd84
chore(snapshot): 17.0.0-snapshot.3
oderayi Jun 27, 2024
c633370
ci: update config
oderayi Jun 27, 2024
ec9b3c4
chore(snapshot): 17.0.0-snapshot.4
oderayi Jun 27, 2024
679b0e4
fix: ensure central ledger knex is initialized on startup
oderayi Sep 12, 2024
870b4e7
chore: fix audit
oderayi Sep 12, 2024
3485068
chore(snapshot): 17.0.0-snapshot.5
oderayi Sep 12, 2024
68a1235
test: update unit tests
oderayi Sep 12, 2024
2790a1d
chore(snapshot): 17.0.0-snapshot.6
oderayi Sep 12, 2024
362e675
chore: update deps
oderayi Sep 12, 2024
9bb63a2
chore(snapshot): 17.0.0-snapshot.7
oderayi Sep 12, 2024
417dee3
fix: fix transferParticipant query
oderayi Sep 12, 2024
17c19cf
chore(snapshot): 17.0.0-snapshot.8
oderayi Sep 12, 2024
13d5b92
fix: fix insert for participantPositionChange, add participantCurrenc…
oderayi Sep 13, 2024
c4f7a94
chore(snapshot): 17.0.0-snapshot.9
oderayi Sep 13, 2024
c4e54d6
chore(snapshot): 17.0.0-snapshot.10
oderayi Sep 13, 2024
a9a004a
chore(snapshot): 17.0.0-snapshot.11
oderayi Sep 13, 2024
4b6dbb9
fix: more fixes for participantPositionChange insert of participantCu…
oderayi Sep 13, 2024
a859b4e
chore(snapshot): 17.0.0-snapshot.12
oderayi Sep 13, 2024
625259e
fix: fix settlementContentAggregagion query in line with fx db changes
oderayi Sep 18, 2024
b751337
chore: update deps
oderayi Sep 18, 2024
f9dcb74
chore(snapshot): 17.0.0-snapshot.13
oderayi Sep 18, 2024
61f0598
test: temp disable coverage for faced
oderayi Sep 18, 2024
3761324
chore(snapshot): 17.0.0-snapshot.14
oderayi Sep 18, 2024
b4dce52
doc: update comment
oderayi Sep 19, 2024
12d7837
chore: remove comment
oderayi Sep 19, 2024
7710b17
fix: use ppc.change
oderayi Sep 19, 2024
e560172
chore(snapshot): 17.0.0-snapshot.15
oderayi Sep 19, 2024
3da5de5
ci: upgrade cl version
oderayi Sep 19, 2024
96d92e8
fix: fixes for participantPositionChange
oderayi Sep 19, 2024
3ba3c0d
chore(snapshot): 17.0.0-snapshot.16
oderayi Sep 19, 2024
44345c5
fix: add fx query and fix(?) db commit/rollback (#411)
kleyow Sep 20, 2024
52b2008
fix: refactor queries
vijayg10 Sep 20, 2024
85b9853
chore(snapshot): 17.0.0-snapshot.17
kleyow Sep 21, 2024
87d9be8
chore: lint dep
kleyow Sep 21, 2024
f306812
chore(snapshot): 17.0.0-snapshot.18
kleyow Sep 21, 2024
c98c6a8
chore: addressed pr comments
vijayg10 Sep 23, 2024
dc0e99b
chore: udpate deps
vijayg10 Sep 23, 2024
3e77dd1
chore: re-enable test coverage check for ignored file, some cleanups
oderayi Sep 23, 2024
16fc26a
Merge branch 'fix/csi-640-database-failures' of github.com:mojaloop/c…
oderayi Sep 23, 2024
727faf2
test: update tests
oderayi Sep 24, 2024
8924e89
ci: upgrade vesions in docker-compose
oderayi Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,9 @@ workflows:
- build-local
filters:
tags:
only: /.*/
# only: /.*/
# disabling integration tests for snapshots until tests are fixed for fx compatibility
ignore: /v[0-9]+(\.[0-9]+)*(\-snapshot(\.[0-9]+)?)?/
branches:
ignore:
- /feature*/
Expand Down
5 changes: 1 addition & 4 deletions .ncurc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ reject: [
"@mojaloop/central-services-error-handling",
"@mojaloop/event-sdk",
# prevents CI from running package install in v6.1.1
"sinon",
# upgrading chai beyond v4.3.10 causes peer dependencies conflict.
# can be upgraded when chai-exclude is upgraded.
"chai"
"sinon"
]
1 change: 1 addition & 0 deletions .nycrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ exclude: [
"**/node_modules/**",
'**/migrations/**',
'**/docs/**',
'src/models/settlementWindow/facade.js' # TODO: remove this line once test coverage is updated
]
11 changes: 8 additions & 3 deletions audit-ci.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,32 @@
"GHSA-4jv9-3563-23j3", // https://github.com/advisories/GHSA-4jv9-3563-23j3
"GHSA-5854-jvxx-2cg9", // https://github.com/advisories/GHSA-5854-jvxx-2cg9
"GHSA-6vfc-qv3f-vr6c", // https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
"GHSA-78xj-cgh5-2h22", // https://github.com/advisories/GHSA-78xj-cgh5-2h22
"GHSA-7fh5-64p2-3v2j", // https://github.com/advisories/GHSA-7fh5-64p2-3v2j
"GHSA-7hx8-2rxv-66xv", // https://github.com/advisories/GHSA-7hx8-2rxv-66xv
"GHSA-7v5v-9h63-cj86", // https://github.com/advisories/GHSA-7v5v-9h63-cj86
"GHSA-8cf7-32gw-wr33", // https://github.com/advisories/GHSA-8cf7-32gw-wr33
"GHSA-8hc4-vh64-cxmj", // https://github.com/advisories/GHSA-8hc4-vh64-cxmj
"GHSA-952p-6rrq-rcjv", // https://github.com/advisories/GHSA-952p-6rrq-rcjv
"GHSA-9wv6-86v2-598j", // https://github.com/advisories/GHSA-9wv6-86v2-598j
"GHSA-c429-5p7v-vgjp", // https://github.com/advisories/GHSA-c429-5p7v-vgjp
"GHSA-cgfm-xwp7-2cvr", // https://github.com/advisories/GHSA-cgfm-xwp7-2cvr
"GHSA-f5x3-32g6-xq36", // https://github.com/advisories/GHSA-f5x3-32g6-xq36
"GHSA-cm22-4g7w-348p", // https://github.com/advisories/GHSA-cm22-4g7w-348p
"GHSA-g64q-3vg8-8f93", // https://github.com/advisories/GHSA-g64q-3vg8-8f93
"GHSA-ghr5-ch3p-vcr6", // https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
"GHSA-grv7-fg5c-xmjg", // https://github.com/advisories/GHSA-grv7-fg5c-xmjg
"GHSA-hjrf-2m68-5959", // https://github.com/advisories/GHSA-hjrf-2m68-5959
"GHSA-m6fv-jmcg-4jfg", // https://github.com/advisories/GHSA-m6fv-jmcg-4jfg
"GHSA-mg85-8mv5-ffjr", // https://github.com/advisories/GHSA-mg85-8mv5-ffjr
"GHSA-mjxr-4v3x-q3m4", // https://github.com/advisories/GHSA-mjxr-4v3x-q3m4
"GHSA-p9pc-299p-vxgp", // https://github.com/advisories/GHSA-p9pc-299p-vxgp
"GHSA-phwq-j96m-2c2q", // https://github.com/advisories/GHSA-phwq-j96m-2c2q
"GHSA-qgmg-gppg-76g5", // https://github.com/advisories/GHSA-qgmg-gppg-76g5
"GHSA-qw6h-vgh9-j6wx", // https://github.com/advisories/GHSA-qw6h-vgh9-j6wx
"GHSA-qwcr-r2fm-qrc7", // https://github.com/advisories/GHSA-qwcr-r2fm-qrc7
"GHSA-qwph-4952-7xr6", // https://github.com/advisories/GHSA-qwph-4952-7xr6
"GHSA-rjqq-98f6-6j3r", // https://github.com/advisories/GHSA-rjqq-98f6-6j3r
"GHSA-rm97-x556-q36h", // https://github.com/advisories/GHSA-rm97-x556-q36h
"GHSA-v88g-cgmw-v5xw", // https://github.com/advisories/GHSA-v88g-cgmw-v5xw
"GHSA-w5p7-h5w8-2hfq" // https://github.com/advisories/GHSA-w5p7-h5w8-2hfq
"GHSA-w5p7-h5w8-2hfq" // https://github.com/advisories/GHSA-w5p7-h5w8-2hfq
]
}
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ services:
interval: 30s

central-ledger:
image: mojaloop/central-ledger:v17.7.0-snapshot.16
# image: mojaloop/central-ledger:v17.7.0-snapshot.16
# image: mojaloop/central-ledger:v17.8.0-snapshot.27
image: mojaloop/central-ledger:v17.8.0-snapshot.30
container_name: cs_central-ledger
command:
- "sh"
Expand Down
9 changes: 9 additions & 0 deletions docker/central-ledger/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"MAX_BYTE_SIZE": 10000000,
"EXPIRES_IN_MS": 1000
},
"PROXY_CACHE": {
"enabled": false,
"type": "redis-cluster",
"proxyConfig": {
"cluster": [
{ "host": "localhost", "port": 6379 }
]
}
},
"KAFKA": {
"TOPIC_TEMPLATES": {
"PARTICIPANT_TOPIC_TEMPLATE": {
Expand Down
Loading