-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for headers to source transformation flows (#3683)
* feat: add support for headers to source transformation flows * chore: add types for source trasform event
- Loading branch information
Showing
11 changed files
with
74 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,8 @@ | |
"fulfillment_id": "1234567890", | ||
"status": "pending" | ||
} | ||
} | ||
}, | ||
"context": {} | ||
} | ||
] | ||
} | ||
|
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 |
---|---|---|
|
@@ -199,6 +199,7 @@ export const data = [ | |
{ | ||
userId: '1', | ||
originalTimestamp: '2020-09-28T19:53:31.900Z', | ||
context: {}, | ||
traits: { | ||
firstName: 'John', | ||
lastName: 'doe', | ||
|
@@ -336,7 +337,11 @@ export const data = [ | |
status: 200, | ||
body: [ | ||
{ | ||
output: { batch: [{ type: 'alias', previousId: '[email protected]', userId: '12345' }] }, | ||
output: { | ||
batch: [ | ||
{ type: 'alias', previousId: '[email protected]', userId: '12345', context: {} }, | ||
], | ||
}, | ||
}, | ||
], | ||
}, | ||
|
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 |
---|---|---|
|
@@ -124,6 +124,7 @@ export const data: SrcTestCaseData[] = [ | |
elapsedTime: null, | ||
session_id: '**************_***************', | ||
}, | ||
context: {}, | ||
hostname: '************.us.auth0.com', | ||
user_id: 'auth0|************************', | ||
user_name: '[email protected]', | ||
|
@@ -145,6 +146,7 @@ export const data: SrcTestCaseData[] = [ | |
{ | ||
date: '2020-07-10T07:43:09.620Z', | ||
type: 'seacft', | ||
context: {}, | ||
description: '', | ||
connection_id: '', | ||
client_id: '********************************', | ||
|
@@ -176,6 +178,7 @@ export const data: SrcTestCaseData[] = [ | |
client_id: '********************************', | ||
client_name: 'My App', | ||
ip: '47.15.6.58', | ||
context: {}, | ||
user_agent: 'Chrome Mobile 69.0.3497 / Android 0.0.0', | ||
details: { | ||
prompts: [], | ||
|
@@ -207,6 +210,7 @@ export const data: SrcTestCaseData[] = [ | |
client_id: '********************************', | ||
client_name: 'My App', | ||
ip: '47.15.6.58', | ||
context: {}, | ||
user_agent: 'Chrome Mobile 69.0.3497 / Android 0.0.0', | ||
details: { | ||
prompts: [], | ||
|