Skip to content

Commit

Permalink
feat: onboarding bloomreach for retl
Browse files Browse the repository at this point in the history
  • Loading branch information
manish339k committed Jul 25, 2024
1 parent e9ea507 commit 13f06bb
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/configurations/destinations/bloomreach/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"cdkV2Enabled": true,
"transformAtV1": "router",
"saveDestinationResponse": true,
"supportsBlankAudienceCreation": false,
"supportsVisualMapper": true,
"disableJsonMapper": false,
"isAudienceSupported": false,
"syncBehaviours": ["upsert", "mirror"],
"supportedSourceTypes": [
"android",
"ios",
Expand All @@ -15,10 +20,12 @@
"reactnative",
"flutter",
"cordova",
"shopify"
"shopify",
"warehouse"
],
"supportedMessageTypes": {
"cloud": ["identify", "track", "page", "screen"]
"cloud": ["identify", "track", "page", "screen"],
"warehouse": ["identify", "track", "record"]
},
"supportedConnectionModes": {
"android": ["cloud"],
Expand All @@ -30,7 +37,8 @@
"reactnative": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"]
"shopify": ["cloud"],
"warehouse": ["cloud"]
},
"destConfig": {
"defaultConfig": [
Expand All @@ -40,7 +48,8 @@
"hardID",
"softID",
"projectToken",
"oneTrustCookieCategories"
"oneTrustCookieCategories",
"catalogID"
],
"android": ["connectionMode", "consentManagement"],
"ios": ["connectionMode", "consentManagement"],
Expand All @@ -51,7 +60,8 @@
"reactnative": ["connectionMode", "consentManagement"],
"flutter": ["connectionMode", "consentManagement"],
"cordova": ["connectionMode", "consentManagement"],
"shopify": ["connectionMode", "consentManagement"]
"shopify": ["connectionMode", "consentManagement"],
"warehouse": ["connectionMode", "consentManagement"]
},
"secretKeys": ["apiKey", "apiSecret"]
},
Expand Down
50 changes: 50 additions & 0 deletions src/configurations/destinations/bloomreach/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
},
"catalogId": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
},
"oneTrustCookieCategories": {
"type": "array",
"items": {
Expand Down Expand Up @@ -547,6 +551,52 @@
}
]
}
},
"warehouse": {
"type": "array",
"items": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": ["custom", "ketch", "oneTrust"],
"default": "oneTrust"
},
"consents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"consent": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
}
},
"allOf": [
{
"if": {
"properties": {
"provider": {
"const": "custom"
}
},
"required": ["provider"]
},
"then": {
"properties": {
"resolutionStrategy": {
"type": "string",
"enum": ["and", "or"]
}
},
"required": ["resolutionStrategy"]
}
}
]
}
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions src/configurations/destinations/bloomreach/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$",
"regexErrorMessage": "Invalid Soft ID",
"placeholder": "e.g. cookie"
},
{
"type": "textInput",
"label": "Catalog ID",
"note": "Enter the catalog Id that will be used for rETL source for syncing.",
"configKey": "catalogId",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$",
"regexErrorMessage": "Invalid Catalog ID",
"placeholder": "e.g. 65372e*****123"
}
]
}
Expand Down

0 comments on commit 13f06bb

Please sign in to comment.