DanielLeens opened a new pull request, #13702:
URL: https://github.com/apache/seatunnel/pull/13702

   Yes, this contributes to Apache SeaTunnel.
   
   Related to #10753.
   
   ### What changed
   
   Adds a bounded EmploymentHero source covering ten native read collections: 
organisations, employees, leave requests, employee certifications, pay details, 
teams, policies, certifications, custom fields and employee custom fields. 
Native organisation/employee discovery retains real ownership before expanding 
children; unselected dependencies supply identities without emitting records. 
Optional UUID selectors preserve explicit organisation/employee subsets. 
Complete record JSON and ownership columns retain nested fields, nulls and 
precise values. Pay details is read as native paginated history.
   
   OAuth refresh uses the fixed authorization host with native grant/refresh 
query parameters and a client-credential form body. The reader retains returned 
refresh tokens for renewals, caches access-token expiry and permits at most one 
forced unauthorized-read renewal. Unknown token POST outcomes stop without 
blind replay. Resource GETs use only the fixed API origin. Token URLs, 
credentials and provider error bodies are excluded from connector diagnostics.
   
   Native singular item_per_page and page_index metadata are validated before 
page publication. Bounded discovered UUID relationships, resource/parent/page 
positions and complete-page digests support partial replay and committed 
discovery/parent/page/terminal restoration. Discovery for a page is committed 
only after its selected output is fully published; split state excludes 
credentials and raw records.
   
   Includes isolated production/E2E modules, approved 
module/install/distribution registration, Factory SPI and bilingual 
guides/changelogs. It reuses existing HTTP/Jackson versions without new SDKs, 
shared framework changes or root dependency upgrades.
   
   ### Validation
   
   - Scoped Java 11 Spotless apply/check passed for both affected modules.
   - Static checks covered 26 paths, 13 Java files, 23 documented types, all 16 
options and bilingual tables, XML/ASF/whitespace and complete 
registration/state contracts. No Python files or existing capability deletions 
are included.
   - Authored 15 real Zeta E2E methods plus one packaged-reader entry with 
eight modes. An independent Java HTTPS peer verifies all ten resources, 
cross-organisation ownership, hidden dependencies, explicit UUID selection, 
duplicate parent IDs, empty discovery, 100/101 pagination, short/empty 
intermediate pages, metadata/UUID rejection, exact discovery caps, native OAuth 
encoding/returned refresh/expiry/401 behavior, unknown POST outcomes, retries, 
transport/parser/media bounds, TLS, deadlines and socket closure before 
cleanup. Five real engine savepoint paths cover organisation discovery, 
employee discovery, parent switching, pagination and terminal recovery, 
including application-secret rotation. Packaged modes cover partial 
organisation/employee discovery, 32/33 suffix replay, changed 
payload/metadata/filtered rows, object reordering, copy isolation and zero-work 
scope/state failures.
   - Compilation, E2E execution and runtime results remain pending GitHub CI. 
No local compilation, tests, containers, fixture services or live HR account 
run was performed.
   
   The configured refresh seed must remain reusable as documented by the 
provider. Account scopes, SSO consent, subscription access and live-list 
mutation remain external constraints. This is the listed read direction, not a 
transaction snapshot or shared incremental watermark.
   


-- 
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]

Reply via email to