mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	Remove required fields from BQ for ADC (#7037)
This commit is contained in:
		
							parent
							
								
									8708520c28
								
							
						
					
					
						commit
						9841b0887f
					
				| @ -70,16 +70,7 @@ | |||||||
|           "format": "uri" |           "format": "uri" | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       "additionalProperties": false, |       "additionalProperties": false | ||||||
|       "required": [ |  | ||||||
|         "type", |  | ||||||
|         "projectId", |  | ||||||
|         "privateKeyId", |  | ||||||
|         "privateKey", |  | ||||||
|         "clientEmail", |  | ||||||
|         "clientId", |  | ||||||
|         "clientX509CertUrl" |  | ||||||
|       ] |  | ||||||
|     }, |     }, | ||||||
|     "GCSCredentialsPath": { |     "GCSCredentialsPath": { | ||||||
|       "title": "GCS Credentials Path", |       "title": "GCS Credentials Path", | ||||||
|  | |||||||
| @ -204,6 +204,18 @@ credentials: | |||||||
|     - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` |     - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` | ||||||
|     - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` |     - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` | ||||||
| 
 | 
 | ||||||
|  | If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigQuery you can just leave | ||||||
|  | the GCS credentials empty. This is why they are not marked as required. | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | ... | ||||||
|  |   config: | ||||||
|  |     type: BigQuery | ||||||
|  |     credentials: | ||||||
|  |       gcsConfig: {} | ||||||
|  | ... | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| #### Source Configuration - Source Config | #### Source Configuration - Source Config | ||||||
| 
 | 
 | ||||||
| The `sourceConfig` is defined [here](https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/metadataIngestion/databaseServiceMetadataPipeline.json): | The `sourceConfig` is defined [here](https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/metadataIngestion/databaseServiceMetadataPipeline.json): | ||||||
|  | |||||||
| @ -204,6 +204,18 @@ credentials: | |||||||
|     - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` |     - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` | ||||||
|     - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` |     - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` | ||||||
| 
 | 
 | ||||||
|  | If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigQuery you can just leave | ||||||
|  | the GCS credentials empty. This is why they are not marked as required. | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | ... | ||||||
|  |   config: | ||||||
|  |     type: BigQuery | ||||||
|  |     credentials: | ||||||
|  |       gcsConfig: {} | ||||||
|  | ... | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| #### Source Configuration - Source Config | #### Source Configuration - Source Config | ||||||
| 
 | 
 | ||||||
| The `sourceConfig` is defined [here](https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/metadataIngestion/databaseServiceMetadataPipeline.json): | The `sourceConfig` is defined [here](https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/metadataIngestion/databaseServiceMetadataPipeline.json): | ||||||
|  | |||||||
| @ -179,6 +179,8 @@ the changes. | |||||||
|   - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` |   - In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "sso_login_url"` | ||||||
|   - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` |   - In case you authenticate with SSO using an external browser popup, then add the `authenticator` details in the Connection Arguments as a Key-Value pair as follows: `"authenticator" : "externalbrowser"` | ||||||
| 
 | 
 | ||||||
|  | If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigQuery you can just leave | ||||||
|  | the GCS credentials empty. This is why they are not marked as required. | ||||||
| 
 | 
 | ||||||
| ### 6. Configure Metadata Ingestion | ### 6. Configure Metadata Ingestion | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pere Miquel Brull
						Pere Miquel Brull