Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Bank Guarantee {{#eq event.status 'BANK_REVIEW' }}status change{{/eq}}{{#eq event.status 'BANK_APPROVED' }}approved{{/eq}}{{#eq event.status 'BANK_REJECTED' }}rejected{{/eq}}{{#eq event.status 'INTERNAL_REJECTED' }}rejected{{/eq}}{{#eq event.status 'ISSUED' }}issued{{/eq}}{{#eq event.status 'EXPIRED' }}expired{{/eq}}{{#eq event.status 'CANCELLED' }}cancelled{{/eq}}",
"body": "Hi {{{user.preferredName}}}, {{#eq event.status 'BANK_REVIEW'}}status for your Bank Guarantee {{event.bgReference}} has changed to bank review.{{/eq}}{{#eq event.status 'BANK_APPROVED'}}your Bank Guarantee {{event.bgReference}} is approved.{{/eq}}{{#eq event.status 'BANK_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected.{{/eq}}{{#eq event.status 'INTERNAL_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected during internal review.{{/eq}}{{#eq event.status 'ISSUED'}}your Bank Guarantee {{event.bgReference}} is issued.{{/eq}}{{#eq event.status 'EXPIRED'}}your Bank Guarantee {{event.bgReference}} has expired.{{/eq}}{{#eq event.status 'CANCELLED'}}your Bank Guarantee {{event.bgReference}} is cancelled.{{/eq}}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"eventClassName": "com.backbase.lending.tradefinance.bankguarantee.event.spec.v1.BankGuaranteeStatusUpdatedEvent",
"id": "bank-guarantee-status-updated",
"eventBusinessName": "Bank Guarantee Status Updated",
"recipientType": "internal",
"extractor": "#this['contributorsIds']",
"serviceAgreementExtractor": "#this['serviceAgreementId']",
"generalNotifications": [
{
"id": "bank-guarantee-status-updated",
"name": "Bank Guarantee Status Updated",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "{'BANK_REVIEW', 'BANK_APPROVED', 'BANK_REJECTED', 'INTERNAL_REJECTED', 'ISSUED', 'EXPIRED', 'CANCELLED'}.contains(#triggeredEvent['status'])",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "bank-guarantee-view",
"data": "{\"id\":\"{{event.bgId}}\"}"
},
"engagementTemplates": [
{
"path": "/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Bank Guarantee to approve",
"body": "Hi {{{user.preferredName}}}, you have a new Bank Guarantee of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,31 @@
]
}
]
},
{
"id": "bank-guarantee-to-approve",
"name": "Bank Guarantee To Approve",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Bank Guarantee' && #triggeredEvent['approval']['function'] == 'Bank Guarantee - Application'",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "bank-guarantee-approve-view",
"data": "{\"id\":\"{{event.approval.itemId}}\"}"
},
"engagementTemplates": [
{
"path": "/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Bank Guarantee {{#eq event.status 'BANK_REVIEW' }}status change{{/eq}}{{#eq event.status 'BANK_APPROVED' }}approved{{/eq}}{{#eq event.status 'BANK_REJECTED' }}rejected{{/eq}}{{#eq event.status 'INTERNAL_REJECTED' }}rejected{{/eq}}{{#eq event.status 'ISSUED' }}issued{{/eq}}{{#eq event.status 'EXPIRED' }}expired{{/eq}}{{#eq event.status 'CANCELLED' }}cancelled{{/eq}}",
"body": "Hi {{{user.preferredName}}}, {{#eq event.status 'BANK_REVIEW'}}status for your Bank Guarantee {{event.bgReference}} has changed to bank review.{{/eq}}{{#eq event.status 'BANK_APPROVED'}}your Bank Guarantee {{event.bgReference}} is approved.{{/eq}}{{#eq event.status 'BANK_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected.{{/eq}}{{#eq event.status 'INTERNAL_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected during internal review.{{/eq}}{{#eq event.status 'ISSUED'}}your Bank Guarantee {{event.bgReference}} is issued.{{/eq}}{{#eq event.status 'EXPIRED'}}your Bank Guarantee {{event.bgReference}} has expired.{{/eq}}{{#eq event.status 'CANCELLED'}}your Bank Guarantee {{event.bgReference}} is cancelled.{{/eq}}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"eventClassName": "com.backbase.lending.tradefinance.bankguarantee.event.spec.v1.BankGuaranteeStatusUpdatedEvent",
"id": "bank-guarantee-status-updated",
"eventBusinessName": "Bank Guarantee Status Updated",
"recipientType": "internal",
"extractor": "#this['contributorsIds']",
"serviceAgreementExtractor": "#this['serviceAgreementId']",
"generalNotifications": [
{
"id": "bank-guarantee-status-updated",
"name": "Bank Guarantee Status Updated",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "{'BANK_REVIEW', 'BANK_APPROVED', 'BANK_REJECTED', 'INTERNAL_REJECTED', 'ISSUED', 'EXPIRED', 'CANCELLED'}.contains(#triggeredEvent['status'])",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "bank-guarantee-view",
"data": "{\"id\":\"{{event.bgId}}\"}"
},
"engagementTemplates": [
{
"path": "/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Bank Guarantee to approve",
"body": "Hi {{{user.preferredName}}}, you have a new Bank Guarantee of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"level": "INFO",
"targetGroup": "USER",
"origin": "TradeFinance"
}
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,31 @@
]
}
]
},
{
"id": "bank-guarantee-to-approve",
"name": "Bank Guarantee To Approve",
"userPreferenceEnabled": true,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Bank Guarantee' && #triggeredEvent['approval']['function'] == 'Bank Guarantee - Application'",
"deliveryOptions": [
{
"channel": "in-app-notification",
"channelSettings": "/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json",
"isEnabledByDefault": true,
"isManageableByUser": false,
"routeInfo": {
"whereTo": "bank-guarantee-approve-view",
"data": "{\"id\":\"{{event.approval.itemId}}\"}"
},
"engagementTemplates": [
{
"path": "/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json",
"locale": "en_US"
}
]
}
]
}
]
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<name>Backbase :: Engagement Data</name>

<properties>
<backbase-bom.version>2026.01</backbase-bom.version>
<backbase-bom.version>2026.03-LTS</backbase-bom.version>
<docker.repo.url>ecr.backbase.com/development</docker.repo.url>
<gitflow-maven-plugin.version>1.17.0</gitflow-maven-plugin.version>
<docker-maven-plugin.version>0.40.2</docker-maven-plugin.version>
Expand Down
Loading