-
Notifications
You must be signed in to change notification settings - Fork 28
feat(Decide): Add Decide API #274
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
4f8765b
feat(Decide): Add Optimizely User Context
oakbani a7b78d8
line at EOF
oakbani c5f138c
Merge branch 'master' into oakbani/decide/user-context
oakbani c8d3a35
feat(Decide): Add Decide API
oakbani f770ce7
fix
oakbani 244c4f3
nil by []
oakbani 1bd6df7
fix enabled
oakbani ddd5349
add to_json in entities
oakbani 98ced8c
Made it work with
zashraf1985 e7366f4
fixed decide_all api
zashraf1985 03a397f
fixed decide_for_keys
zashraf1985 3e9e417
fixed some failing unit tests
zashraf1985 ab824c7
added some test cases
zashraf1985 507dac6
added decide temporary tags
zashraf1985 13833de
added pending to forcefully fail unfinished tests
zashraf1985 b981f64
added some unit tests for decide
zashraf1985 d102a14
added unit tests for decide api
zashraf1985 7fb2ddf
added tests for ignoring user profile service option
zashraf1985 16a509d
added few more tests and some cleanup
zashraf1985 f6437b7
added a null check before cloning attributes
zashraf1985 ac90cd0
simplified the null check
zashraf1985 4026855
changed array append to push to support old ruby versions
zashraf1985 d6be7c2
added support for ENABLED_FLAGS_ONLY decide option
zashraf1985 752114d
Added unit tests for decide_for_keys and decide_all
zashraf1985 ee32ee1
added flag decisions support in decide api
zashraf1985 57ac8a0
added getters to OptimizelyDecision
zashraf1985 a300b3e
Merge branch 'master' into oakbani/decide-internal
zashraf1985 0070d3b
added unit tests for flag decisionss support in decide API
zashraf1985 6727d30
added sdk ready check to all apis
zashraf1985 d9a5549
added a check to include reasons
zashraf1985 cd1648e
added decide reasons
zashraf1985 8ec1619
fixed a minor issue with decide reasons
zashraf1985 a041cb6
Merge branch 'master' into oakbani/decide-internal
zashraf1985 7d122a4
removed some logs from decide reasons
zashraf1985 c40237f
additional null check for optimizely object
zashraf1985 7f6d985
fixed failing FSC test for some events
zashraf1985 b793012
merged the send impression calls under one check
zashraf1985 0a38bdd
fixed failing FSC test
zashraf1985 c401588
modified some tests
zashraf1985 cffa963
added event payload tests
zashraf1985 43b14ee
Added tests for include_reasons
zashraf1985 245637e
fixed a test title
zashraf1985 b76af55
added unit tests for default_decide_options
zashraf1985 5057b3f
added sdk not ready tests for decide_all and decide_for_keys
zashraf1985 92afe26
incorporated some review changes
zashraf1985 1ef9539
added a synchronize block when setting attributes
zashraf1985 89c3d6b
Added doc comments
zashraf1985 315d4aa
lint fixes
zashraf1985 f58d8bd
clone and sync user attributes and context
zashraf1985 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed decide_for_keys
- Loading branch information
commit 03a397f3177762cfd3e7860ed938f90898d42ebd
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to check "ENABLED_FLAGS_ONLY" here too. Probably we can consider decide_all depends on decide_for_keys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done