fatmanverse opened a new pull request, #13719: URL: https://github.com/apache/seatunnel/pull/13719
### Purpose of this pull request Add a bounded Pipedrive Deals source for `GET /api/v2/deals`. A job can now read the token user's visible, non-archived/non-deleted deals into an explicit SeaTunnel schema, following cursor pages and optional update-time filters. Relates to #10753 (Pipedrive Source row). Claimed at https://github.com/apache/seatunnel/issues/10753#issuecomment-7250158127; this does not close the connector tracker. ### Does this PR introduce _any_ user-facing change? Yes. Adds the `Pipedrive` source, plugin/distribution registration, CI label, and English/Chinese documentation. - BATCH mode and source parallelism 1; explicit trusted API root and header-only API-token authentication. HTTPS by default; redirects disabled. - Cursor pagination ordered by ID, inclusive `updated_since` and exclusive `updated_until`, strict response/schema validation, preserved decimal precision, and a 32 MiB decompressed response limit. - Bounded retries for HTTP 429/5xx with `Retry-After`; cancellation aborts active I/O and wakes retry waits. Transport, malformed responses and permanent HTTP errors fail explicitly without exposing response bodies or credentials. - Checkpoint recovery replays the whole split. This is not a transactional snapshot, CDC, exactly-once source, or persisted incremental watermark. OAuth, other entities and a sink are outside this change. Reuses the existing single-split lifecycle, JSON conversion and HTTP dependencies. Connector-local transport retains Retry-After and supports aborting in-flight requests, capabilities the shared HttpClientProvider does not expose. No shared connector behavior changes or new production third-party dependencies. ### How was this patch tested? Added 68 unit/factory cases covering SPI discovery, configuration/mode validation, cursor pagination, date filters, decimal precision, empty/final pages, malformed responses, gzip and decompressed size limits, HTTP errors/retries, cancellation and checkpoint replay. The selected connector reactor passed `verify` on JDK 17 (Java 11 release target). The final cancellation-wait refinement is also verified on JDK 11. All tests run on a remote Linux Docker host. ```bash ./mvnw -B -ntp -pl seatunnel-connectors-v2/connector-http/connector-http-pipedrive -am \ -DskipIT=true -Dskip.ui=true \ -Dtest=PipedriveSourceFactoryTest,PipedriveSourceReaderTest \ -Dsurefire.failIfNoSpecifiedTests=false -Dsurefire.forkedProcessTimeoutInSeconds=60 verify ``` Scoped `spotless:apply` / `spotless:check` passed for the connector, E2E and registration POMs. The repo-native `PipedriveIT` passed on Zeta (JDK 11 engine, JDK 17 test launcher): 1 test, no failures/errors/skips, actual job state FINISHED. It loads the packaged connector and asserts two retries (429/503), opaque cursor encoding, unchanged date filters, an empty intermediate page, a full terminal page, and 4 rows in the Assert sink. The 69-module E2E dependency reactor completed successfully. ```bash RUN_ENGINES=zeta ./mvnw -B -ntp \ -pl seatunnel-e2e/seatunnel-connector-v2-e2e/connector-pipedrive-e2e -am \ -DskipUT=true -DskipIT=false -Dit.test=PipedriveIT \ -Dit.failIfNoSpecifiedTests=false -Dskip.ui=true \ -Dlicense.skipAddThirdParty=true verify ``` Flink/Spark runtime tests and a full-repository build were not run. Real Pipedrive sandbox validation has not run: sandbox credentials have not been supplied. HTTP fixture coverage is reported separately from live vendor validation. ### Check list - [x] No new third-party production dependency; existing HTTP/JSON dependencies and test fixture library are reused. - [x] English and Chinese source documentation added. - [x] Additive connector; no incompatible change to existing options or APIs. - [x] `plugin-mapping.properties`, distribution POM, CI label and `config/plugin_config` updated. - [x] Connector E2E test and module registration added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
