From fe91e1156b2a20547861a4d75cf2fe26aac44f3c Mon Sep 17 00:00:00 2001 From: Cynthia Qin Date: Mon, 23 Mar 2026 15:06:14 -0700 Subject: [PATCH 1/2] Revert "Revert connection cosmodb (#3262)" This reverts commit dce96497bbd4da4b653a8d052d68470922439eff. --- .../output/flink/connection/create-help.golden | 14 +++++++------- .../create-a2a-missing-required-secret.golden | 14 +++++++------- .../create-a2a-mutually-exclusive-secret.golden | 14 +++++++------- ...reate-mcp_server-missing-required-secret.golden | 14 +++++++------- ...ate-mcp_server-mutually-exclusive-secret.golden | 14 +++++++------- .../create/create-missing-required-secret.golden | 14 +++++++------- .../create-rest-missing-required-secret.golden | 14 +++++++------- .../create-rest-mutually-exclusive-secret.golden | 14 +++++++------- .../connection/create/create-wrong-type.golden | 2 +- .../output/flink/connection/list-help.golden | 2 +- .../flink/connection/list/list-failure.golden | 2 +- .../output/flink/connection/update-help.golden | 12 ++++++------ 12 files changed, 65 insertions(+), 65 deletions(-) diff --git a/test/fixtures/output/flink/connection/create-help.golden b/test/fixtures/output/flink/connection/create-help.golden index f5da73d77c..016d74f3ad 100644 --- a/test/fixtures/output/flink/connection/create-help.golden +++ b/test/fixtures/output/flink/connection/create-help.golden @@ -11,15 +11,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden index d9fb807fdc..fcff708a8e 100644 --- a/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden index dca7cf320b..7d1c5d05ce 100644 --- a/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden index d9fb807fdc..fcff708a8e 100644 --- a/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden index dca7cf320b..7d1c5d05ce 100644 --- a/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden index 0cea47b3f4..8df2f27aad 100644 --- a/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden index d9fb807fdc..fcff708a8e 100644 --- a/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden index aa7b079cd3..c3a8308a2b 100644 --- a/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-wrong-type.golden b/test/fixtures/output/flink/connection/create/create-wrong-type.golden index 1aa898bfe5..e92e8be208 100644 --- a/test/fixtures/output/flink/connection/create/create-wrong-type.golden +++ b/test/fixtures/output/flink/connection/create/create-wrong-type.golden @@ -1,4 +1,4 @@ Error: invalid connection type OPENAI Suggestions: - Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". diff --git a/test/fixtures/output/flink/connection/list-help.golden b/test/fixtures/output/flink/connection/list-help.golden index b505d021c2..f418f403a7 100644 --- a/test/fixtures/output/flink/connection/list-help.golden +++ b/test/fixtures/output/flink/connection/list-help.golden @@ -7,7 +7,7 @@ Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). --environment string Environment ID. - --type string Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + --type string Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". -o, --output string Specify the output format as "human", "json", or "yaml". (default "human") Global Flags: diff --git a/test/fixtures/output/flink/connection/list/list-failure.golden b/test/fixtures/output/flink/connection/list/list-failure.golden index 16a76c5b5d..42bd92b0d6 100644 --- a/test/fixtures/output/flink/connection/list/list-failure.golden +++ b/test/fixtures/output/flink/connection/list/list-failure.golden @@ -1,4 +1,4 @@ Error: invalid connection type invalid Suggestions: - Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". + Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". diff --git a/test/fixtures/output/flink/connection/update-help.golden b/test/fixtures/output/flink/connection/update-help.golden index b2421be079..6fe93e620b 100644 --- a/test/fixtures/output/flink/connection/update-help.golden +++ b/test/fixtures/output/flink/connection/update-help.golden @@ -11,13 +11,13 @@ Update API key of Flink connection "my-connection". Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". - --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". + --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". + --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". From 52032cf1c4eb761c498ce5b782e9ba143da2e0d5 Mon Sep 17 00:00:00 2001 From: Cynthia Qin Date: Mon, 23 Mar 2026 15:14:21 -0700 Subject: [PATCH 2/2] Update tests --- .../output/flink/connection/create-help.golden | 14 +++++++------- .../create-a2a-missing-required-secret.golden | 14 +++++++------- .../create-a2a-mutually-exclusive-secret.golden | 14 +++++++------- ...reate-mcp_server-missing-required-secret.golden | 14 +++++++------- ...ate-mcp_server-mutually-exclusive-secret.golden | 14 +++++++------- .../create/create-missing-required-secret.golden | 14 +++++++------- .../create-rest-missing-required-secret.golden | 14 +++++++------- .../create-rest-mutually-exclusive-secret.golden | 14 +++++++------- .../connection/create/create-wrong-type.golden | 2 +- .../output/flink/connection/list-help.golden | 2 +- .../flink/connection/list/list-failure.golden | 2 +- .../output/flink/connection/update-help.golden | 12 ++++++------ 12 files changed, 65 insertions(+), 65 deletions(-) diff --git a/test/fixtures/output/flink/connection/create-help.golden b/test/fixtures/output/flink/connection/create-help.golden index 016d74f3ad..f5da73d77c 100644 --- a/test/fixtures/output/flink/connection/create-help.golden +++ b/test/fixtures/output/flink/connection/create-help.golden @@ -11,15 +11,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden index fcff708a8e..d9fb807fdc 100644 --- a/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-a2a-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden index 7d1c5d05ce..dca7cf320b 100644 --- a/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-a2a-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden index fcff708a8e..d9fb807fdc 100644 --- a/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-mcp_server-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden index 7d1c5d05ce..dca7cf320b 100644 --- a/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-mcp_server-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden index 8df2f27aad..0cea47b3f4 100644 --- a/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden b/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden index fcff708a8e..d9fb807fdc 100644 --- a/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-rest-missing-required-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden b/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden index c3a8308a2b..aa7b079cd3 100644 --- a/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden +++ b/test/fixtures/output/flink/connection/create/create-rest-mutually-exclusive-secret.golden @@ -10,15 +10,15 @@ Create Flink connection "my-connection" in AWS us-west-2 for OpenAPI with endpoi Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string REQUIRED: Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". --endpoint string REQUIRED: Specify endpoint for the connection. - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server". diff --git a/test/fixtures/output/flink/connection/create/create-wrong-type.golden b/test/fixtures/output/flink/connection/create/create-wrong-type.golden index e92e8be208..1aa898bfe5 100644 --- a/test/fixtures/output/flink/connection/create/create-wrong-type.golden +++ b/test/fixtures/output/flink/connection/create/create-wrong-type.golden @@ -1,4 +1,4 @@ Error: invalid connection type OPENAI Suggestions: - Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". diff --git a/test/fixtures/output/flink/connection/list-help.golden b/test/fixtures/output/flink/connection/list-help.golden index f418f403a7..b505d021c2 100644 --- a/test/fixtures/output/flink/connection/list-help.golden +++ b/test/fixtures/output/flink/connection/list-help.golden @@ -7,7 +7,7 @@ Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). --environment string Environment ID. - --type string Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + --type string Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". -o, --output string Specify the output format as "human", "json", or "yaml". (default "human") Global Flags: diff --git a/test/fixtures/output/flink/connection/list/list-failure.golden b/test/fixtures/output/flink/connection/list/list-failure.golden index 42bd92b0d6..16a76c5b5d 100644 --- a/test/fixtures/output/flink/connection/list/list-failure.golden +++ b/test/fixtures/output/flink/connection/list/list-failure.golden @@ -1,4 +1,4 @@ Error: invalid connection type invalid Suggestions: - Specify the connection type as "openai", "azureml", "azureopenai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", or "cosmosdb". + Specify the connection type as "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "a2a", "bedrock", "sagemaker", "googleai", "vertexai", "mongodb", "elastic", "pinecone", "couchbase", "confluent_jdbc", "rest", "mcp_server", "cosmosdb", or "s3vectors". diff --git a/test/fixtures/output/flink/connection/update-help.golden b/test/fixtures/output/flink/connection/update-help.golden index 6fe93e620b..b2421be079 100644 --- a/test/fixtures/output/flink/connection/update-help.golden +++ b/test/fixtures/output/flink/connection/update-help.golden @@ -11,13 +11,13 @@ Update API key of Flink connection "my-connection". Flags: --cloud string REQUIRED: Specify the cloud provider as "aws", "azure", or "gcp". --region string REQUIRED: Cloud region for Flink (use "confluent flink region list" to see all). - --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". - --aws-access-key string Specify access key for the type: "bedrock" or "sagemaker". - --aws-secret-key string Specify secret key for the type: "bedrock" or "sagemaker". - --aws-session-token string Specify session token for the type: "bedrock" or "sagemaker". + --api-key string Specify API key for the type: "openai", "azureml", "azureopenai", "anthropic", "fireworksai", "googleai", "elastic", "pinecone", "a2a", "mcp_server", or "cosmosdb". + --aws-access-key string Specify access key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-secret-key string Specify secret key for the type: "bedrock", "sagemaker", or "s3vectors". + --aws-session-token string Specify session token for the type: "bedrock", "sagemaker", or "s3vectors". --service-key string Specify service key for the type: "vertexai". - --username string Specify username for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". - --password string Specify password for the type: "mongodb", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --username string Specify username for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". + --password string Specify password for the type: "mongodb", "elastic", "couchbase", "confluent_jdbc", "a2a", "rest", or "mcp_server". --token string Specify bearer token for the type: "a2a", "rest", or "mcp_server". --token-endpoint string Specify OAuth2 token endpoint for the type: "a2a", "rest", or "mcp_server". --client-id string Specify OAuth2 client ID for the type: "a2a", "rest", or "mcp_server".