feat(flow-php/etl-adapter-http): declarative pagination-aware extraction#2547
Merged
Conversation
- add from_http_paginated with page-number, offset/limit, cursor, next-url, link-header, last-record strategies - pluggable injection (query/header/body/uri) and composable stop conditions - decode body once (content-type aware, JSON + XML) into typed rows via Encoder/Hydrator - broaden ContentTypeDetector to text/xml and +xml/+json suffixes - withSchema on all extractors; require flow-php/array-dot and psr/http-factory
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 1.x #2547 +/- ##
============================================
- Coverage 86.45% 86.40% -0.05%
- Complexity 0 23495 +23495
============================================
Files 1772 1800 +28
Lines 71001 71396 +395
============================================
+ Hits 61383 61693 +310
- Misses 9618 9703 +85 🚀 New features to boost your workflow:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change Log
Added
flow-php/etl-adapter-http- declarativefrom_http_paginatedextractor with page-number, offset/limit, cursor, next-url, link-header and last-record strategiesflow-php/etl-adapter-http- composable stop conditions and pluggable request injection (query/header/body/uri) for paginationflow-php/etl-adapter-http- optionalSchemaargument on all HTTP extractor DSL functionsFixed
Changed
flow-php/etl-adapter-http- response body is decoded once (content-type aware, JSON + XML) into typed rowsflow-php/etl-adapter-http-ContentTypeDetectorbroadened totext/xmland+xml/+jsonsuffixesflow-php/etl-adapter-http- requireflow-php/array-dotandpsr/http-factoryRemoved
flow-php/etl-adapter-http-RequestEntriesFactoryandResponseEntriesFactoryDeprecated
Security