Remove Athena hostPort (#6825)

This commit is contained in:
Pere Miquel Brull 2022-08-19 14:11:53 +02:00 committed by GitHub
parent ed0a01edea
commit 3f1fc5344a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View File

@ -90,3 +90,7 @@ ALTER TABLE thread_entity
UPDATE dbservice_entity UPDATE dbservice_entity
SET json = JSON_REMOVE(json, '$.connection.config.databaseSchema','$.connection.config.oracleServiceName') SET json = JSON_REMOVE(json, '$.connection.config.databaseSchema','$.connection.config.oracleServiceName')
WHERE serviceType = 'Oracle'; WHERE serviceType = 'Oracle';
UPDATE dbservice_entity
SET json = JSON_REMOVE(json, '$.connection.config.hostPort')
WHERE serviceType = 'Athena';

View File

@ -84,4 +84,8 @@ ALTER TABLE thread_entity
UPDATE dbservice_entity UPDATE dbservice_entity
SET json = json::jsonb #- '{connection,config,databaseSchema}' #- '{connection,config,oracleServiceName}' SET json = json::jsonb #- '{connection,config,databaseSchema}' #- '{connection,config,oracleServiceName}'
WHERE serviceType = 'Oracle'; WHERE serviceType = 'Oracle';
UPDATE dbservice_entity
SET json = json::jsonb #- '{connection,config,hostPort}'
WHERE serviceType = 'Athena';

View File

@ -36,11 +36,6 @@
"title": "AWS Credentials Configuration", "title": "AWS Credentials Configuration",
"$ref": "../../../../security/credentials/awsCredentials.json" "$ref": "../../../../security/credentials/awsCredentials.json"
}, },
"hostPort": {
"title": "Host and Port",
"description": "Host and port of the Athena service.",
"type": "string"
},
"s3StagingDir": { "s3StagingDir": {
"title": "S3 Staging Directory", "title": "S3 Staging Directory",
"description": "S3 Staging Directory.", "description": "S3 Staging Directory.",