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

chore: update to use v2 config #161

Merged
merged 2 commits into from
Aug 22, 2024
Merged

chore: update to use v2 config #161

merged 2 commits into from
Aug 22, 2024

Conversation

jsalaber
Copy link
Contributor

@jsalaber jsalaber commented Aug 21, 2024

Changes

  • fetch v2 config instead of v1 config
  • fix local bucketing sending two params instead of 3 for newest version of local bucketing

@jsalaber jsalaber requested review from JamieSinn and a team August 21, 2024 14:40
@@ -75,7 +75,7 @@ public void testStoreConfig() {
public void testEventQueue() throws JsonProcessingException {
DevCycleEvent event = DevCycleEvent.builder().type("test").target("target").build();

localBucketing.initEventQueue(apiKey, "{}");
localBucketing.initEventQueue(apiKey, UUID.randomUUID().toString(),"{}");
Copy link
Member

Choose a reason for hiding this comment

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

you'll need to track this client uuid attaching it to the localbucketing instance - as it's used later for sdkConfig events

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd rather get that done in the same pr as the sdkConfig if it hasn't been done already

Copy link
Member

Choose a reason for hiding this comment

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

it has - just an fyi

@jsalaber jsalaber enabled auto-merge (squash) August 21, 2024 15:38
@jsalaber jsalaber disabled auto-merge August 21, 2024 15:56
@jsalaber jsalaber enabled auto-merge (squash) August 21, 2024 15:56
@jsalaber jsalaber merged commit e7e3e7c into main Aug 22, 2024
8 checks passed
@jsalaber jsalaber deleted the COR-2946-use-v2-config branch August 22, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants