Skip to content

Commit

Permalink
feat: add support for versioning for destination config v2
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Dec 26, 2024
1 parent a4084d5 commit 2d47532
Show file tree
Hide file tree
Showing 4 changed files with 2,278 additions and 921 deletions.
77 changes: 67 additions & 10 deletions src/configurations/destinations/fb_custom_audience/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,78 @@
"name": "FB_CUSTOM_AUDIENCE",
"displayName": "Facebook Custom Audience",
"config": {
"features": ["vdm-next"],
"features": [
"vdm-next"
],
"supportsBlankAudienceCreation": true,
"disableJsonMapper": true,
"supportsVisualMapper": true,
"syncBehaviours": ["mirror"],
"syncBehaviours": [
"mirror"
],
"transformAtV1": "router",
"saveDestinationResponse": true,
"includeKeys": ["oneTrustCookieCategories", "ketchConsentPurposes", "consentManagement"],
"includeKeys": [
"oneTrustCookieCategories",
"ketchConsentPurposes",
"consentManagement"
],
"excludeKeys": [],
"supportedSourceTypes": ["cloud", "warehouse", "shopify"],
"supportedSourceTypes": [
"cloud",
"warehouse",
"shopify"
],
"versions": [
{
"type": "es-v1",
"actions": [
"create",
"update"
]
},
{
"type": "retl-v1",
"actions": [
"create",
"update"
],
"prerequisite": {
"type": "featureFlag",
"name": "AMP_fbca-retl-v2-enabled",
"value": "false"
}
},
{
"type": "retl-v2",
"actions": [
"create",
"update"
],
"prerequisite": {
"type": "featureFlag",
"name": "AMP_fbca-retl-v2-enabled",
"value": "true"
}
}
],
"supportedMessageTypes": {
"cloud": ["audiencelist", "record"]
"cloud": [
"audiencelist",
"record"
]
},
"isAudienceSupported": true,
"supportedConnectionModes": {
"cloud": ["cloud"],
"warehouse": ["cloud"],
"shopify": ["cloud"]
"cloud": [
"cloud"
],
"warehouse": [
"cloud"
],
"shopify": [
"cloud"
]
},
"destConfig": {
"defaultConfig": [
Expand Down Expand Up @@ -54,7 +108,10 @@
"ketchConsentPurposes"
]
},
"secretKeys": ["accessToken", "appSecret"]
"secretKeys": [
"accessToken",
"appSecret"
]
},
"responseRules": {
"responseType": "JSON",
Expand Down Expand Up @@ -84,4 +141,4 @@
]
}
}
}
}
Loading

0 comments on commit 2d47532

Please sign in to comment.