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

CIF-2905: Experience Connector Extension #948

Closed
wants to merge 12 commits into from

Conversation

laurentiumagureanu
Copy link
Collaborator

Description

Introduced a Javascript library that collects storefront events and forwards them to AEP

Related Issue

CIF-2905

Motivation and Context

Send ACDL commerce events to AEP

How Has This Been Tested?

Unit tests

Screenshots (if appropriate):

Types of changes

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

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

When removing the clientlib we have to make sure that we document this as breaking change in release notes. Otherwise the user of the react-components that do not use the new experience-platform-connector extension will run into issues.

Alternatively we could keep the clientlib and add a deprecation notice. Would this be possible?

import { useEffect, useState } from 'react';
import { default as handleEvent } from './handleEvent';

export default ({ aep = null, snowPlow = null }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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


```javascript
useEventsCollector({
aep: { orgId: 'IMS ORG ID', datastreamId: 'The ID of the datastream used in AEP' }
Copy link
Contributor

Choose a reason for hiding this comment

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

we should add the Adobe Commerce DataSolutions configuration here.


# Experience Platform Connector

This is a Javascript library collects Storefront events and forwards them to AEP.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This is a Javascript library collects Storefront events and forwards them to AEP.
This Javascript library collects Storefront events and forwards them to AEP.

@herzog31 herzog31 added the feature New feature or request label Aug 12, 2022
@codecov
Copy link

codecov bot commented Aug 12, 2022

Codecov Report

Merging #948 (2e82230) into master (7ed0860) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #948   +/-   ##
=========================================
  Coverage     89.47%   89.47%           
  Complexity     2204     2204           
=========================================
  Files           351      351           
  Lines          9860     9860           
  Branches       1422     1422           
=========================================
  Hits           8822     8822           
  Misses          742      742           
  Partials        296      296           
Flag Coverage Δ
integration 52.17% <ø> (ø)
jest 86.55% <ø> (ø)
karma 95.33% <ø> (ø)
unittests 88.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@buuhuu
Copy link
Contributor

buuhuu commented Sep 2, 2022

Followed up on in
#949

@buuhuu buuhuu closed this Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants