2023-05-08 09:35:49 +02:00
|
|
|
-- Updating the value of SASL Mechanism for Kafka and Redpanda connections
|
|
|
|
UPDATE messaging_service_entity
|
|
|
|
SET json = JSONB_SET(json::jsonb, '{connection,config,saslMechanism}', '"PLAIN"')
|
|
|
|
WHERE (servicetype = 'Kafka' OR serviceType = 'Redpanda')
|
|
|
|
AND json#>'{connection,config,saslMechanism}' IS NOT NULL
|
2023-05-08 16:54:45 +05:30
|
|
|
AND json#>'{connection,config,saslMechanism}' NOT IN ('"GSSAPI"', '"PLAIN"', '"SCRAM-SHA-256"', '"SCRAM-SHA-512"', '"OAUTHBEARER"');
|
|
|
|
|
|
|
|
-- Remove the Subscriptions
|
|
|
|
DELETE FROM event_subscription_entity;
|
2023-05-11 09:57:52 +02:00
|
|
|
|
|
|
|
-- Clean old test connections
|
|
|
|
TRUNCATE automations_workflow;
|
2023-05-11 18:33:26 +05:30
|
|
|
|
|
|
|
-- Remove the ibmi scheme from Db2 replace it with db2+ibm_db
|
|
|
|
UPDATE dbservice_entity
|
|
|
|
SET json = JSONB_SET(json::jsonb, '{connection,config,scheme}', '"db2+ibm_db"')
|
|
|
|
WHERE serviceType = 'Db2';
|