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(integration): rockerbox - allow all properties to be passed over to rockerbox #1838

Merged
merged 4 commits into from
Feb 2, 2023

Conversation

yashasvibajpai
Copy link
Member

@yashasvibajpai yashasvibajpai commented Feb 1, 2023

Description of the change

Allow all properties to be passed over to Rockerbox

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@yashasvibajpai yashasvibajpai added the enhancement New feature or request label Feb 1, 2023
@yashasvibajpai yashasvibajpai requested a review from a team as a code owner February 1, 2023 08:19
@yashasvibajpai yashasvibajpai self-assigned this Feb 1, 2023
utsabc
utsabc previously approved these changes Feb 1, 2023
@yashasvibajpai yashasvibajpai merged commit fb64039 into master Feb 2, 2023
@yashasvibajpai yashasvibajpai deleted the feat.rockerbox.customprops branch February 2, 2023 07:59
@github-actions github-actions bot mentioned this pull request Feb 2, 2023
// Reject other unmapped events
if (!eventsHashMap[message.event.toLowerCase()]) {
throw new ConfigurationError('The event is not associated to a RockerBox event. Aborting!');
} else {
payload.action = eventsHashMap[message.event.toLowerCase()];
}
extractCustomFields(message, payload, ['properties'], ROCKERBOX_DEFINED_PROPERTIES);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write unit test case for extractCustomFields function

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants