Schema updates and misc UI fixes (#4265)

This commit is contained in:
darth-coder00 2022-04-20 14:16:59 +05:30 committed by GitHub
parent 1d3ba3e3a1
commit a39be0374f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 85 additions and 8 deletions

View File

@ -26,7 +26,7 @@
background: white;
border-radius: 50%;
margin-top: 0.15rem;
z-index: 100;
z-index: 1;
}
.ingestion-rounder.active {
border-color: #7147e8;

View File

@ -39,10 +39,90 @@
"description": "username to connect to the Athena. This user should have privileges to read all the metadata in Athena.",
"type": "string"
},
"projectID": {
"description": "Google BigQuery project id.",
"projectId": {
"description": "BigQuery project ID. Inform it here if passing the credentials path.",
"type": "string"
},
"credentials": {
"description": "GCS Credentials",
"$id": "https://open-metadata.org/security/credentials/gcsCredentials.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GCSCredentials",
"type": "object",
"javaType": "org.openmetadata.catalog.security.credentials.GCSCredentials",
"definitions": {
"GCSValues": {
"description": "GCS Credentials.",
"type": "object",
"properties": {
"type": {
"description": "Google Cloud service account type.",
"type": "string"
},
"projectId": {
"description": "Google Cloud project id.",
"type": "string"
},
"privateKeyId": {
"description": "Google Cloud private key id.",
"type": "string"
},
"privateKey": {
"description": "Google Cloud private key.",
"type": "string"
},
"clientEmail": {
"description": "Google Cloud email.",
"type": "string"
},
"clientId": {
"description": "Google Cloud Client ID.",
"type": "string"
},
"authUri": {
"description": "Google Cloud auth uri.",
"type": "string",
"format": "uri"
},
"tokenUri": {
"description": "Google Cloud token uri.",
"type": "string",
"format": "uri"
},
"authProviderX509CertUrl": {
"description": "Google Cloud auth provider certificate.",
"type": "string",
"format": "uri"
},
"clientX509CertUrl": {
"description": "Google Cloud client certificate uri.",
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"GCSCredentialsPath": {
"description": "GCS Credentials Path.",
"type": "string"
}
},
"properties": {
"gcsConfig": {
"description": "GCS configs.",
"oneOf": [
{
"$ref": "#/properties/credentials/definitions/GCSValues"
},
{
"$ref": "#/properties/credentials/definitions/GCSCredentialsPath"
}
]
}
},
"additionalProperties": false,
"required": ["gcsConfig"]
},
"enablePolicyTagImport": {
"description": "Enable importing policy tags of BigQuery into OpenMetadata",
"type": "boolean",
@ -100,5 +180,5 @@
}
},
"additionalProperties": false,
"required": ["projectID"]
"required": ["credentials"]
}

View File

@ -446,13 +446,10 @@
.Toastify__toast-container {
@apply tw-font-sans tw-break-all;
width: 450px;
}
.Toastify__toast-body {
@apply tw-items-start;
}
.Toastify__toast-icon {
@apply tw-mt-1;
}
}