-
Notifications
You must be signed in to change notification settings - Fork 85
feat: ODP REST API for Sending ODP Events #786
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
Conversation
jaeopt
left a comment
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.
I see missing some error handlings. Also we can consider removing {GraphQLManager, RestApiManager} since most logic is in OdpClient. See my comments for more context.
packages/optimizely-sdk/lib/utils/http_request_handler/request_handler_factory.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
This reverts commit f40bd80.
WIP REST API manager test
zashraf1985
left a comment
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.
Great Work Overall! Requested a few changes.
packages/optimizely-sdk/lib/utils/http_request_handler/browser_request_handler.ts
Show resolved
Hide resolved
packages/optimizely-sdk/lib/utils/http_request_handler/request_handler_factory.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Zeeshan Ashraf <35262377+zashraf1985@users.noreply.github.com>
…o mike/odp-rest-api-interface # Conflicts: # packages/optimizely-sdk/lib/plugins/odp/graphql_manager.ts
jaeopt
left a comment
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.
Looks good! A few more small changes suggested.
packages/optimizely-sdk/lib/utils/http_request_handler/request_handler_factory.ts
Outdated
Show resolved
Hide resolved
zashraf1985
left a comment
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.
Looks Great!
jaeopt
left a comment
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.
Changes look good. I found a couple of cases inconsistent.
# Conflicts: # packages/optimizely-sdk/lib/utils/enums/index.ts # packages/optimizely-sdk/lib/utils/http_request_handler/request_handler_factory.ts
jaeopt
left a comment
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.
LGTM
Summary
Adding module to provide an internal service for sending events to ODP's REST API.
Test plan
Issues