@mojaloop/central-ledger 9.2.2 → 15.1.3-snapshot.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +625 -204
- package/.env +3 -2
- package/.ncurc.yaml +9 -0
- package/.nvmrc +1 -1
- package/.versionrc +15 -0
- package/CHANGELOG.md +353 -0
- package/CODEOWNERS +31 -0
- package/Dockerfile +20 -14
- package/LICENSE.md +4 -4
- package/Onboarding.md +0 -7
- package/README.md +99 -22
- package/audit-resolve.json +136 -1
- package/config/default.json +82 -27
- package/docker/central-ledger/default.json +68 -21
- package/docker/ml-api-adapter/default.json +10 -1
- package/docker/wait-for/wait-for-objstore.sh +1 -6
- package/docker/wait-for/wait-for.env +1 -1
- package/docker-compose.integration.yml +8 -5
- package/docker-compose.yml +73 -16
- package/migrations/310203_transferParticipant-indexes.js +38 -0
- package/migrations/310503_participantLimit-indexes-composite.js +38 -0
- package/migrations/{400401_settlementWindowStateChange-indexes.js → 400401_settlmentWindowStateChange-indexes.js} +0 -0
- package/migrations/401301_settlementModel-indexes.js +2 -0
- package/migrations/500401_quote-hotfix-2719.js +58 -0
- package/migrations/500501_feature-fixSubIdRef.js +53 -0
- package/migrations/500601_party-2480.js +63 -0
- package/migrations/501001_quoteExtension-quote-service-174.js +46 -0
- package/migrations/501002_quoteExtension-2522.js +61 -0
- package/migrations/800101_feature-fixSubIdRef.js +90 -0
- package/migrations/910102_hotfix954.js +4 -1
- package/migrations/940100_quotePartyIdInfoExtension.js +52 -0
- package/migrations/940101_quotePartyIdInfoExtension-2522.js +64 -0
- package/migrations/950100_settlementContentAggregation-decimal184.js +40 -0
- package/migrations/950101_transferParticipantStateChange.js +46 -0
- package/migrations/950102_settlementModel-adjustPosition.js +42 -0
- package/migrations/950103_dropTransferParticipantStateChange.js +47 -0
- package/migrations/950104_settlementModel-settlementAccountTypeId.js +79 -0
- package/migrations/950106_unique_settlement_model_ledger_account_currency.js +38 -0
- package/migrations/950107_settlementWindowContent_foreign_settlementModel.js +60 -0
- package/package.json +99 -81
- package/scripts/_wait4_all.js +146 -0
- package/seeds/amountType.js +4 -6
- package/seeds/balanceOfPayments.js +4 -6
- package/seeds/bulkProcessingState.js +4 -6
- package/seeds/bulkTransferState.js +4 -6
- package/seeds/currency.js +4 -6
- package/seeds/endpointType.js +128 -7
- package/seeds/ledgerAccountType.js +11 -10
- package/seeds/ledgerEntryType.js +5 -7
- package/seeds/participant.js +4 -6
- package/seeds/participantLimitType.js +4 -6
- package/seeds/partyIdentifierType.js +4 -6
- package/seeds/partyType.js +4 -6
- package/seeds/settlementDelay.js +4 -6
- package/seeds/settlementGranularity.js +4 -6
- package/seeds/settlementInterchange.js +4 -6
- package/seeds/settlementState.js +4 -6
- package/seeds/settlementWindow1State.js +4 -6
- package/seeds/transactionInitiator.js +4 -6
- package/seeds/transactionInitiatorType.js +4 -6
- package/seeds/transactionScenario.js +4 -6
- package/seeds/transferParticipantRoleType.js +4 -6
- package/seeds/transferState.js +9 -6
- package/src/api/interface/swagger.json +728 -948
- package/src/api/ledgerAccountTypes/handler.js +55 -0
- package/src/api/ledgerAccountTypes/routes.js +63 -0
- package/src/api/metrics/handler.js +2 -2
- package/src/api/metrics/routes.js +1 -1
- package/src/api/participants/handler.js +43 -35
- package/src/api/participants/routes.js +13 -13
- package/src/api/root/routes.js +2 -2
- package/src/api/settlementModels/handler.js +9 -26
- package/src/api/settlementModels/routes.js +4 -4
- package/src/api/transactions/handler.js +46 -0
- package/src/api/transactions/routes.js +45 -0
- package/src/domain/bulkTransfer/index.js +6 -5
- package/src/domain/ledgerAccountTypes/index.js +58 -0
- package/src/domain/participant/index.js +55 -4
- package/src/domain/position/index.js +18 -2
- package/src/domain/settlement/index.js +39 -6
- package/src/domain/transactions/index.js +61 -0
- package/src/domain/transfer/index.js +22 -2
- package/src/domain/transfer/transform.js +3 -3
- package/src/handlers/admin/handler.js +24 -32
- package/src/handlers/bulk/fulfil/handler.js +89 -56
- package/src/handlers/bulk/get/handler.js +203 -0
- package/src/handlers/bulk/index.js +4 -1
- package/src/handlers/bulk/prepare/handler.js +30 -29
- package/src/handlers/bulk/processing/handler.js +61 -32
- package/src/handlers/bulk/shared/validator.js +13 -1
- package/src/handlers/index.js +18 -9
- package/src/handlers/positions/handler.js +67 -46
- package/src/handlers/register.js +7 -7
- package/src/handlers/timeouts/handler.js +9 -4
- package/src/handlers/transfers/handler.js +408 -182
- package/src/handlers/transfers/validator.js +41 -11
- package/src/lib/cache.js +8 -34
- package/src/lib/config.js +5 -7
- package/src/lib/enum.js +22 -22
- package/src/lib/enumCached.js +76 -0
- package/src/lib/healthCheck/subServiceHealth.js +2 -2
- package/src/lib/requestLogger.js +9 -9
- package/src/lib/urlParser.js +1 -1
- package/src/models/bulkTransfer/bulkTransfer.js +6 -6
- package/src/models/bulkTransfer/bulkTransferAssociation.js +3 -3
- package/src/models/bulkTransfer/bulkTransferDuplicateCheck.js +4 -4
- package/src/models/bulkTransfer/bulkTransferExtension.js +2 -2
- package/src/models/bulkTransfer/bulkTransferFulfilmentDuplicateCheck.js +4 -4
- package/src/models/bulkTransfer/bulkTransferStateChange.js +7 -7
- package/src/models/bulkTransfer/facade.js +54 -3
- package/src/models/bulkTransfer/individualTransfer.js +2 -2
- package/src/models/ilpPackets/ilpPacket.js +36 -0
- package/src/models/ledgerAccountType/ledgerAccountType.js +139 -3
- package/src/models/misc/migrationLock.js +1 -1
- package/src/models/misc/segment.js +1 -1
- package/src/models/participant/facade.js +226 -76
- package/src/models/participant/participant.js +6 -5
- package/src/models/participant/participantCached.js +8 -0
- package/src/models/participant/participantCurrency.js +7 -7
- package/src/models/participant/participantCurrencyCached.js +11 -1
- package/src/models/participant/participantLimit.js +13 -13
- package/src/models/participant/participantLimitCached.js +124 -0
- package/src/models/participant/participantPosition.js +34 -5
- package/src/models/participant/participantPositionChange.js +10 -2
- package/src/models/position/facade.js +112 -18
- package/src/models/position/participantPosition.js +6 -6
- package/src/models/settlement/settlementModel.js +92 -17
- package/src/models/settlement/settlementModelCached.js +139 -0
- package/src/models/transfer/facade.js +97 -32
- package/src/models/transfer/ilpPacket.js +4 -4
- package/src/models/transfer/transfer.js +7 -7
- package/src/models/transfer/transferDuplicateCheck.js +21 -5
- package/src/models/transfer/transferError.js +5 -5
- package/src/models/transfer/transferErrorDuplicateCheck.js +4 -4
- package/src/models/transfer/transferExtension.js +4 -4
- package/src/models/transfer/transferFulfilment.js +5 -5
- package/src/models/transfer/transferFulfilmentDuplicateCheck.js +4 -4
- package/src/models/transfer/transferParticipant.js +3 -3
- package/src/models/transfer/transferStateChange.js +11 -11
- package/src/models/transfer/transferTimeout.js +5 -5
- package/src/schema/bulkTransfer.js +4 -4
- package/src/shared/plugins.js +10 -9
- package/src/shared/setup.js +69 -46
- package/test/integration/domain/participant/index.test.js +2 -0
- package/test/integration/handlers/handlers.test.js +605 -166
- package/test/integration/handlers/root.test.js +1 -1
- package/test/integration/helpers/hubAccounts.js +62 -0
- package/test/integration/helpers/ilpPacket.js +1 -1
- package/test/integration/helpers/participantFundsInOut.js +80 -0
- package/test/integration/helpers/participantLimit.js +6 -1
- package/test/integration/helpers/settlementModels.js +88 -0
- package/test/integration/helpers/testConsumer.js +163 -0
- package/test/integration/helpers/testProducer.js +0 -1
- package/test/integration/helpers/transferDuplicateCheck.js +1 -1
- package/test/integration/helpers/transferStateChange.js +1 -1
- package/test/integration/helpers/transferTestHelper.js +3 -5
- package/test/integration/models/transfer/transferStateChange.test.js +6 -0
- package/test/unit/api/ledgerAccountTypes/handler.test.js +126 -0
- package/test/unit/api/ledgerAccountTypes/routes.test.js +52 -0
- package/test/unit/api/participants/handler.test.js +75 -33
- package/test/unit/api/root/handler.test.js +1 -1
- package/test/unit/api/root/routes.test.js +2 -2
- package/test/unit/api/settlementModels/handler.test.js +21 -57
- package/test/unit/api/transactions/handler.test.js +108 -0
- package/test/unit/api/transactions/routes.test.js +38 -0
- package/test/unit/domain/ledgerAccountTypes/index.test.js +197 -0
- package/test/unit/domain/participant/index.test.js +115 -2
- package/test/unit/domain/settlement/index.test.js +199 -29
- package/test/unit/domain/transactions/index.test.js +128 -0
- package/test/unit/domain/transfer/index.test.js +1 -0
- package/test/unit/domain/transfer/transform.test.js +2 -0
- package/test/unit/handlers/admin/handler.test.js +5 -5
- package/test/unit/handlers/bulk/get/handler.test.js +401 -0
- package/test/unit/handlers/index.test.js +6 -0
- package/test/unit/handlers/positions/handler.test.js +26 -0
- package/test/unit/handlers/register.test.js +2 -0
- package/test/unit/handlers/transfers/handler.test.js +491 -36
- package/test/unit/handlers/transfers/validator.test.js +31 -31
- package/test/unit/lib/cache.test.js +0 -64
- package/test/unit/lib/cachingOfEnums.test.js +121 -0
- package/test/unit/lib/config.test.js +34 -0
- package/test/unit/lib/enum.test.js +6 -1
- package/test/unit/lib/enumCached.test.js +82 -0
- package/test/unit/lib/healthCheck/subServiceHealth.test.js +2 -0
- package/test/unit/lib/requestLogger.test.js +14 -12
- package/test/unit/models/ilpPackets/ilpPacket.test.js +89 -0
- package/test/unit/models/ledgerAccountType/ledgerAccountType.test.js +255 -6
- package/test/unit/models/misc/migrationLock.test.js +4 -0
- package/test/unit/models/misc/segment.test.js +5 -0
- package/test/unit/models/participant/facade.test.js +493 -54
- package/test/unit/models/participant/participant.test.js +4 -0
- package/test/unit/models/participant/participantCurrency.test.js +22 -9
- package/test/unit/models/participant/participantCurrencyCached.test.js +1 -1
- package/test/unit/models/participant/participantLimit.test.js +97 -0
- package/test/unit/models/participant/participantLimitCached.test.js +232 -0
- package/test/unit/models/participant/participantPosition.test.js +217 -0
- package/test/unit/models/participant/participantPositionChange.test.js +3 -0
- package/test/unit/models/position/facade.test.js +318 -29
- package/test/unit/models/position/participantPosition.test.js +22 -7
- package/test/unit/models/settlement/settlementModel.test.js +18 -37
- package/test/unit/models/settlement/settlementModelCached.test.js +171 -0
- package/test/unit/models/transfer/facade.test.js +115 -0
- package/test/unit/models/transfer/ilpPacket.test.js +28 -11
- package/test/unit/models/transfer/transfer.test.js +13 -4
- package/test/unit/models/transfer/transferDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferError.test.js +5 -1
- package/test/unit/models/transfer/transferErrorDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferExtension.test.js +26 -9
- package/test/unit/models/transfer/transferFulfilment.test.js +14 -5
- package/test/unit/models/transfer/transferFulfilmentDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferParticipant.test.js +14 -5
- package/test/unit/models/transfer/transferStateChange.test.js +3 -0
- package/test/unit/models/transfer/transferTimeout.test.js +6 -0
- package/test/unit/seeds/amountType.test.js +6 -22
- package/test/unit/seeds/balanceOfPayments.test.js +6 -22
- package/test/unit/seeds/bulkProcessingState.test.js +84 -0
- package/test/unit/{lib/sidecar/nullClient.test.js → seeds/bulkTransferState.test.js} +36 -39
- package/test/unit/seeds/currency.test.js +6 -22
- package/test/unit/seeds/endpointType.test.js +6 -22
- package/test/unit/seeds/ledgerAccountType.test.js +5 -22
- package/test/unit/seeds/ledgerEntryType.test.js +6 -22
- package/test/unit/seeds/participant.test.js +5 -22
- package/test/unit/seeds/participantLimitType.test.js +6 -22
- package/test/unit/seeds/partyIdentifierType.test.js +6 -22
- package/test/unit/seeds/partyType.test.js +6 -22
- package/test/unit/seeds/settlementState.test.js +5 -22
- package/test/unit/seeds/settlementWindow1State.test.js +5 -22
- package/test/unit/seeds/transactionInitiator.test.js +6 -22
- package/test/unit/seeds/transactionInitiatorType.test.js +6 -22
- package/test/unit/seeds/transactionScenario.test.js +6 -22
- package/test/unit/seeds/transferParticipantRoleType.test.js +6 -22
- package/test/unit/seeds/transferState.test.js +6 -22
- package/test/unit/shared/plugins.test.js +31 -1
- package/test/unit/shared/setup.test.js +25 -36
- package/test/util/helpers.js +37 -2
- package/test/util/randomTransfers.js +1 -1
- package/test/util/scripts/env.sh +6 -5
- package/test/util/scripts/populateTestData.sh +204 -181
- package/test/util/scripts/populateTestDataForLegacySimulator.sh +261 -0
- package/test/util/scripts/restartObjStore.sh +1 -1
- package/test-integration.Dockerfile +15 -15
- package/test.Dockerfile +12 -12
- package/.circleci/_set_up_deploy_envs.sh +0 -47
- package/.dockerignore +0 -17
- package/.ncurc.json +0 -3
- package/server.sh +0 -4
- package/sonar-project.properties +0 -17
- package/src/lib/sidecar/index.js +0 -47
- package/src/lib/sidecar/nullClient.js +0 -18
- package/test/.env +0 -8
- package/test/integration-config.json +0 -367
- package/test/integration-runner.env +0 -31
- package/test/integration-runner.sh +0 -264
- package/test/spec-runner.sh +0 -132
- package/test/unit/lib/sidecar/index.test.js +0 -148
- package/test/unit/models/position/participantLimit.test.js +0 -135
package/.env
CHANGED
|
@@ -8,10 +8,11 @@ LOG_LEVEL="info"
|
|
|
8
8
|
LOG_FILTER="error, warning, info"
|
|
9
9
|
EVENT_SDK_LOG_FILTER="audit:*, log:info, log:warning, log:error"
|
|
10
10
|
EVENT_SDK_LOG_METADATA_ONLY="true"
|
|
11
|
-
EVENT_SDK_SIDECAR_DISABLED="
|
|
11
|
+
EVENT_SDK_SIDECAR_DISABLED="true"
|
|
12
12
|
EVENT_SDK_SERVER_HOST="localhost"
|
|
13
13
|
EVENT_SDK_SERVER_PORT="50051"
|
|
14
14
|
EVENT_SDK_VENDOR_PREFIX="mojaloop"
|
|
15
|
-
EVENT_SDK_TRACESTATE_HEADER_ENABLED="
|
|
15
|
+
EVENT_SDK_TRACESTATE_HEADER_ENABLED="false"
|
|
16
16
|
EVENT_SDK_ASYNC_OVERRIDE_EVENTS="log, trace"
|
|
17
17
|
EVENT_SDK_TRACEID_PER_VENDOR="false"
|
|
18
|
+
LIB_RESOURCE_VERSIONS="transfers=1.1,participants=1.1"
|
package/.ncurc.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
## Add a TODO comment indicating the reason for each rejected dependency upgrade added to this list, and what should be done to resolve it (i.e. handle it through a story, etc).
|
|
2
|
+
reject: [
|
|
3
|
+
# TODO: Tests fail when tape is upgraded.
|
|
4
|
+
"tape",
|
|
5
|
+
# TODO: New versions from 2.2.0 onwards introduce a newer incompatible version of the ILP-Packet that is not compatible with the Mojaloop Specification
|
|
6
|
+
"ilp-packet",
|
|
7
|
+
# TODO: v6+ (ref: https://github.com/sindresorhus/get-port/releases/tag/v6.0.0) is an ESM library and thus not compatible with CommonJS. Future story needed to resolve.
|
|
8
|
+
"get-port"
|
|
9
|
+
]
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
16.15.0
|
package/.versionrc
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"types": [
|
|
3
|
+
{"type": "feat", "section": "Features"},
|
|
4
|
+
{"type": "fix", "section": "Bug Fixes"},
|
|
5
|
+
{"type": "docs", "section": "Documentation"},
|
|
6
|
+
{"type": "style", "section": "Styling"},
|
|
7
|
+
{"type": "refactor", "section": "Refactors"},
|
|
8
|
+
{"type": "perf", "section": "Performance"},
|
|
9
|
+
{"type": "test", "section": "Tests"},
|
|
10
|
+
{"type": "build", "section": "Build System"},
|
|
11
|
+
{"type": "ci", "section": "CI"},
|
|
12
|
+
{"type": "chore", "section": "Chore"},
|
|
13
|
+
{"type": "revert", "section": "Reverts"}
|
|
14
|
+
]
|
|
15
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
### [15.1.2](https://github.com/mojaloop/central-ledger/compare/v15.1.1...v15.1.2) (2022-07-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mojaloop/#2810:** timeout evts are being prod for transfers with an int-state of ABORTED_ERROR ([#907](https://github.com/mojaloop/central-ledger/issues/907)) ([e77de0a](https://github.com/mojaloop/central-ledger/commit/e77de0a8e7dd473d3afbb27df464d27ff5ce98a7)), closes [mojaloop/#2810](https://github.com/mojaloop/project/issues/2810)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Chore
|
|
14
|
+
|
|
15
|
+
* fix audit-resolve ([4e3a969](https://github.com/mojaloop/central-ledger/commit/4e3a969b9da78760540f375144bf25b347d0a8ae))
|
|
16
|
+
|
|
17
|
+
### [15.1.1](https://github.com/mojaloop/central-ledger/compare/v15.1.0...v15.1.1) (2022-06-17)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* set ttk func tests as dependency ([#906](https://github.com/mojaloop/central-ledger/issues/906)) ([a146431](https://github.com/mojaloop/central-ledger/commit/a1464312e5b39d564d3b89ad0f055ca54f897df1))
|
|
23
|
+
|
|
24
|
+
## [15.1.0](https://github.com/mojaloop/central-ledger/compare/v15.0.2...v15.1.0) (2022-06-17)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* added functonal test pipline to circle-cicd ([#905](https://github.com/mojaloop/central-ledger/issues/905)) ([2dd0dae](https://github.com/mojaloop/central-ledger/commit/2dd0daef7aea4bc3694a21655105e6bd5f7d73db))
|
|
30
|
+
|
|
31
|
+
### [15.0.2](https://github.com/mojaloop/central-ledger/compare/v15.0.1...v15.0.2) (2022-06-10)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* docker file using ci instead of install ([#904](https://github.com/mojaloop/central-ledger/issues/904)) ([b01f079](https://github.com/mojaloop/central-ledger/commit/b01f0795f3fae5523ebc22ba740a90838c93f4bf))
|
|
37
|
+
|
|
38
|
+
### [15.0.1](https://github.com/mojaloop/central-ledger/compare/v15.0.0...v15.0.1) (2022-05-26)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* error codes for liquidity and ndc limit check ([#901](https://github.com/mojaloop/central-ledger/issues/901)) ([83a197c](https://github.com/mojaloop/central-ledger/commit/83a197cdded36f71c884104587cd67d2f494ce92))
|
|
44
|
+
|
|
45
|
+
## [15.0.0](https://github.com/mojaloop/central-ledger/compare/v14.0.0...v15.0.0) (2022-05-26)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### ⚠ BREAKING CHANGES
|
|
49
|
+
|
|
50
|
+
* **mojaloop/#2092:** Major version bump for node v16 LTS support, re-structuring of project directories to align to core Mojaloop repositories and docker image now uses `/opt/app` instead of `/opt/central-ledger` which will impact config mounts.
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **mojaloop/#2092:** upgrade nodeJS version for core services ([#902](https://github.com/mojaloop/central-ledger/issues/902)) ([defff30](https://github.com/mojaloop/central-ledger/commit/defff30b2bf29a74a4bb152e5fa4af00ae5b7463)), closes [mojaloop/#2092](https://github.com/mojaloop/project/issues/2092)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* ci publish issue ([#903](https://github.com/mojaloop/central-ledger/issues/903)) ([49b3f06](https://github.com/mojaloop/central-ledger/commit/49b3f06b29a9b1ed52fa7431597bbf6637a99297))
|
|
60
|
+
|
|
61
|
+
## [14.0.0](https://github.com/mojaloop/central-ledger/compare/v13.16.3...v14.0.0) (2022-05-17)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### ⚠ BREAKING CHANGES
|
|
65
|
+
|
|
66
|
+
* Transfer will be successful only if the payer has settlement account balance. This is the additional check that has been added in this PR. And also the error message is changed for NDC limit check from `PAYER_FSP_INSUFFICIENT_LIQUIDITY` to `PAYER_LIMIT_ERROR`. Now the error message `PAYER_FSP_INSUFFICIENT_LIQUIDITY` occurs when the payer has insufficient settlement account balance.
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
* update liquidity check ([#899](https://github.com/mojaloop/central-ledger/issues/899)) ([2e33a5a](https://github.com/mojaloop/central-ledger/commit/2e33a5a1dc5996d1d2f39a629a17710f8cbd6d69))
|
|
71
|
+
|
|
72
|
+
### [13.16.3](https://github.com/mojaloop/central-ledger/compare/v13.16.2...v13.16.3) (2022-04-05)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* package.json & package-lock.json to reduce vulnerabilities ([#893](https://github.com/mojaloop/central-ledger/issues/893)) ([4b036a4](https://github.com/mojaloop/central-ledger/commit/4b036a42122ad66e402598b44b29bd96cb85e122))
|
|
78
|
+
|
|
79
|
+
### [13.16.2](https://github.com/mojaloop/central-ledger/compare/v13.16.1...v13.16.2) (2022-03-30)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Chore
|
|
83
|
+
|
|
84
|
+
* updated populateTestData.sh script ([#892](https://github.com/mojaloop/central-ledger/issues/892)) ([df2495b](https://github.com/mojaloop/central-ledger/commit/df2495b6c14da7dbf16bc44d88655a8d54b7024e))
|
|
85
|
+
|
|
86
|
+
### [13.16.1](https://github.com/mojaloop/central-ledger/compare/v13.16.0...v13.16.1) (2022-03-14)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* **mojaloop/#2719:** post quotes fails when transactionId does not equal transactionRequestId ([#887](https://github.com/mojaloop/central-ledger/issues/887)) ([b9944d1](https://github.com/mojaloop/central-ledger/commit/b9944d15c9486ffd62b968797fb79847a512a6c8)), closes [mojaloop/#2719](https://github.com/mojaloop/project/issues/2719)
|
|
92
|
+
|
|
93
|
+
## [13.16.0](https://github.com/mojaloop/central-ledger/compare/v13.15.4...v13.16.0) (2022-03-03)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
* **mojaloop/#2704:** core-services support for non-breaking backward api compatibility ([#884](https://github.com/mojaloop/central-ledger/issues/884)) ([02cf7c2](https://github.com/mojaloop/central-ledger/commit/02cf7c25b4071bb44f62271d7e9bdbc8674a1ee7)), closes [mojaloop/#2704](https://github.com/mojaloop/project/issues/2704)
|
|
99
|
+
|
|
100
|
+
### [13.15.4](https://github.com/mojaloop/central-ledger/compare/v13.15.3...v13.15.4) (2022-02-25)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Chore
|
|
104
|
+
|
|
105
|
+
* added more error loggers on bulk prepare ([#882](https://github.com/mojaloop/central-ledger/issues/882)) ([aa7a159](https://github.com/mojaloop/central-ledger/commit/aa7a1594bc6577818f6779e94f770c9150285170))
|
|
106
|
+
|
|
107
|
+
### [13.15.3](https://github.com/mojaloop/central-ledger/compare/v13.15.2...v13.15.3) (2022-02-25)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Chore
|
|
111
|
+
|
|
112
|
+
* added-more-error-loggers-on-bulk-prepare ([#881](https://github.com/mojaloop/central-ledger/issues/881)) ([e212160](https://github.com/mojaloop/central-ledger/commit/e212160874abf71314702f27bef208c0f071b64a))
|
|
113
|
+
|
|
114
|
+
### [13.15.2](https://github.com/mojaloop/central-ledger/compare/v13.15.1...v13.15.2) (2022-02-25)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* bug fix for the last chore update on bulk handlers ([#880](https://github.com/mojaloop/central-ledger/issues/880)) ([6b3a269](https://github.com/mojaloop/central-ledger/commit/6b3a2695b657c6dff8c79a1fb4447320411eb746))
|
|
120
|
+
|
|
121
|
+
### [13.15.1](https://github.com/mojaloop/central-ledger/compare/v13.15.0...v13.15.1) (2022-02-23)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Chore
|
|
125
|
+
|
|
126
|
+
* minor updates and dependency cleanup ([#879](https://github.com/mojaloop/central-ledger/issues/879)) ([0c9c4bb](https://github.com/mojaloop/central-ledger/commit/0c9c4bba7b4e08562e5e46499070e3e57db6b463))
|
|
127
|
+
|
|
128
|
+
## [13.15.0](https://github.com/mojaloop/central-ledger/compare/v13.14.6...v13.15.0) (2022-02-22)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Features
|
|
132
|
+
|
|
133
|
+
* **mojaloop/project#2556:** implement patch notification for failure scenarios ([#874](https://github.com/mojaloop/central-ledger/issues/874)) ([8b72cfe](https://github.com/mojaloop/central-ledger/commit/8b72cfe41558bf955fd516eba06d921e988d0664)), closes [mojaloop/project#2556](https://github.com/mojaloop/project/issues/2556) [#2697](https://github.com/mojaloop/central-ledger/issues/2697)
|
|
134
|
+
|
|
135
|
+
### [13.14.6](https://github.com/mojaloop/central-ledger/compare/v13.14.5...v13.14.6) (2021-11-17)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Chore
|
|
139
|
+
|
|
140
|
+
* **refactor:** tidy up fulfil handler code ([#870](https://github.com/mojaloop/central-ledger/issues/870)) ([49c1f88](https://github.com/mojaloop/central-ledger/commit/49c1f887d54aea902ba03f15755cd7f32faabaf3))
|
|
141
|
+
|
|
142
|
+
### [13.14.5](https://github.com/mojaloop/central-ledger/compare/v13.14.4...v13.14.5) (2021-11-11)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### Chore
|
|
146
|
+
|
|
147
|
+
* update to docker-compose & dependencies ([#871](https://github.com/mojaloop/central-ledger/issues/871)) ([69fc49e](https://github.com/mojaloop/central-ledger/commit/69fc49e32d4768447f980d455b8a462618ba5a75))
|
|
148
|
+
|
|
149
|
+
### [13.14.4](https://github.com/mojaloop/central-ledger/compare/v13.14.3...v13.14.4) (2021-11-10)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
* **#2557:** error notification to payer fsp, header for source having wrong value ([#869](https://github.com/mojaloop/central-ledger/issues/869)) ([472fc12](https://github.com/mojaloop/central-ledger/commit/472fc12763ca53f2ea92093b7d9925c9028a92a1)), closes [#2557](https://github.com/mojaloop/central-ledger/issues/2557)
|
|
155
|
+
|
|
156
|
+
### [13.14.3](https://github.com/mojaloop/central-ledger/compare/v13.14.2...v13.14.3) (2021-10-01)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
* **mojaloop/2525:** transfers are not being assigned to a settlementWindow on transfers version=1.1 ([#866](https://github.com/mojaloop/central-ledger/issues/866)) ([602704b](https://github.com/mojaloop/central-ledger/commit/602704bfb9d63764e66d59d53e42b2469c34bfc3)), closes [#2525](https://github.com/mojaloop/central-ledger/issues/2525)
|
|
162
|
+
|
|
163
|
+
### [13.14.2](https://github.com/mojaloop/central-ledger/compare/v13.14.1...v13.14.2) (2021-09-29)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Bug Fixes
|
|
167
|
+
|
|
168
|
+
* **mojaloop/#2522:** cl-migration scripts should configure quoting tables to utf8 follow-up ([#865](https://github.com/mojaloop/central-ledger/issues/865)) ([dcc57b8](https://github.com/mojaloop/central-ledger/commit/dcc57b8f22bc66fa4e6ae35ce04cf095fce780c6)), closes [mojaloop/#2522](https://github.com/mojaloop/project/issues/2522)
|
|
169
|
+
|
|
170
|
+
### [13.14.1](https://github.com/mojaloop/central-ledger/compare/v13.14.0...v13.14.1) (2021-09-17)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Bug Fixes
|
|
174
|
+
|
|
175
|
+
* change endpoint types to line up with enums ([#863](https://github.com/mojaloop/central-ledger/issues/863)) ([2046288](https://github.com/mojaloop/central-ledger/commit/2046288d7070711a5bb7eb600bf0f1e87c0e8768))
|
|
176
|
+
|
|
177
|
+
## [13.14.0](https://github.com/mojaloop/central-ledger/compare/v13.13.4...v13.14.0) (2021-09-16)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### Features
|
|
181
|
+
|
|
182
|
+
* **mojaloop/#2480:** central-ledger migration scripts to configure quote party table utf8 support ([#862](https://github.com/mojaloop/central-ledger/issues/862)) ([bf4da0e](https://github.com/mojaloop/central-ledger/commit/bf4da0e7645edf2e701b36b9f78c32c8783136b8)), closes [mojaloop/#2480](https://github.com/mojaloop/project/issues/2480)
|
|
183
|
+
|
|
184
|
+
### [13.13.4](https://github.com/mojaloop/central-ledger/compare/v13.13.3...v13.13.4) (2021-08-24)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Chore
|
|
188
|
+
|
|
189
|
+
* **deps:** bump path-parse from 1.0.6 to 1.0.7 ([#858](https://github.com/mojaloop/central-ledger/issues/858)) ([77d4251](https://github.com/mojaloop/central-ledger/commit/77d42518075e200a00a958a19db35591d96b6f65))
|
|
190
|
+
|
|
191
|
+
### [13.13.3](https://github.com/mojaloop/central-ledger/compare/v13.13.1...v13.13.3) (2021-08-06)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Chore
|
|
195
|
+
|
|
196
|
+
* **deps:** [security] bump normalize-url from 4.5.0 to 4.5.1 ([#848](https://github.com/mojaloop/central-ledger/issues/848)) ([d3f0c48](https://github.com/mojaloop/central-ledger/commit/d3f0c48f176f73b0e682f3cd14222bdb1546751a))
|
|
197
|
+
* **deps:** [security] bump tar from 6.1.0 to 6.1.3 ([#855](https://github.com/mojaloop/central-ledger/issues/855)) ([ec9e5cc](https://github.com/mojaloop/central-ledger/commit/ec9e5cc4c9ee56fa7caa628b9cc6cdfe9723cfe8))
|
|
198
|
+
* **deps:** [security] bump urijs from 1.19.6 to 1.19.7 ([#854](https://github.com/mojaloop/central-ledger/issues/854)) ([97db6ac](https://github.com/mojaloop/central-ledger/commit/97db6ac73eefb5628843121d8ad7eec9238bc030))
|
|
199
|
+
* **release:** 13.13.2 [skip ci] ([a969db1](https://github.com/mojaloop/central-ledger/commit/a969db1bf3ea212ea1ef06dda31db1bf23134ff6))
|
|
200
|
+
|
|
201
|
+
### [13.13.2](https://github.com/mojaloop/central-ledger/compare/v13.13.1...v13.13.2) (2021-08-06)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Chore
|
|
205
|
+
|
|
206
|
+
* **deps:** [security] bump normalize-url from 4.5.0 to 4.5.1 ([#848](https://github.com/mojaloop/central-ledger/issues/848)) ([d3f0c48](https://github.com/mojaloop/central-ledger/commit/d3f0c48f176f73b0e682f3cd14222bdb1546751a))
|
|
207
|
+
* **deps:** [security] bump urijs from 1.19.6 to 1.19.7 ([#854](https://github.com/mojaloop/central-ledger/issues/854)) ([97db6ac](https://github.com/mojaloop/central-ledger/commit/97db6ac73eefb5628843121d8ad7eec9238bc030))
|
|
208
|
+
|
|
209
|
+
### [13.13.1](https://github.com/mojaloop/central-ledger/compare/v13.13.0...v13.13.1) (2021-08-06)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Chore
|
|
213
|
+
|
|
214
|
+
* add seeds for /verifications endpoint ([#857](https://github.com/mojaloop/central-ledger/issues/857)) ([024942b](https://github.com/mojaloop/central-ledger/commit/024942b288001fb3b52ebbbd7463aebe1929f150))
|
|
215
|
+
|
|
216
|
+
## [13.13.0](https://github.com/mojaloop/central-ledger/compare/v13.12.1...v13.13.0) (2021-06-30)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Features
|
|
220
|
+
|
|
221
|
+
* **#2300:** add logging statements for all errors ([#852](https://github.com/mojaloop/central-ledger/issues/852)) ([2cd6446](https://github.com/mojaloop/central-ledger/commit/2cd64460bfa4c9858c32fb221c01d3a4d64ac504)), closes [#2300](https://github.com/mojaloop/central-ledger/issues/2300)
|
|
222
|
+
|
|
223
|
+
### [13.12.1](https://github.com/mojaloop/central-ledger/compare/v13.11.1...v13.12.1) (2021-06-22)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Bug Fixes
|
|
227
|
+
|
|
228
|
+
* helm release 12.1 for default settlement functionality ([#853](https://github.com/mojaloop/central-ledger/issues/853)) ([7904b76](https://github.com/mojaloop/central-ledger/commit/7904b76f0f56539a4024b9d5233f77423ddcd63b))
|
|
229
|
+
|
|
230
|
+
### [13.11.1](https://github.com/mojaloop/central-ledger/compare/v13.11.0...v13.11.1) (2021-06-15)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Chore
|
|
234
|
+
|
|
235
|
+
* remove seeds added by mistake ([#850](https://github.com/mojaloop/central-ledger/issues/850)) ([b5195ac](https://github.com/mojaloop/central-ledger/commit/b5195ac2806683ec38035aa71a978ba0444b0be9))
|
|
236
|
+
|
|
237
|
+
## [13.11.0](https://github.com/mojaloop/central-ledger/compare/v13.10.2...v13.11.0) (2021-06-13)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Features
|
|
241
|
+
|
|
242
|
+
* add endpoints for last stage of account linking ([#849](https://github.com/mojaloop/central-ledger/issues/849)) ([eff5c7f](https://github.com/mojaloop/central-ledger/commit/eff5c7f3c099c28b631725709e69902fb6773739))
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Chore
|
|
246
|
+
|
|
247
|
+
* **deps:** [security] bump hosted-git-info from 2.8.8 to 2.8.9 ([#840](https://github.com/mojaloop/central-ledger/issues/840)) ([d093895](https://github.com/mojaloop/central-ledger/commit/d093895b0bca6a4a2d36e86547ccafe39aa3b8f1))
|
|
248
|
+
|
|
249
|
+
### [13.10.2](https://github.com/mojaloop/central-ledger/compare/v13.10.0...v13.10.2) (2021-05-26)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### Bug Fixes
|
|
253
|
+
|
|
254
|
+
* helm release v12.1.0 ([#845](https://github.com/mojaloop/central-ledger/issues/845)) ([51731b0](https://github.com/mojaloop/central-ledger/commit/51731b0f1656d87bb1e1fe4ea4425ab2a385cae0))
|
|
255
|
+
|
|
256
|
+
## [13.10.0](https://github.com/mojaloop/central-ledger/compare/v13.9.0...v13.10.0) (2021-05-14)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Features
|
|
260
|
+
|
|
261
|
+
* **2151:** helm-release-v12.1.0 ([#844](https://github.com/mojaloop/central-ledger/issues/844)) ([2b1ecab](https://github.com/mojaloop/central-ledger/commit/2b1ecabbfbbd46807749a6986f1a3d8643d1dba7))
|
|
262
|
+
|
|
263
|
+
## [13.9.0](https://github.com/mojaloop/central-ledger/compare/v13.8.0...v13.9.0) (2021-05-14)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Features
|
|
267
|
+
|
|
268
|
+
* **2151:** helm-release-v12.1.0 ([#843](https://github.com/mojaloop/central-ledger/issues/843)) ([02fa819](https://github.com/mojaloop/central-ledger/commit/02fa819dac16d301f626177871d99e225982098d))
|
|
269
|
+
|
|
270
|
+
## [13.8.0](https://github.com/mojaloop/central-ledger/compare/v13.6.0...v13.8.0) (2021-05-14)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Features
|
|
274
|
+
|
|
275
|
+
* **2151:** helm-release-v12.1.0 ([#842](https://github.com/mojaloop/central-ledger/issues/842)) ([459c9e0](https://github.com/mojaloop/central-ledger/commit/459c9e0890bb4a56e240c22ef2490927087f0204))
|
|
276
|
+
|
|
277
|
+
## [13.6.0](https://github.com/mojaloop/central-ledger/compare/v13.4.0...v13.6.0) (2021-05-12)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
### Features
|
|
281
|
+
|
|
282
|
+
* **#2123:** default settlement model added ([#839](https://github.com/mojaloop/central-ledger/issues/839)) ([605177a](https://github.com/mojaloop/central-ledger/commit/605177af94314e5170c7d1927b2492dd8060c4b5)), closes [#2123](https://github.com/mojaloop/central-ledger/issues/2123)
|
|
283
|
+
|
|
284
|
+
## [13.4.0](https://github.com/mojaloop/central-ledger/compare/v13.3.0...v13.4.0) (2021-05-07)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
### Features
|
|
288
|
+
|
|
289
|
+
* add services endpoint seeds ([#838](https://github.com/mojaloop/central-ledger/issues/838)) ([233785e](https://github.com/mojaloop/central-ledger/commit/233785e73662782be29c12590007313bda21b2d5))
|
|
290
|
+
|
|
291
|
+
## [13.3.0](https://github.com/mojaloop/central-ledger/compare/v13.2.6...v13.3.0) (2021-05-04)
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Features
|
|
295
|
+
|
|
296
|
+
* **db migrations:** fix subid db ([#836](https://github.com/mojaloop/central-ledger/issues/836)) ([de5077a](https://github.com/mojaloop/central-ledger/commit/de5077a478131455f43ec478e55caa7d2c5ce295))
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### Bug Fixes
|
|
300
|
+
|
|
301
|
+
* **security:** Bump y18n from 3.2.1 to 3.2.2 ([#830](https://github.com/mojaloop/central-ledger/issues/830)) ([32346e5](https://github.com/mojaloop/central-ledger/commit/32346e522075589c956e9f2d7a979b2905215c89))
|
|
302
|
+
* package.json & package-lock.json to reduce vulnerabilities ([#829](https://github.com/mojaloop/central-ledger/issues/829)) ([16a75af](https://github.com/mojaloop/central-ledger/commit/16a75af6ff7bc7aa7ed45d11344ec976c0cfd9bc))
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Chore
|
|
306
|
+
|
|
307
|
+
* **deps:** bump djv from 2.1.2 to 2.1.4 ([#833](https://github.com/mojaloop/central-ledger/issues/833)) ([182a591](https://github.com/mojaloop/central-ledger/commit/182a591196e2056440f4aaf5ca5b9dceccbc81ed))
|
|
308
|
+
|
|
309
|
+
### [13.2.6](https://github.com/mojaloop/central-ledger/compare/v13.2.5...v13.2.6) (2021-03-15)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### Chore
|
|
313
|
+
|
|
314
|
+
* add patch consentRequest and put cr error endpoints ([#828](https://github.com/mojaloop/central-ledger/issues/828)) ([6cb311a](https://github.com/mojaloop/central-ledger/commit/6cb311a5526efc12011b96f09d4857f7926fe345))
|
|
315
|
+
|
|
316
|
+
### [13.2.5](https://github.com/mojaloop/central-ledger/compare/v13.2.4...v13.2.5) (2021-03-05)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
### Bug Fixes
|
|
320
|
+
|
|
321
|
+
* [#1977](https://github.com/mojaloop/central-ledger/issues/1977) timeout enumeration for cron job fixed ([#824](https://github.com/mojaloop/central-ledger/issues/824)) ([2bb426d](https://github.com/mojaloop/central-ledger/commit/2bb426d52b29a9c797b1a2307110acf3c0082b7e))
|
|
322
|
+
|
|
323
|
+
### [13.2.4](https://github.com/mojaloop/central-ledger/compare/v13.2.3...v13.2.4) (2021-03-05)
|
|
324
|
+
|
|
325
|
+
### [13.2.3](https://github.com/mojaloop/central-ledger/compare/v13.2.2...v13.2.3) (2021-02-25)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
### Chore
|
|
329
|
+
|
|
330
|
+
* add accounts callback endpoints ([#822](https://github.com/mojaloop/central-ledger/issues/822)) ([9e4d017](https://github.com/mojaloop/central-ledger/commit/9e4d017120dc8030c1cb66ded31b73c9f47aafa5))
|
|
331
|
+
|
|
332
|
+
### [13.2.2](https://github.com/mojaloop/central-ledger/compare/v13.2.1...v13.2.2) (2021-02-24)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Chore
|
|
336
|
+
|
|
337
|
+
* fix hidden commit types not being included in changelog ([#821](https://github.com/mojaloop/central-ledger/issues/821)) ([3a490c1](https://github.com/mojaloop/central-ledger/commit/3a490c18ecba7b481ee65431700a886c9e963673))
|
|
338
|
+
|
|
339
|
+
### [13.2.1](https://github.com/mojaloop/central-ledger/compare/v13.2.0...v13.2.1) (2021-02-23)
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
### Bug Fixes
|
|
343
|
+
|
|
344
|
+
* branch filter regex ([#820](https://github.com/mojaloop/central-ledger/issues/820)) ([14a04be](https://github.com/mojaloop/central-ledger/commit/14a04bedfcbde05b495f36938c6fef666090eef3))
|
|
345
|
+
|
|
346
|
+
## [13.2.0](https://github.com/mojaloop/central-ledger/compare/v13.1.1...v13.2.0) (2021-02-23)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
### Features
|
|
350
|
+
|
|
351
|
+
* enable feature branch based releases ([#819](https://github.com/mojaloop/central-ledger/issues/819)) ([346f09f](https://github.com/mojaloop/central-ledger/commit/346f09f98613b84a1ba2e21a9f5d869a516b3bde))
|
|
352
|
+
|
|
353
|
+
### [13.1.1](https://github.com/mojaloop/central-ledger/compare/v13.1.0...v13.1.1) (2021-02-23)
|
package/CODEOWNERS
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# This is a comment.
|
|
2
|
+
# Each line is a file pattern followed by one or more owners.
|
|
3
|
+
## These owners will be the default owners for everything in
|
|
4
|
+
## the repo. Unless a later match takes precedence,
|
|
5
|
+
## @global-owner1 and @global-owner2 will be requested for
|
|
6
|
+
## review when someone opens a pull request.
|
|
7
|
+
#* @global-owner1 @global-owner2
|
|
8
|
+
* @vgenev @mdebarros @elnyry-sam-k @lewisdaly @oderayi @shashi165 @vijayg10
|
|
9
|
+
## Order is important; the last matching pattern takes the most
|
|
10
|
+
## precedence. When someone opens a pull request that only
|
|
11
|
+
## modifies JS files, only @js-owner and not the global
|
|
12
|
+
## owner(s) will be requested for a review.
|
|
13
|
+
# *.js @js-owner
|
|
14
|
+
## You can also use email addresses if you prefer. They'll be
|
|
15
|
+
## used to look up users just like we do for commit author
|
|
16
|
+
## emails.
|
|
17
|
+
#*.go docs@example.com
|
|
18
|
+
# In this example, @doctocat owns any files in the build/logs
|
|
19
|
+
# directory at the root of the repository and any of its
|
|
20
|
+
# subdirectories.
|
|
21
|
+
# /build/logs/ @doctocat
|
|
22
|
+
## The `docs/*` pattern will match files like
|
|
23
|
+
## `docs/getting-started.md` but not further nested files like
|
|
24
|
+
## `docs/build-app/troubleshooting.md`.
|
|
25
|
+
# docs/* docs@example.com
|
|
26
|
+
## In this example, @octocat owns any file in an apps directory
|
|
27
|
+
## anywhere in your repository.
|
|
28
|
+
#apps/ @octocat
|
|
29
|
+
## In this example, @doctocat owns any file in the `/docs`
|
|
30
|
+
## directory in the root of your repository.
|
|
31
|
+
#/docs/ @doctocat
|
package/Dockerfile
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
|
-
FROM node:
|
|
2
|
-
WORKDIR /opt/
|
|
1
|
+
FROM node:16.15.0-alpine as builder
|
|
2
|
+
WORKDIR /opt/app
|
|
3
3
|
|
|
4
|
-
RUN apk
|
|
4
|
+
RUN apk --no-cache add git
|
|
5
|
+
RUN apk add --no-cache -t build-dependencies make gcc g++ python3 libtool libressl-dev openssl-dev autoconf automake \
|
|
5
6
|
&& cd $(npm root -g)/npm \
|
|
6
7
|
&& npm config set unsafe-perm true \
|
|
7
8
|
&& npm install -g node-gyp
|
|
8
9
|
|
|
9
|
-
COPY package.json package-lock.json* /opt/
|
|
10
|
-
RUN npm install
|
|
10
|
+
COPY package.json package-lock.json* /opt/app/
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
COPY config /opt/central-ledger/config
|
|
14
|
-
COPY migrations /opt/central-ledger/migrations
|
|
15
|
-
COPY seeds /opt/central-ledger/seeds
|
|
12
|
+
RUN npm ci
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
COPY src /opt/app/src
|
|
15
|
+
COPY config /opt/app/config
|
|
16
|
+
COPY migrations /opt/app/migrations
|
|
17
|
+
COPY seeds /opt/app/seeds
|
|
18
|
+
COPY test /opt/app/test
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
RUN npm prune --production
|
|
20
|
+
FROM node:16.15.0-alpine
|
|
21
|
+
WORKDIR /opt/app
|
|
23
22
|
|
|
24
23
|
# Create empty log file & link stdout to the application log file
|
|
25
24
|
RUN mkdir ./logs && touch ./logs/combined.log
|
|
26
25
|
RUN ln -sf /dev/stdout ./logs/combined.log
|
|
27
26
|
|
|
27
|
+
# Create a non-root user: ml-user
|
|
28
|
+
RUN adduser -D ml-user
|
|
29
|
+
USER ml-user
|
|
30
|
+
|
|
31
|
+
COPY --chown=ml-user --from=builder /opt/app .
|
|
32
|
+
RUN npm prune --production
|
|
33
|
+
|
|
28
34
|
EXPOSE 3001
|
|
29
35
|
CMD ["npm", "run", "start"]
|
package/LICENSE.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# LICENSE
|
|
2
2
|
|
|
3
|
-
Copyright ©
|
|
3
|
+
Copyright © 2020 Mojaloop Foundation
|
|
4
4
|
|
|
5
|
-
The Mojaloop files are made available by the
|
|
6
|
-
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).
|
|
5
|
+
The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0
|
|
6
|
+
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).
|
|
7
7
|
|
|
8
|
-
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
8
|
+
You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
9
9
|
|
|
10
10
|
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the [License](http://www.apache.org/licenses/LICENSE-2.0).
|
package/Onboarding.md
CHANGED
|
@@ -84,16 +84,9 @@ This will do the following:
|
|
|
84
84
|
|
|
85
85
|
### 3.2 Configure the DB environment variable and run the server
|
|
86
86
|
|
|
87
|
-
> Note: Ensure that the `sidecar` has been disabled (`SIDECAR.DISABLED=true` is disabled in the `./config/default.json`) or set environment var `export CLEDG_SIDECAR__DISABLED=true`).
|
|
88
87
|
> Note: If you do disable Mongodb (i.e. `CLEDG_MONGODB__DISABLED=true`), please ensure that you comment out the following line `sh /opt/wait-for/wait-for-objstore.sh` from the following file: `docker/wait-for/wait-for-central-ledger.sh`.
|
|
89
88
|
|
|
90
89
|
```bash
|
|
91
|
-
# disable SIDECAR in config/default.json temporary by setting
|
|
92
|
-
# "SIDECAR": { "DISABLED": "true", ...
|
|
93
|
-
|
|
94
|
-
# Disable the SIDECAR (required)
|
|
95
|
-
export CLEDG_SIDECAR__DISABLED=true
|
|
96
|
-
|
|
97
90
|
# Disable the MongoDB (optional)
|
|
98
91
|
export CLEDG_MONGODB__DISABLED=true
|
|
99
92
|
|