account-lookup-service 17.0.2 → 17.1.0

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.
Files changed (121) hide show
  1. package/.circleci/config.yml +2 -1
  2. package/CHANGELOG.md +24 -0
  3. package/docker/mock-proxy/audit-ci.jsonc +8 -0
  4. package/docker/mock-proxy/package-lock.json +1623 -1322
  5. package/docker/mock-proxy/package.json +32 -8
  6. package/jest.config.js +1 -0
  7. package/migrations/01_currency.js +5 -5
  8. package/migrations/02_endpointType.js +5 -5
  9. package/migrations/03_endpointType-indexes.js +5 -5
  10. package/migrations/04_partyIdType.js +5 -5
  11. package/migrations/05_partyIdType-indexes.js +5 -5
  12. package/migrations/08_oracleEndpoint.js +5 -5
  13. package/migrations/09_oracleEndpoint-indexes.js +5 -5
  14. package/migrations/10_oracleEndpoint-remove-constraints.js +5 -5
  15. package/package.json +12 -12
  16. package/seeds/currency.js +5 -5
  17. package/seeds/endpointType.js +4 -4
  18. package/seeds/partyIdType.js +4 -4
  19. package/src/api/endpointcache.js +4 -4
  20. package/src/api/health.js +4 -4
  21. package/src/api/index.js +4 -4
  22. package/src/api/oracles/{ID}.js +31 -6
  23. package/src/api/oracles.js +33 -7
  24. package/src/api/participants/{ID}/error.js +5 -5
  25. package/src/api/participants/{ID}.js +5 -5
  26. package/src/api/participants/{Type}/{ID}/error.js +22 -6
  27. package/src/api/participants/{Type}/{ID}/{SubId}/error.js +5 -5
  28. package/src/api/participants/{Type}/{ID}/{SubId}.js +99 -5
  29. package/src/api/participants/{Type}/{ID}.js +83 -10
  30. package/src/api/participants.js +19 -6
  31. package/src/api/parties/{Type}/{ID}/error.js +20 -6
  32. package/src/api/parties/{Type}/{ID}/{SubId}/error.js +32 -7
  33. package/src/api/parties/{Type}/{ID}/{SubId}.js +55 -7
  34. package/src/api/parties/{Type}/{ID}.js +37 -10
  35. package/src/api/routes.js +5 -5
  36. package/src/domain/oracle/index.js +5 -5
  37. package/src/domain/oracle/oracle.js +6 -6
  38. package/src/domain/participants/index.js +5 -5
  39. package/src/domain/participants/participants.js +5 -5
  40. package/src/domain/parties/getPartiesByTypeAndID.js +5 -5
  41. package/src/domain/parties/index.js +5 -5
  42. package/src/domain/parties/parties.js +5 -5
  43. package/src/domain/timeout/dto.js +14 -2
  44. package/src/domain/timeout/index.js +3 -3
  45. package/src/handlers/TimeoutHandler.js +3 -3
  46. package/src/handlers/index.js +3 -3
  47. package/src/handlers/register.js +3 -3
  48. package/src/index.js +4 -4
  49. package/src/interface/admin-swagger.yaml +4 -0
  50. package/src/interface/admin_swagger.json +902 -900
  51. package/src/interface/api_swagger.json +2824 -2824
  52. package/src/interface/thirdparty/admin-swagger.yaml +2 -2
  53. package/src/interface/thirdparty/admin_swagger.json +902 -902
  54. package/src/interface/thirdparty/api_swagger.json +2917 -2917
  55. package/src/lib/argv.js +5 -5
  56. package/src/lib/cache.js +5 -5
  57. package/src/lib/config.js +5 -5
  58. package/src/lib/db.js +5 -5
  59. package/src/lib/headers.js +5 -5
  60. package/src/lib/healthCheck/subServiceHealth.js +5 -5
  61. package/src/models/currency/currency.js +5 -5
  62. package/src/models/currency/index.js +5 -5
  63. package/src/models/endpointType/endpointType.js +5 -5
  64. package/src/models/endpointType/index.js +5 -5
  65. package/src/models/misc/migrationLock.js +5 -5
  66. package/src/models/oracle/facade.js +5 -5
  67. package/src/models/oracle/index.js +5 -5
  68. package/src/models/oracle/oracleEndpoint.js +5 -5
  69. package/src/models/oracle/oracleEndpointCached.js +5 -5
  70. package/src/models/participantEndpoint/facade.js +5 -5
  71. package/src/models/partyIdType/index.js +5 -5
  72. package/src/models/partyIdType/partyIdType.js +5 -5
  73. package/src/plugins.js +4 -4
  74. package/src/server.js +4 -4
  75. package/test/integration/api/parties.test.js +5 -5
  76. package/test/integration/domain/oracle/index.test.js +5 -5
  77. package/test/integration/models/currency/currency.test.js +5 -5
  78. package/test/integration/plugins.test.js +5 -5
  79. package/test/unit/api/health.test.js +5 -5
  80. package/test/unit/api/oracles/{ID}.test.js +5 -5
  81. package/test/unit/api/oracles.test.js +5 -5
  82. package/test/unit/api/participants/participants.test.js +5 -5
  83. package/test/unit/api/participants/{Type}/{ID}/error.test.js +7 -5
  84. package/test/unit/api/participants/{Type}/{ID}/{SubId}/error.test.js +5 -5
  85. package/test/unit/api/participants/{Type}/{ID}/{SubId}.test.js +5 -5
  86. package/test/unit/api/participants/{Type}/{ID}.test.js +5 -5
  87. package/test/unit/api/participants.test.js +5 -5
  88. package/test/unit/api/parties/endpointcache.test.js +5 -5
  89. package/test/unit/api/parties/parties.test.js +5 -5
  90. package/test/unit/api/parties/{Type}/{ID}/error.test.js +8 -6
  91. package/test/unit/api/parties/{Type}/{ID}/{SubId}/error.test.js +15 -5
  92. package/test/unit/api/parties/{Type}/{ID}/{SubId}.test.js +5 -5
  93. package/test/unit/api/parties/{Type}/{ID}.test.js +5 -5
  94. package/test/unit/domain/oracle/oracle.test.js +5 -5
  95. package/test/unit/domain/participants/participants.test.js +5 -5
  96. package/test/unit/domain/parties/parties.test.js +5 -5
  97. package/test/unit/domain/parties/utils.test.js +5 -5
  98. package/test/unit/domain/timeout/index.test.js +3 -3
  99. package/test/unit/handlers/TimeoutHandler.test.js +3 -3
  100. package/test/unit/handlers/index.test.js +3 -3
  101. package/test/unit/handlers/register.test.js +3 -3
  102. package/test/unit/index.test.js +5 -5
  103. package/test/unit/iso20022/partiesValidation.test.js +5 -5
  104. package/test/unit/lib/argv.test.js +5 -5
  105. package/test/unit/lib/config.test.js +5 -5
  106. package/test/unit/lib/healthCheck/subServiceHealth.test.js +5 -5
  107. package/test/unit/lib/migrator.test.js +5 -5
  108. package/test/unit/lib/util.test.js +5 -5
  109. package/test/unit/mocks.js +3 -3
  110. package/test/unit/models/currency/currency.test.js +5 -5
  111. package/test/unit/models/endpointType/endpointType.test.js +5 -5
  112. package/test/unit/models/misc/migrationLock.test.js +5 -5
  113. package/test/unit/models/oracle/facade.test.js +5 -5
  114. package/test/unit/models/oracle/oracleEndpoint.test.js +5 -5
  115. package/test/unit/models/oracle/oracleEndpointCached.test.js +5 -5
  116. package/test/unit/models/participantEndpoint/facade.test.js +5 -5
  117. package/test/unit/models/partyIdType/partyIdType.test.js +5 -5
  118. package/test/unit/plugins.test.js +5 -5
  119. package/test/util/helper.js +5 -5
  120. package/test/util/mockgen.js +5 -5
  121. package/test/util/testConfig.js +5 -5
@@ -1,11 +1,12 @@
1
1
  version: 2.1
2
2
  setup: true
3
3
  orbs:
4
- build: mojaloop/build@1.0.27
4
+ build: mojaloop/build@1.0.55
5
5
  workflows:
6
6
  setup:
7
7
  jobs:
8
8
  - build/workflow:
9
+ context: org-global
9
10
  filters:
10
11
  tags:
11
12
  only: /v\d+(\.\d+){2}(-[a-zA-Z-][0-9a-zA-Z-]*\.\d+)?/
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
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
4
 
5
+ ## [17.1.0](https://github.com/mojaloop/account-lookup-service/compare/v17.0.3...v17.1.0) (2025-02-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * refactor audits ([#524](https://github.com/mojaloop/account-lookup-service/issues/524)) ([b02d396](https://github.com/mojaloop/account-lookup-service/commit/b02d396dd914c00bb3f0db7f046c5978a0d522b4))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * add consent oracle and update license ([#525](https://github.com/mojaloop/account-lookup-service/issues/525)) ([18128dc](https://github.com/mojaloop/account-lookup-service/commit/18128dc8586fcb384b5505ab6ab7383c53a95488))
16
+
17
+
18
+ ### Chore
19
+
20
+ * update build orb to version 1.0.50 and add context to workflow ([#523](https://github.com/mojaloop/account-lookup-service/issues/523)) ([868c9b3](https://github.com/mojaloop/account-lookup-service/commit/868c9b32a3ca222a7cb46b1ed4fdd8bff839cd89))
21
+
22
+ ### [17.0.3](https://github.com/mojaloop/account-lookup-service/compare/v17.0.2...v17.0.3) (2025-01-28)
23
+
24
+
25
+ ### Chore
26
+
27
+ * fix vulnerabilities and update deps ([#522](https://github.com/mojaloop/account-lookup-service/issues/522)) ([dd65c94](https://github.com/mojaloop/account-lookup-service/commit/dd65c94999319bfeca460838a889b2866654df3c))
28
+
5
29
  ### [17.0.2](https://github.com/mojaloop/account-lookup-service/compare/v17.0.1...v17.0.2) (2025-01-27)
6
30
 
7
31
 
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
3
+ // audit-ci supports reading JSON, JSONC, and JSON5 config files.
4
+ // Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
5
+ "moderate": true,
6
+ // NOTE: Please add as much information as possible to any items added to the allowList
7
+ "allowlist": []
8
+ }