mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-30 18:17:53 +00:00 
			
		
		
		
	Connector: vertexai schema (#17632)
* vertexai connection schema * remove yaml file
This commit is contained in:
		
							parent
							
								
									75be6b69dd
								
							
						
					
					
						commit
						5aba41ef58
					
				| @ -0,0 +1,14 @@ | |||||||
|  | { | ||||||
|  |     "name": "VertexAI", | ||||||
|  |     "displayName": "VertexAI Test Connection", | ||||||
|  |     "description": "Test Connection to validate the access against models and basic metadata extraction", | ||||||
|  |     "steps": [ | ||||||
|  |       { | ||||||
|  |         "name": "GetModels", | ||||||
|  |         "description": "Validate that we can get the instances with the given credentials.", | ||||||
|  |         "errorMessage": "Failed to get VertexAI models, please validate to the credentials of service account", | ||||||
|  |         "shortCircuit": true, | ||||||
|  |         "mandatory": true | ||||||
|  |       } | ||||||
|  |     ] | ||||||
|  | } | ||||||
| @ -0,0 +1,38 @@ | |||||||
|  | { | ||||||
|  |   "$id": "https://open-metadata.org/schema/entity/services/connections/mlmodel/vertexaiConnection.json", | ||||||
|  |   "$schema": "http://json-schema.org/draft-07/schema#", | ||||||
|  |   "title": "VertexAIConnection", | ||||||
|  |   "description": "Google VertexAI Connection Config", | ||||||
|  |   "type": "object", | ||||||
|  |   "javaType": "org.openmetadata.schema.services.connections.mlmodel.VertexAIConnection", | ||||||
|  |   "definitions": { | ||||||
|  |     "vertexAIType": { | ||||||
|  |       "description": "Service type.", | ||||||
|  |       "type": "string", | ||||||
|  |       "enum": ["VertexAI"], | ||||||
|  |       "default": "VertexAI" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "properties": { | ||||||
|  |     "type": { | ||||||
|  |       "title": "Service Type", | ||||||
|  |       "description": "Service Type", | ||||||
|  |       "$ref": "#/definitions/vertexAIType", | ||||||
|  |       "default": "VertexAI" | ||||||
|  |     }, | ||||||
|  |     "credentials": { | ||||||
|  |       "title": "GCP Credentials", | ||||||
|  |       "description": "GCP Credentials", | ||||||
|  |       "$ref": "../../../../security/credentials/gcpCredentials.json" | ||||||
|  |     }, | ||||||
|  |     "location": { | ||||||
|  |       "title": "Project location", | ||||||
|  |       "description": "location/region of google cloud project", | ||||||
|  |       "type": "string" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "additionalProperties": false, | ||||||
|  |   "required": [ | ||||||
|  |     "credentials", "location" | ||||||
|  |   ] | ||||||
|  | } | ||||||
| @ -14,7 +14,7 @@ | |||||||
|       "description": "Type of MlModel service", |       "description": "Type of MlModel service", | ||||||
|       "type": "string", |       "type": "string", | ||||||
|       "javaInterfaces": ["org.openmetadata.schema.EnumInterface"], |       "javaInterfaces": ["org.openmetadata.schema.EnumInterface"], | ||||||
|       "enum": ["Mlflow", "Sklearn", "CustomMlModel", "SageMaker"], |       "enum": ["Mlflow", "Sklearn", "CustomMlModel", "SageMaker", "VertexAI"], | ||||||
|       "javaEnums": [ |       "javaEnums": [ | ||||||
|         { |         { | ||||||
|           "name": "Mlflow" |           "name": "Mlflow" | ||||||
| @ -27,6 +27,9 @@ | |||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           "name": "SageMaker" |           "name": "SageMaker" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "name": "VertexAI" | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
| @ -52,6 +55,9 @@ | |||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "$ref": "./connections/mlmodel/sageMakerConnection.json" |               "$ref": "./connections/mlmodel/sageMakerConnection.json" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |               "$ref": "./connections/mlmodel/vertexaiConnection.json" | ||||||
|             } |             } | ||||||
|           ] |           ] | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 harshsoni2024
						harshsoni2024