Skip to content

Merge to Staging for v2.2.0 release#74

Merged
emdobrin merged 5 commits intostagingfrom
dev-v2.2.0
Jul 15, 2023
Merged

Merge to Staging for v2.2.0 release#74
emdobrin merged 5 commits intostagingfrom
dev-v2.2.0

Conversation

@kevinlind
Copy link
Copy Markdown
Contributor

Description

Merge to Staging for v2.2.0 release:

  • Added support for chaining related events.
  • Fixed location of event index when decoding network response errors and warnings.

Related Issue

Motivation and Context

How Has This Been Tested?

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 code follows the code style of this project.
  • 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.
  • All new and existing tests passed.

addb and others added 5 commits April 11, 2023 20:31
Staging -> Main [v2.1.0 release]
* Set Core dependency to 2.2.0 which adds support for chaining events

* Add functional test to assert getLocationHint response event chained to request event

* Set parentId for events dispatched from NetworkResponseHandler

* Add functional tests for parentId set in response events

* Update test case with real-world use case

* Add log message when dispatching response Event without parent id

* Make format to fix indentations
Set parent ID to Edge response events (#69)
…d warnings (#72)

* In network response, look for eventIndex under report object for errors and warnings

* Do not encode eventIndex in errors or warnings response.

* Get 'report' directly from error/warning response instead of using DataReader
@kevinlind kevinlind requested review from addb and emdobrin July 14, 2023 23:26
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 14, 2023

Codecov Report

Merging #74 (fc63803) into staging (f7a1fe3) will increase coverage by 0.35%.
The diff coverage is 95.83%.

@@              Coverage Diff              @@
##             staging      #74      +/-   ##
=============================================
+ Coverage      83.28%   83.63%   +0.35%     
- Complexity       367      380      +13     
=============================================
  Files             29       29              
  Lines           1555     1582      +27     
  Branches         219      225       +6     
=============================================
+ Hits            1295     1323      +28     
- Misses           161      162       +1     
+ Partials          99       97       -2     
Flag Coverage Δ
functional-tests 66.18% <87.50%> (+0.33%) ⬆️
unit-tests 79.65% <95.83%> (+0.48%) ⬆️

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

Impacted Files Coverage Δ
...java/com/adobe/marketing/mobile/EdgeConstants.java 100.00% <ø> (ø)
...com/adobe/marketing/mobile/EdgeNetworkService.java 73.68% <ø> (-0.14%) ⬇️
...src/main/java/com/adobe/marketing/mobile/Edge.java 60.87% <66.67%> (ø)
...adobe/marketing/mobile/NetworkResponseHandler.java 82.91% <91.30%> (+0.76%) ⬆️
.../java/com/adobe/marketing/mobile/EdgeEndpoint.java 100.00% <100.00%> (ø)
...java/com/adobe/marketing/mobile/EdgeExtension.java 85.26% <100.00%> (ø)
.../main/java/com/adobe/marketing/mobile/EdgeHit.java 100.00% <100.00%> (+8.33%) ⬆️
...a/com/adobe/marketing/mobile/EdgeHitProcessor.java 87.59% <100.00%> (+2.00%) ⬆️
...va/com/adobe/marketing/mobile/ExperienceEvent.java 80.49% <100.00%> (ø)
...ava/com/adobe/marketing/mobile/RequestBuilder.java 84.31% <100.00%> (+0.31%) ⬆️

@emdobrin emdobrin merged commit 2daf212 into staging Jul 15, 2023
@kevinlind kevinlind deleted the dev-v2.2.0 branch July 21, 2023 21:19
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.

3 participants