Skip to content

[AI-FSSDK] [FSSDK-12750] Use attribute id instead of key for CMAB predictions#536

Merged
muzahidul-opti merged 2 commits into
masterfrom
ai/raju-opti/FSSDK-12750-cmab-attribute-id-fix
Jul 7, 2026
Merged

[AI-FSSDK] [FSSDK-12750] Use attribute id instead of key for CMAB predictions#536
muzahidul-opti merged 2 commits into
masterfrom
ai/raju-opti/FSSDK-12750-cmab-attribute-id-fix

Conversation

@raju-opti

@raju-opti raju-opti commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The CMAB prediction request payload requires the attribute ID in the id field, but the attribute key was being sent instead. The Android SDK inherits CMAB logic from the Java SDK core-api, which already contains this fix. This PR bumps the Java core dependency version and updates tests to validate attribute ID usage.

Changes

  • Bumped Java SDK core dependency to pick up the attribute ID fix from core-api
  • Updated CMAB client test attributes to use ID-based keys instead of key-based keys
  • Added test verifying the JSON request payload uses attribute IDs

Jira Ticket

FSSDK-12750

@muzahidul-opti muzahidul-opti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@muzahidul-opti muzahidul-opti merged commit 41d30c1 into master Jul 7, 2026
10 of 11 checks passed
@muzahidul-opti muzahidul-opti deleted the ai/raju-opti/FSSDK-12750-cmab-attribute-id-fix branch July 7, 2026 11:48
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