-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: merging common properties to a single config json
- Loading branch information
1 parent
9e97f4c
commit 2fb5cba
Showing
6 changed files
with
143 additions
and
104 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
52 changes: 52 additions & 0 deletions
52
src/cdk/v2/destinations/bluecore/data/bluecoreCommonConfig.json
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[ | ||
{ | ||
"destKey": "properties.customer.name", | ||
"sourceKeys": "name", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.first_name", | ||
"sourceKeys": "firstName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.last_name", | ||
"sourceKeys": "lastName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.age", | ||
"sourceKeys": ["context.traits.age", "traits.age"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.customer.sex", | ||
"sourceKeys": ["traits.gender", "context.traits.gender", "traits.sex", "context.traits.sex"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.customer.address", | ||
"sourceKeys": "address", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.email", | ||
"sourceKeys": "email", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.client", | ||
"sourceKeys": "context.app.version", | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.device", | ||
"sourceKeys": "context.device.model", | ||
"required": false | ||
} | ||
] |
50 changes: 0 additions & 50 deletions
50
src/cdk/v2/destinations/bluecore/data/bluecoreIdentifyConfig.json
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 |
---|---|---|
@@ -1,57 +1,7 @@ | ||
[ | ||
{ | ||
"destKey": "properties.customer.name", | ||
"sourceKeys": "name", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.first_name", | ||
"sourceKeys": "firstName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.last_name", | ||
"sourceKeys": "lastName", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.age", | ||
"sourceKeys": ["context.traits.age", "traits.age"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "event", | ||
"sourceKeys": ["traits.action", "context.traits.action"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.customer.sex", | ||
"sourceKeys": ["traits.gender", "context.traits.gender", "traits.sex", "context.traits.sex"], | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.customer.address", | ||
"sourceKeys": "address", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.customer.email", | ||
"sourceKeys": "email", | ||
"required": false, | ||
"sourceFromGenericMap": true | ||
}, | ||
{ | ||
"destKey": "properties.client", | ||
"sourceKeys": "context.app.version", | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "properties.device", | ||
"sourceKeys": "context.device.model", | ||
"required": false | ||
} | ||
] |
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