Keshav Mohta 107a3c4946
Fixes #24132: Airbyte Cloud Support (#24261)
* feat: airbyte cloud support - added apis, refactor ingestion code

* fix: added tite in oneOf json & logLink /

* test: airbyte cloud tests

* test: airbyte cloud test json

* fix: airbyte test checkstyle

* fix: api expires_in instead of 3 minutes and typehinting
2025-11-11 16:24:09 +05:30

12 lines
445 B
SQL

-- Migrate Airbyte connections from flat username/password to auth object structure
UPDATE pipeline_service_entity
SET json = jsonb_set(
json #- '{connection,config,username}' #- '{connection,config,password}',
'{connection,config,auth}',
jsonb_build_object(
'username', json#>>'{connection,config,username}',
'password', json#>>'{connection,config,password}'
),
true
)
WHERE json->>'serviceType' = 'Airbyte';