Skip to content

Commit

Permalink
Merge pull request #40 from mdebarros/feature/#2151-helm-release-v12.1.0
Browse files Browse the repository at this point in the history
feat(2151): helm-release-v12.1.0
- Fixes for payee_above_v1.1 test case failing periodically due to race-condition
  • Loading branch information
mdebarros authored Jun 18, 2021
2 parents 6c35b95 + 7206fa7 commit 8b97f8c
Showing 1 changed file with 40 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
Expand All @@ -40,10 +40,13 @@
"exec": [
"environment[environment.fromFspId + 'PositionBeforePrepare'] = response.body[0].value"
]
},
"preRequest": {
"exec": [
""
]
}
},
"scriptingEngine": "javascript"

}
},
{
"id": 2,
Expand Down Expand Up @@ -71,7 +74,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
Expand All @@ -82,8 +85,7 @@
"environment[environment.NORESPONSE_SIMPAYEE_NAME + 'PositionBeforePrepare'] = response.body[0].value"
]
}
},
"scriptingEngine": "javascript"
}
},
{
"id": 3,
Expand All @@ -101,7 +103,7 @@
"Content-Type": "application/vnd.interoperability.transfers+json;version=1.1",
"Date": "{$function.generic.curDate}",
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}",
"FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}"
},
"body": {
Expand Down Expand Up @@ -171,7 +173,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"delay": "1000",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
Expand All @@ -189,9 +191,7 @@
""
]
}
},
"scriptingEngine": "javascript",
"delay": "1000"
}
},
{
"id": 5,
Expand All @@ -214,7 +214,7 @@
"Content-Type": "application/vnd.interoperability.transfers+json;version=1.1",
"Date": "{$function.generic.curDate}",
"FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}",
"Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}",
"Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}",
"FSPIOP-Destination": "{$inputs.fromFspId}"
},
"body": {
Expand Down Expand Up @@ -277,7 +277,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
Expand All @@ -293,8 +293,7 @@
""
]
}
},
"scriptingEngine": "javascript"
}
},
{
"id": 7,
Expand All @@ -317,7 +316,7 @@
"Content-Type": "application/vnd.interoperability.transfers+json;version=1.1",
"Date": "{$function.generic.curDate}",
"FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}",
"Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}",
"Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}",
"FSPIOP-Destination": "{$inputs.fromFspId}"
},
"body": {
Expand Down Expand Up @@ -345,7 +344,25 @@
}
]
},
"ignoreCallbacks": true
"ignoreCallbacks": true,
"scripts": {
"preRequest": {
"exec": [
"await inboundEvent.addListener('payee_abort_v1.1_put_transfer_id_error', 'put', '/transfers/{$prev.3.request.body.transferId}/error')",
""
]
},
"postRequest": {
"exec": [
"const inboundEventResult = await inboundEvent.getMessage('payee_abort_v1.1_put_transfer_id_error')",
"",
"console.log('Callback result:')",
"console.log(inboundEventResult)",
""
]
}
},
"scriptingEngine": "javascript"
},
{
"id": 8,
Expand All @@ -368,7 +385,7 @@
"Content-Type": "application/vnd.interoperability.transfers+json;version=1.0",
"Date": "{$function.generic.curDate}",
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}",
"FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}"
},
"tests": {
Expand Down Expand Up @@ -487,7 +504,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
Expand All @@ -504,8 +521,7 @@
""
]
}
},
"scriptingEngine": "javascript"
}
},
{
"id": 10,
Expand Down Expand Up @@ -540,7 +556,7 @@
}
]
},
"scriptingEngine": "javascript",
"scriptingEngine": "javascript",
"headers": {
"FSPIOP-Source": "{$inputs.fromFspId}",
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
Expand All @@ -557,8 +573,7 @@
""
]
}
},
"scriptingEngine": "javascript"
}
}
]
}
Expand Down

0 comments on commit 8b97f8c

Please sign in to comment.