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

AUT Feature #404

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open

AUT Feature #404

wants to merge 94 commits into from

Conversation

hardikmashru
Copy link
Collaborator

@hardikmashru hardikmashru commented Jun 7, 2024

JIRA Ticket(s) if any

Description

Test Steps

hani-iterable and others added 24 commits March 4, 2024 09:07
* merge fork repo code and implement anon session

* resolve test cases failure

* call API for getting criteria

* track anon event and purchase

* track anon update cart and user

* write test cases

* resolve test cases failure for autjorization

* modify anonymous manager class

* modify test cases

* update the lock files

* implement criteria completion checker

* implement user merge and set config

* set config

* Complete AUT feature

* Resolve review comments

* implement test case for merge user

* unit test case for anon user event tracking

* test case for criteria completion checker

* resolve build failure

* resolve build failure

* resolve review comments

* remove circular dependency

* remove lock file

* resolve review comments
@mprew97
Copy link
Contributor

mprew97 commented Jun 10, 2024

@hardikmashru what's the difference between this and the AUT branch? Are there new additions? Hard to tell what to review.

Also, the build appears to be failing so we ought to address that.

@hardikmashru
Copy link
Collaborator Author

@hardikmashru what's the difference between this and the AUT branch? Are there new additions? Hard to tell what to review.

Also, the build appears to be failing so we ought to address that.

Hi @mprew97 Please do not review other branch AUT, please review this one only.

Copy link
Contributor

@mprew97 mprew97 left a comment

Choose a reason for hiding this comment

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

I think we need to base this off of our Embedded GA work because there are quite a lot of architectural shifts and features that this branch should be making use of.

For example, the updates to network interceptors, the ability in the sample app to toggle between userId and email, and many others.

src/utils/anonymousUserMerge.test.ts Outdated Show resolved Hide resolved
src/utils/anonymousUserEventManager.ts Outdated Show resolved Hide resolved
src/users/users.ts Outdated Show resolved Hide resolved
src/users/users.schema.ts Outdated Show resolved Hide resolved
src/users/types.ts Outdated Show resolved Hide resolved
react-example/src/views/Commerce.tsx Outdated Show resolved Hide resolved
react-example/src/views/Commerce.tsx Outdated Show resolved Hide resolved
react-example/src/index.tsx Outdated Show resolved Hide resolved
react-example/src/components/LoginForm.tsx Outdated Show resolved Hide resolved
react-example/src/components/LoginForm.tsx Outdated Show resolved Hide resolved
hani-iterable and others added 30 commits August 9, 2024 15:24
* Fixed scenario where a IsSet criteria is on the object and there is also a IsSet criteria on the nested json

* remove unnecessary method call for never happen scenario

* revert back eslint rule

---------

Co-authored-by: hani <hani.vora@iterable.com>
* MOB-8824: Added limitation to event storage

* fix: build issue
* implement code for generate JWT token

* revert back the eslint rule
* resolve nested criteria obj error

* modify test case
* MOB-9308: supports nested field types

* fix: linting issue
#436)

* MOB-9081: Written automated unit tests for different field types and comparator types

* made criterias to be re-usable
* added line for pass JWT to response

* revert back code for server side

revert back the code for generate JWT server side as per review comment

* revert eslint rule
* updated nested field logic

* Resolved typo

* resolved conflicts
* fully supports comparison for data in Array data with all comparator types

* MOB-9145: support isOneOf and isNotOneOf comparator

* fix: trailing spaces issue
* [DOCS-4818] EUDC instructions update (#428)

* EUDC instructions update

* Formatting

* Bump braces from 3.0.2 to 3.0.3 (#406)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ws from 7.5.9 to 7.5.10 (#409)

Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump axios from 1.6.2 to 1.7.4 (#433)

Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.2...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump postcss from 8.3.11 to 8.4.31 (#235)

* Bump postcss from 8.3.11 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.3.11...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix spaces

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mitch Prewitt <44011584+mprew97@users.noreply.github.com>

* Bump braces from 3.0.2 to 3.0.3 in /example (#434)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump requirejs from 2.3.6 to 2.3.7 (#435)

Bumps [requirejs](https://github.com/jrburke/r.js) from 2.3.6 to 2.3.7.
- [Commits](requirejs/r.js@2.3.6...2.3.7)

---
updated-dependencies:
- dependency-name: requirejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump micromatch from 4.0.5 to 4.0.8 in /example (#447)

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/micromatch@4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mitch Prewitt <44011584+mprew97@users.noreply.github.com>

* update version for release (#448)

* Bump webpack from 5.76.0 to 5.94.0 (#443)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* EUDC -> EDC (#449)

* fix jwt generator for userid

* some cleanup and fixes

* unused imports

* fix build

* revert, outside of scope

* test not needed

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Brad Umbaugh <brad.umbaugh@iterable.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [MOB-9505] rename merge parameter

* fix ci failure and resolved comment

* fix: ci failure and merged AUT_main changes
* [MOB-9402] update user should not be a separate call

* feat: test cases update user should not be a separate call
* MOB-9650 Added support for nested criteria match a.b.c

* fix: removed updatecart from nested criteria
* MOB-9650 Added support for nested criteria match a.b.c

* fix: removed updatecart from nested criteria

* [MOB-9652] support for nested JSON array

* [MOB-9652] customEvent test case for nested JSON array

* [MOB-9168] Automated unit tests against complex criteria (#461)

* [MOB-9168] Automated unit tests against complex criteria

* [MOB-9168] Automated unit tests against complex criteria
…d anon userid (#460)

* [MOB-9578] implements identity resolution

* [MOB-9639] Added handler for notifying customer app of a newly created anon userid

* moved onAnonUserCreated in identityResolution
* [MOB-9640] Keep AUT off until concent to track is granted

* rename concent to consent

* fixed eslint issue

* added consent support for with-jwt config
* AUT bug bash settings

* block api calls if typeOfAuth not set

* auth checks and tests

* branch fix reversions

* fix most of tests

---------

Co-authored-by: jyu115 <justin.yu@iterable.com>
…ated in Config (#464)

* shuffle onAnonUserCreated

* allow identity resolution overrides on setEmail/setUserId
* fix replay issue with JWT

* fix spec
…alls (#467)

* fix replay issue with JWT

* fix spec

* move initialize check over

* add type of auth util

* clean up auth checks and circular deps

* add getter

* fix

* lets see

* add additional endpoints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants