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

fix: set client-engine version in events #410

Merged
merged 17 commits into from
Mar 28, 2022
Merged

fix: set client-engine version in events #410

merged 17 commits into from
Mar 28, 2022

Conversation

jaeopt
Copy link
Contributor

@jaeopt jaeopt commented Mar 15, 2022

Summary

  • OptimizelyManager overrides the client name/version (in events) with the updated API of java-sdk core. The client version was not overridden properly in the previous versions.

Test plan

  • A new test validating client name/version in events.

Issues

  • OASIS-8188

@jaeopt jaeopt changed the title fix: add Optimizely builder option for client-engine info fix: set client-engine version in events Mar 18, 2022
@jaeopt jaeopt removed their assignment Mar 24, 2022
rootProject.ext.version_name = version_name
} else {
rootProject.ext.version_name = 'debugVersion'
ext.version_name = System.getenv('TRAVIS_TAG')
Copy link
Contributor

Choose a reason for hiding this comment

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

what is it for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@msohailhussain We get the sdk release version from a git tag forwarded by travis (TRAVIS_TAG). This change is to make it work for testing in travis as well (which fails to override with test version).

Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

lgtm

@jaeopt jaeopt merged commit 1e4cae2 into master Mar 28, 2022
@jaeopt jaeopt deleted the jae/event-version branch March 28, 2022 16:02
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.

2 participants