-
Notifications
You must be signed in to change notification settings - Fork 317
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
feat(gateway): support new event type extract #2999
Conversation
…er into feat/extractevent
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2999 +/- ##
==========================================
+ Coverage 53.43% 53.60% +0.17%
==========================================
Files 342 346 +4
Lines 52747 53627 +880
==========================================
+ Hits 28185 28747 +562
- Misses 22947 23248 +301
- Partials 1615 1632 +17
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Nice !!
@@ -1256,6 +1269,9 @@ func (gateway *HandleT) StartWebHandler(ctx context.Context) error { | |||
srvMux.HandleFunc("/version", WithContentType("application/json; charset=utf-8", gateway.versionHandler)).Methods("GET") | |||
srvMux.HandleFunc("/robots.txt", gateway.robots).Methods("GET") | |||
|
|||
// internal endpoints | |||
internalMux.HandleFunc("/v1/extract", gateway.webExtractHandler).Methods("POST") |
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.
@cisse21 doesn't this require proxy adaptations too so that not a random node is picked?
Description
As part of supporting a new event type,
extract
, we are addinga new endpoint
/internal/extract
for ingesting the event.We are not enforcing the event payload to have either userId or anonymousId.
The same is reflected in the test case modification.
Notion Ticket
https://www.notion.so/rudderstacks/Development-New-event-for-extract-b9e4d7abef294bd7a690acc0332a18ea?pvs=4
Security