DanielLeens opened a new pull request, #13535: URL: https://github.com/apache/seatunnel/pull/13535
Yes, this contributes to Apache SeaTunnel. ### Purpose Add an Adjust Source for daily reports from the Report Service JSON endpoint. Exact product searches found no matching upstream issue or existing implementation. ### Changes The source builds the `adjust_report` schema from selected dimensions, metrics and additional metrics. It always includes a DATE column and converts numeric values to fixed-scale DECIMAL without rounding. Each request reads one report day in the chosen fixed UTC offset. The last day is captured at assignment and optionally includes today. HTTP 204 and empty rows advance the date without output. The reader validates a complete day before collecting its records. It fails on warnings, nonempty pagination, a repeated dimension group, or an unexpected day. The API does not document JSON continuation parameters. The source resumes the saved date under the same report parameters. A report can change at the provider and records may repeat after recovery. Requests have strict TLS by default, bounded sizes and deadlines, a cancellable connection, and bounded retries that respect Retry-After. The isolated production and E2E modules, Factory SPI, plugin mapping, installer and distribution entries, and English and Chinese docs use five scoped POM changes and existing HTTP, shaded JSON, Console and FakeSource assets. ### E2E coverage authored Ten real-engine test methods assert dynamic field order and exact values, large-integer and fractional precision, Unicode, nulls, empty days and offset-based inclusion of today. Failure cases exercise incomplete and malformed reports, request bounds, bad authentication, redirects and an untrusted certificate, seconds and HTTP-date Retry-After, held and trickled responses, and cancellation. The Zeta lifecycle cases cover a newer checkpoint while awaiting a report, mid-scan savepoint and restore, changed parameters, and restoration of a terminal report scan in a running job. ### Validation Scoped `spotless:apply spotless:check` and static Java, Python, XML, registration, option/docs, whitespace and staged file checks passed. Compilation, generated SPI, packaging and E2E execution are pending GitHub CI. Live Adjust interoperability has not been tested. -- 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]
