account-lookup-service 17.13.0-snapshot.4 → 17.13.0-snapshot.5
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/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "account-lookup-service",
|
3
3
|
"description": "Account Lookup Service is used to validate Party and Participant lookups.",
|
4
|
-
"version": "17.13.0-snapshot.
|
4
|
+
"version": "17.13.0-snapshot.5",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "ModusBox",
|
7
7
|
"contributors": [
|
package/src/constants.js
CHANGED
@@ -29,7 +29,7 @@ const { API_TYPES } = require('@mojaloop/central-services-shared').Util.Hapi
|
|
29
29
|
|
30
30
|
const ERROR_MESSAGES = Object.freeze({
|
31
31
|
emptyFilteredPartyList: 'Empty oracle partyList, filtered based on callbackEndpointType',
|
32
|
-
externalPartyError: 'External party error',
|
32
|
+
externalPartyError: 'External party resolution error',
|
33
33
|
failedToCacheSendToProxiesList: 'Failed to cache sendToProxiesList',
|
34
34
|
noDiscoveryRequestsForwarded: 'No discovery requests forwarded to participants',
|
35
35
|
sourceFspNotFound: 'Requester FSP not found',
|
@@ -178,7 +178,7 @@ class BasePartiesService {
|
|
178
178
|
const { headers, params, query } = this.inputs
|
179
179
|
|
180
180
|
const response = await this.deps.oracle.oracleRequest(headers, RestMethods.GET, params, query, undefined, this.deps.cache)
|
181
|
-
this.log.
|
181
|
+
this.log.verbose('oracle discovery raw response:', { response })
|
182
182
|
|
183
183
|
let { partyList } = response?.data || {}
|
184
184
|
if (!Array.isArray(partyList)) {
|
@@ -181,6 +181,7 @@ class GetPartiesService extends BasePartiesService {
|
|
181
181
|
if (!filteredPartyList.length) {
|
182
182
|
throw super.createFspiopIdNotFoundError(ERROR_MESSAGES.emptyFilteredPartyList)
|
183
183
|
}
|
184
|
+
this.log.verbose('#filterOraclePartyList is done:', { filteredPartyList })
|
184
185
|
|
185
186
|
return filteredPartyList
|
186
187
|
}
|