-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Delivery Request Body for Notifications (#85)
* adding opensearch changed api for report definition to save branch Signed-off-by: David Cui <[email protected]> * change delivery request body, update test cases Signed-off-by: David Cui <[email protected]> * remove console.log statement, fix DeliveryType type members to use snake case Signed-off-by: David Cui <[email protected]> * convert all snake case to camel case Signed-off-by: David Cui <[email protected]> * make configId required in schema Signed-off-by: David Cui <[email protected]>
- Loading branch information
1 parent
62be0df
commit ab99ee3
Showing
12 changed files
with
59 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,13 +72,11 @@ const input: BackendReportInstanceType = { | |
}, | ||
}, | ||
delivery: { | ||
recipients: ['[email protected]'], | ||
deliveryFormat: BACKEND_DELIVERY_FORMAT.embedded, | ||
title: 'test email subject', | ||
textDescription: '- test\n- optional\n- message', | ||
htmlDescription: | ||
'<ul>\n<li>test</li>\n<li>optional</li>\n<li>message</li>\n</ul>', | ||
channelIds: [], | ||
configIds: [], | ||
}, | ||
}, | ||
}, | ||
|
@@ -129,15 +127,11 @@ const output = { | |
}, | ||
}, | ||
delivery: { | ||
delivery_type: 'Channel', | ||
delivery_params: { | ||
recipients: ['[email protected]'], | ||
title: 'test email subject', | ||
textDescription: '- test\n- optional\n- message', | ||
htmlDescription: | ||
'<ul>\n<li>test</li>\n<li>optional</li>\n<li>message</li>\n</ul>', | ||
channelIds: [], | ||
}, | ||
title: 'test email subject', | ||
textDescription: '- test\n- optional\n- message', | ||
htmlDescription: | ||
'<ul>\n<li>test</li>\n<li>optional</li>\n<li>message</li>\n</ul>', | ||
configIds: [], | ||
}, | ||
time_created: 1605056426053, | ||
last_updated: 1605056426053, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters