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

   Yes, this contributes to Apache SeaTunnel.
   
   ### Purpose
   
   Add Jira Cloud issue writes to the existing Jira connector artifact. This 
extends the Source originally delivered in #3473 with a Sink; it preserves the 
existing Source and its configuration.
   
   ### Changes
   
   The sink configures one CREATE, UPDATE or DELETE operation per stanza. 
CREATE/UPDATE accept a validated JSON `fields` string; UPDATE/DELETE require 
`issue_id_or_key`. Only INSERT command rows are accepted. DELETE explicitly 
sets `deleteSubtasks=false`. Synchronous acknowledgement requires a valid 201 
issue identity for CREATE and 204 for UPDATE/DELETE.
   
   A connector-local HTTP path uses masked username/token credentials, verified 
HTTPS, sanitized errors, bounded response parsing and finite row deadlines. 
Only an explicitly rejected UPDATE 429 with valid Retry-After may retry. 
Ambiguous transport outcomes, 5xx, invalid acknowledgements and CREATE/DELETE 
failures do not replay automatically, preserving same-issue ordering after 
uncertain writes.
   
   This adds a generated Sink Factory SPI, the same-artifact Sink mapping, 
English/Chinese docs and tests in the existing HTTP E2E module. There are no 
POM, shared framework or Source changes.
   
   ### Coverage authored
   
   Eight real-engine E2E methods cover exact stored issues through 
create/update/delete, nested/Unicode/null/precision fidelity, empty input and 
invalid commands, denied deletion and permanent errors, bounded rate-limit 
retries, malformed and ambiguous acknowledgements, delayed applied UPDATE 
ordering, stalled peer disconnect and Zeta savepoint restore. The fixture 
captures actual mutations and persisted state; structured inputs and synthetic 
credentials are staged as files.
   
   ### Validation and limits
   
   Scoped Spotless apply/check and static wiring, syntax, docs and diff checks 
passed. Compilation and all unit/E2E execution remain **pending GitHub CI**. No 
local runtime checks or live Jira account validation ran. This targets 
direct-site Jira Cloud REST v3 and fields-only commands; bulk/transitions, 
cascading deletes, OAuth/gateway token paths and Data Center are outside scope. 
Jira mutations cannot join a checkpoint transaction. Operator or engine replay 
after an uncertain outcome can duplicate a create or reissue a mutation and 
requires reconciliation.
   


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