Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add supported connectionModes and updated supportedMessageTypes to destination definitions #801

Merged
merged 31 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d8bc693
feat: add supported connectionModes to missing destinations
ujjwal-ab Aug 1, 2023
3cf3112
Merge branch 'develop' into configurations-update
ujjwal-ab Aug 1, 2023
1dcfa24
update supportedMessageType
ujjwal-ab Aug 8, 2023
783f881
add updated supported message types
ujjwal-ab Sep 18, 2023
44a49f7
Revert "add updated supported message types"
ujjwal-ab Sep 18, 2023
cabdb16
Merge branch 'develop' into configurations-update
ujjwal-ab Sep 18, 2023
135fc06
add updated supported message types
ujjwal-ab Sep 18, 2023
33f73d5
update message types for device mode
ujjwal-ab Sep 18, 2023
bb0ed22
fix: update supported message types for device
ujjwal-ab Sep 25, 2023
7d19f04
fix: update supported message types for device mode
ujjwal-ab Sep 25, 2023
d28a6c4
chore: update message types for device mode
ujjwal-ab Sep 25, 2023
097c513
Merge branch 'develop' into configurations-update
ujjwal-ab Sep 25, 2023
52c7920
remove cloud as supported type for adroll
ujjwal-ab Sep 28, 2023
d75aaac
feat: update supportedConnectionModes for cloud supported destinations
ujjwal-ab Oct 5, 2023
6983687
fix: refactor supported connection modes
ujjwal-ab Oct 9, 2023
b926198
fix: refactor supported connection modes
ujjwal-ab Oct 9, 2023
552e3ec
Merge branch 'develop' into configurations-update
ujjwal-ab Oct 9, 2023
74f9db6
fix: refactor supported connection modes
ujjwal-ab Oct 9, 2023
0e9a379
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 8, 2023
7a7661e
fix: update supportedMessageTypes
ujjwal-ab Nov 9, 2023
5899b2f
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 9, 2023
6a41632
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 9, 2023
e5f125f
fix: update message type
ujjwal-ab Nov 9, 2023
8c4c2fb
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 29, 2023
d3d5207
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 29, 2023
31967fc
feat: make schema consistent with ui-config
ujjwal-ab Nov 29, 2023
8ae39cc
feat: make schema consistent with ui-config
ujjwal-ab Nov 29, 2023
6d9b045
Merge branch 'develop' into configurations-update
ujjwal-ab Nov 30, 2023
d5dd41e
fix: re-add oAuth for criteo-audience
ujjwal-ab Nov 30, 2023
21655b4
fix: make supportedmessagetypes empty obj for launchdarkly audience
ujjwal-ab Nov 30, 2023
9df31f5
fix: add supportedMessageTypes for destinations which support all mes…
ujjwal-ab Nov 30, 2023
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
2 changes: 1 addition & 1 deletion scripts/schemaGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

CONFIG_DIR = 'src/configurations'

EXCLUDED_DEST = ['postgres', 'bq']
EXCLUDED_DEST = ['postgres', 'bq', 'azure_synapse', 'clickhouse', 'deltalake', 'kafka']

class FieldTypeEnum(Enum):
STRING = "string"
Expand Down
11 changes: 9 additions & 2 deletions src/configurations/destinations/adroll/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
],
"excludeKeys": [],
"supportedSourceTypes": ["web"],
"supportedMessageTypes": ["identify", "track", "page"],
"supportedMessageTypes": {
"device": { "web": ["identify", "track", "page"] }
},
"supportedConnectionModes": {
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
"web": ["device"]
},
"destConfig": {
"defaultConfig": [
"advId",
Expand All @@ -31,5 +36,7 @@
},
"secretKeys": []
},
"options": { "isBeta": true }
"options": {
"isBeta": true
}
}
15 changes: 14 additions & 1 deletion src/configurations/destinations/airship/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,20 @@
"warehouse",
"shopify"
],
"supportedMessageTypes": ["identify", "track", "group"],
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"supportedMessageTypes": {
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
"cloud": ["identify", "track", "group"]
},
"destConfig": {
"defaultConfig": ["apiKey", "appKey", "dataCenter", "oneTrustCookieCategories"]
},
Expand Down
15 changes: 14 additions & 1 deletion src/configurations/destinations/algolia/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,20 @@
"warehouse",
"shopify"
],
"supportedMessageTypes": ["track"],
"supportedMessageTypes": {
"cloud": ["track"]
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": ["apiKey", "applicationId", "eventTypeSettings", "oneTrustCookieCategories"]
},
Expand Down
17 changes: 15 additions & 2 deletions src/configurations/destinations/am/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,26 @@
"cordova",
"shopify"
],
"supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"],
"supportedMessageTypes": {
"cloud": ["alias", "group", "identify", "page", "screen", "track"],
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
"device": {
"web": ["identify", "track", "page", "group"],
"android": ["identify", "track", "page", "group"],
"ios": ["identify", "track", "page", "group"],
"reactnative": ["identify", "track", "page", "group"],
"flutter": ["identify", "track", "page", "group"]
}
},
"supportedConnectionModes": {
"web": ["cloud", "device"],
"android": ["cloud", "device"],
"ios": ["cloud", "device"],
"flutter": ["cloud", "device"],
"reactnative": ["cloud", "device"]
"reactnative": ["cloud", "device"],
"unity": ["cloud"],
"amp": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": [
Expand Down
22 changes: 21 additions & 1 deletion src/configurations/destinations/appcenter/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,27 @@
],
"excludeKeys": [],
"supportedSourceTypes": ["android", "ios", "reactnative", "cordova", "flutter"],
"supportedMessageTypes": ["track"],
"supportedMessageTypes": {
"cloud": ["track"],
"device": {
"cordova": ["track", "screen"],
"android": ["track", "screen"],
"ios": ["track", "screen"],
"reactnative": ["track", "screen"],
"flutter": ["track", "screen"]
}
},
"supportedConnectionModes": {
"cordova": ["cloud", "device"],
"android": ["cloud", "device"],
"ios": ["cloud", "device"],
"flutter": ["cloud", "device"],
"reactnative": ["cloud", "device"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": [
"appSecret",
Expand Down
26 changes: 16 additions & 10 deletions src/configurations/destinations/appcues/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,21 @@
"cordova",
"shopify"
],
"supportedMessageTypes": [
"identify",
"page",
"screen",
"track"
],
"supportedMessageTypes": {
"cloud": ["identify", "page", "screen", "track"],
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
"device": { "web": ["identify", "track", "page"] }
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud", "device"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": [
"accountId",
Expand All @@ -41,10 +50,7 @@
"eventFilteringOption",
"oneTrustCookieCategories"
],
"web": [
"nativeSdkUrl",
"useNativeSDK"
]
"web": ["nativeSdkUrl", "useNativeSDK"]
},
"secretKeys": []
}
Expand Down
19 changes: 17 additions & 2 deletions src/configurations/destinations/attentive_tag/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,23 @@
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "signUpSourceId", "oneTrustCookieCategories"] },
"supportedMessageTypes": {
"cloud": ["identify", "track"]
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": ["apiKey", "signUpSourceId", "oneTrustCookieCategories"]
},
"secretKeys": ["apiKey"]
}
}
20 changes: 18 additions & 2 deletions src/configurations/destinations/attribution/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,24 @@
"cordova",
"shopify"
],
"supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"],
"destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"], "web": [] },
"supportedMessageTypes": {
"cloud": ["alias", "group", "identify", "page", "screen", "track"]
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": ["writeKey", "oneTrustCookieCategories"],
"web": []
},
"secretKeys": ["writeKey"]
}
}
19 changes: 17 additions & 2 deletions src/configurations/destinations/autopilot/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,23 @@
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "triggerId", "oneTrustCookieCategories"] },
"supportedMessageTypes": {
"cloud": ["identify", "track"]
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": ["apiKey", "triggerId", "oneTrustCookieCategories"]
},
"secretKeys": []
}
}
15 changes: 14 additions & 1 deletion src/configurations/destinations/awin/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,20 @@
"warehouse",
"shopify"
],
"supportedMessageTypes": ["track"],
"supportedMessageTypes": {
"cloud": ["track"]
},
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"destConfig": {
"defaultConfig": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"]
},
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/awin/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"properties": {
"eventName": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
sanpj2292 marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Expand Down
7 changes: 6 additions & 1 deletion src/configurations/destinations/axeptio/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
],
"excludeKeys": [],
"supportedSourceTypes": ["web"],
"supportedMessageTypes": [],
"supportedMessageTypes": {
"device": { "web": [] }
krishna2020 marked this conversation as resolved.
Show resolved Hide resolved
},
"supportedConnectionModes": {
"web": ["device"]
},
"destConfig": {
"defaultConfig": [
"clientId",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"cordova",
"shopify"
],
"supportedConnectionModes": {},
"destConfig": {
"defaultConfig": [
"containerName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"cordova",
"shopify"
],
"supportedConnectionModes": {},
"destConfig": {
"defaultConfig": [
"containerName",
Expand Down
14 changes: 14 additions & 0 deletions src/configurations/destinations/azure_event_hub/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@
"cordova",
"shopify"
],
sanpj2292 marked this conversation as resolved.
Show resolved Hide resolved
"supportedConnectionModes": {
"android": ["cloud"],
"ios": ["cloud"],
"web": ["cloud"],
"unity": ["cloud"],
"amp": ["cloud"],
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
},
"supportedMessageTypes": {
"cloud": ["identify", "page", "screen", "track", "alias", "group"]
},
"destConfig": {
"defaultConfig": [
"bootstrapServer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"cordova",
"shopify"
],
"supportedConnectionModes": {},
"destConfig": {
"defaultConfig": [
"host",
Expand Down
6 changes: 6 additions & 0 deletions src/configurations/destinations/bingads/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
],
"excludeKeys": [],
"supportedSourceTypes": ["web"],
"supportedConnectionModes": {
"web": ["device"]
},
"supportedMessageTypes": {
"device": { "web": ["track", "page"] }
},
"destConfig": {
"defaultConfig": [
"tagID",
Expand Down
15 changes: 10 additions & 5 deletions src/configurations/destinations/bingads_audience/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
"includeKeys": ["oneTrustCookieCategories"],
"excludeKeys": [],
"supportedSourceTypes": ["cloud", "warehouse", "shopify"],
"supportedMessageTypes": ["audiencelist"],
"syncBehaviours": [
"mirror"
],
"supportedMessageTypes": {
"cloud": ["audiencelist"]
},
"syncBehaviours": ["mirror"],
"disableJsonMapper": true,
"isAudienceSupported": true,
"supportedConnectionModes": {
"shopify": ["cloud"]
ujjwal-ab marked this conversation as resolved.
Show resolved Hide resolved
},
"destConfig": {
"defaultConfig": [
"rudderAccountId",
Expand All @@ -30,5 +33,7 @@
]
}
},
"options": { "isBeta": true }
"options": {
"isBeta": true
}
}
Loading