mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-22 05:36:11 +00:00
* 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
12 lines
445 B
SQL
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'; |