DanielLeens commented on PR #13714: URL: https://github.com/apache/seatunnel/pull/13714#issuecomment-7249192298
### Implementation Notes and Trade-offs Head: d106f53cfd1ece26b3591d589e9302d9ec604b7f The official legacy developer page still documents the native token-header .api endpoints. Replacing these with the separate v2 Bearer/.json protocol was rejected because it changes the requested integration contract and resource/envelope shapes. A validated lowercase single DNS label fixes the company origin under ezofficeinventory.com; no arbitrary origin, credential-bearing URL, redirects or eager account check is used. Three history families require separate parent discovery. Using database id or identifier in history paths was rejected: native history paths use sequence_num. Complete inventory/assets/stock discovery is inserted independently of output selection; duplicate parent records remain data, while each valid sequence expands once per family. Missing/invalid sequence numbers fail only when history discovery requires them. Groups/vendors unwrap their native object wrappers. Families without required primary keys do not acquire synthetic IDs. Full records, precise numbers, nulls and duplicates remain data. Native page numbers start at one, with 25-record directory and five-record history pages. No unsupported page-size query or v2 metadata is invented. Full pages require continuation and short/empty pages finish; budgets fail before truncation or publication of an invalid page. The public legacy page describes total pages without establishing a field path for every endpoint, so unverified metadata names are not assumed. Undocumented tenant endpoint variations remain an explicit interoperability risk. Stopping on old history rows or moving an omitted upper bound during restoration was rejected because either can lose out-of-order data or change the export window. History filtering scans all pages, uses inclusive UTC start/exclusive upper, and freezes an omitted upper once. Offset-free updated_at is interpreted using explicit history_timezone, default UTC. This default does not prove a tenant's timezone; users must confirm the native convention. Ambiguous/nonexistent local DST times fail instead of selecting an arbitrary offset. Directory records remain outside the history time filter. Connector-owned artifacts isolate native behavior from shared API/engine code while reusing existing HTTP/Jackson versions. Complete-response validation and canonical digests precede four-row publication; parent discoveries commit only at whole-page completion. Copied checkpoints contain scope hashes, frozen upper, three parent lists and resource/parent/page/publication positions, excluding tokens, records and certificates. Changed raw content/order/length fails before suffix replay; object-key reordering is accepted. Completed discovery/parent/pages do not replay, and terminal restoration issues no request. Socket cancellation and independent wire/decoded/deadline budgets bound transport work. Actual validation is scoped Java 11 Spotless apply/check and source self-audit, 26-path/hash/deletion/XML/ASF/whitespace checks, 22 type Javadocs, 16 option tables and registration/state inspection. Twelve engine methods, five engine savepoint paths and nine packaged modes are authored; none ran locally. Compilation/runtime and real-account permissions, endpoint variants and timestamp conventions remain pending GitHub CI or an appropriate account environment. Initial readback is handed off for subsequent CI/comment maintenance. This is not a merge, production-acceptance, complete live-service parity or transaction-snapshot claim. -- 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]
