DanielLeens opened a new pull request, #13532: URL: https://github.com/apache/seatunnel/pull/13532
Yes, this contributes to Apache SeaTunnel. ### Purpose Add a bounded 7shifts Source for workforce, scheduling, time-punch, wage and assignment exports. No matching upstream issue or existing implementation was found before submission. ### Changes The `SevenShifts` factory supports companies, locations, departments, roles, users, wages, assignment summaries, location assignments, department assignments, role assignments, time punches and shifts. It emits the exact JSON object with signed 64-bit company and user IDs. It enumerates parents independently of export cutoffs and follows continuations on short and empty pages. Date-based and timestamp-based endpoints use the provider's respective UTC request formats, with an overlap and an exact inclusive local boundary. The connector uses customer Bearer tokens and an explicit API version, defaulting to `2026-01-01`. Certificate and hostname verification are enabled by default. The source bounds requests, responses, retries and traversal state, can cancel its in-flight read, and resumes the saved page after a checkpoint. Partner OAuth and refreshing credentials are outside this implementation. Changes to the dataset or a provider cursor can affect recovery. Jobs select one resource and use source parallelism 1. The change adds the isolated production and E2E modules, Factory SPI, plugin mapping, installer and distribution registration, and English and Chinese docs. It uses the existing HTTP and shaded JSON dependencies and the existing Console test artifact. The five POM changes are confined to those modules, their parents and distribution. ### E2E coverage authored Eleven real-engine test methods cover all twelve resource shapes and routes, parent traversal, cross-company user IDs, numeric precision, Unicode, nulls, both modification filter formats, compressed responses, short and empty pages, repeated and malformed cursors, response limits, authentication, redirects and untrusted TLS. Failure and lifecycle cases exercise bounded retry and Retry-After, held and trickled deadlines, cancellation, and checkpoint/savepoint restore from an in-flight cursor without replaying the completed page. ### Validation Scoped `spotless:apply spotless:check` passed in both modules. Static checks covered Java and Python syntax, POMs, all new file whitespace, license headers, the option and registration chain, and the exact staged scope. Compilation, generated SPI, packaging and E2E execution are pending GitHub CI. -- 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]
