Skip to content

Commit

Permalink
Merge pull request #1010 from rudderlabs/hotfix-release/v1.56.0
Browse files Browse the repository at this point in the history
chore(release): pull hotfix-release/v1.56.0 into main
  • Loading branch information
1abhishekpandey authored Oct 25, 2023
2 parents 780ba5c + 3864941 commit 6c07d96
Show file tree
Hide file tree
Showing 7 changed files with 278 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.56.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.55.2...v1.56.0) (2023-10-25)


### Features

* add new comscore destination ([#1009](https://github.com/rudderlabs/rudder-config-schema/issues/1009)) ([1ee6186](https://github.com/rudderlabs/rudder-config-schema/commit/1ee6186879cd5771176dd7f51c72ff6eb0a3b9f9))

### [1.55.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.55.1...v1.55.2) (2023-10-19)

### [1.55.1](https://github.com/rudderlabs/rudder-config-schema/compare/v1.55.0...v1.55.1) (2023-10-16)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-config-schema",
"version": "1.55.2",
"version": "1.56.0",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
37 changes: 37 additions & 0 deletions src/configurations/destinations/comscore/db-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "COMSCORE",
"displayName": "Comscore",
"config": {
"transformAt": "processor",
"transformAtV1": "processor",
"includeKeys": [
"publisherId",
"appName",
"foregroundAndBackground",
"autoUpdateInterval",
"foregroundOnly",
"blacklistedEvents",
"whitelistedEvents",
"eventFilteringOption",
"oneTrustCookieCategories"
],
"excludeKeys": [ ],
"supportedSourceTypes": [ "android", "ios" ],
"destConfig": {
"defaultConfig": [
"publisherId",
"appName",
"foregroundAndBackground",
"autoUpdateInterval",
"foregroundOnly",
"blacklistedEvents",
"whitelistedEvents",
"eventFilteringOption",
"oneTrustCookieCategories"
],
"android": [ "useNativeSDK" ],
"ios": [ "useNativeSDK" ]
},
"secretKeys": [ "publisherId" ]
}
}
Empty file.
82 changes: 82 additions & 0 deletions src/configurations/destinations/comscore/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"publisherId"
],
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"appName": {
"type": "string"
},
"foregroundOnly": {
"type": "boolean",
"default": true
},
"foregroundAndBackground": {
"type": "boolean",
"default": false
},
"autoUpdateInterval": {
"type": "string"
},
"useNativeSDK": {
"type": "object",
"properties": {
"web": {
"type": "boolean"
}
}
},
"eventFilteringOption": {
"type": "string",
"enum": [
"disable",
"whitelistedEvents",
"blacklistedEvents"
],
"default": "disable"
},
"whitelistedEvents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"eventName": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
},
"blacklistedEvents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"eventName": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
},
"oneTrustCookieCategories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oneTrustCookieCategory": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
}
}
}
}
149 changes: 149 additions & 0 deletions src/configurations/destinations/comscore/ui-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
{
"uiConfig": [
{
"title": "Connection Settings",
"fields": [
{
"type": "textInput",
"label": "Publisher Id",
"value": "publisherId",
"regex": "^(.{0,100})$",
"regexErrorMessage": "Invalid Publisher Id value",
"required": true,
"placeholder": "1234567",
"secret": true,
"footerNote": "Publisher ID is commonly referred as Client Id/ C2 Value."
}
]
},
{
"fields": [
{
"type": "textInput",
"label": "App Name",
"value": "appName",
"placeholder": "News Magazine",
"footerNote": "This parameter will be included in the payloads to specify the source app for the tags and data."
}
]
},
{
"fields": [
{
"type": "checkbox",
"label": "Only Auto Update when app in foreground.",
"value": "foregroundOnly",
"default": true,
"footerNote": "This setting update usage times only when the application is in the foreground. This is the default mode."
}
]
},
{
"fields": [
{
"type": "checkbox",
"label": "Auto Update when app is in foreground and background.",
"value": "foregroundAndBackground",
"default": false,
"footerNote": "This setting update usage times when the application is in the foreground and background."
}
]
},
{
"fields": [
{
"type": "textInput",
"label": "Auto Update Interval",
"value": "autoUpdateInterval",
"placeholder": "60",
"footerNote": "If Auto Update is enabled, this sets how many seconds in between auto updates."
}
]
},
{
"title": "Native SDK",
"fields": [
{
"type": "defaultCheckbox",
"label": "Use device-mode to send events",
"value": "useNativeSDK",
"default": true
}
]
},
{
"title": "Client-side Events Filtering",
"sectionNote": "Applicable only for device-mode integrations. If enabled, it works only with either allowlisted or denylisted events",
"fields": [
{
"type": "singleSelect",
"value": "eventFilteringOption",
"required": false,
"options": [
{
"name": "Disable",
"value": "disable"
},
{
"name": "Allowlist",
"value": "whitelistedEvents"
},
{
"name": "Denylist",
"value": "blacklistedEvents"
}
],
"defaultOption": {
"name": "Disable",
"value": "disable"
}
},
{
"type": "dynamicCustomForm",
"value": "whitelistedEvents",
"label": "Allowlist",
"customFields": [
{
"type": "textInput",
"value": "eventName",
"required": false,
"placeholder": "e.g: Anonymous Page Visit"
}
]
},
{
"type": "dynamicCustomForm",
"value": "blacklistedEvents",
"label": "Denylist",
"customFields": [
{
"type": "textInput",
"value": "eventName",
"required": false,
"placeholder": "e.g: Credit Card Added"
}
]
}
]
},
{
"title": "Consent Settings",
"fields": [
{
"type": "dynamicCustomForm",
"value": "oneTrustCookieCategories",
"label": "OneTrust Cookie Categories",
"customFields": [
{
"type": "textInput",
"placeholder": "Marketing",
"value": "oneTrustCookieCategory",
"label": "Category Name/ID",
"required": false
}
]
}
]
}
]
}

0 comments on commit 6c07d96

Please sign in to comment.