From 1293a3d08f3a28266394fc277acabf83ed2a7e23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:01:36 +0200 Subject: [PATCH] chore(update): bump openapi schema (2024-07-17) (#98) Co-authored-by: GitHub --- handler/kafkatopic/kafkatopic.go | 4 +++- handler/service/service.go | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/handler/kafkatopic/kafkatopic.go b/handler/kafkatopic/kafkatopic.go index 744d96d..4771349 100644 --- a/handler/kafkatopic/kafkatopic.go +++ b/handler/kafkatopic/kafkatopic.go @@ -414,10 +414,12 @@ const ( MessageFormatVersionType37Iv2 MessageFormatVersionType = "3.7-IV2" MessageFormatVersionType37Iv3 MessageFormatVersionType = "3.7-IV3" MessageFormatVersionType37Iv4 MessageFormatVersionType = "3.7-IV4" + MessageFormatVersionType38 MessageFormatVersionType = "3.8" + MessageFormatVersionType38Iv0 MessageFormatVersionType = "3.8-IV0" ) func MessageFormatVersionTypeChoices() []string { - return []string{"0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2", "3.7", "3.7-IV0", "3.7-IV1", "3.7-IV2", "3.7-IV3", "3.7-IV4"} + return []string{"0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2", "3.7", "3.7-IV0", "3.7-IV1", "3.7-IV2", "3.7-IV3", "3.7-IV4", "3.8", "3.8-IV0"} } type MessageOut struct { diff --git a/handler/service/service.go b/handler/service/service.go index 94b66af..26820b6 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -983,6 +983,7 @@ func MethodTypeAltChoices() []string { // MigrationCheckIn Payload to be used with migration_check type MigrationCheckIn struct { IgnoreDbs *string `json:"ignore_dbs,omitempty"` // Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment) + IgnoreRoles *string `json:"ignore_roles,omitempty"` // Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment) Method MethodTypeAlt `json:"method,omitempty"` // The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types) SourceProjectName *string `json:"source_project_name,omitempty"` // Project name SourceServiceName *string `json:"source_service_name,omitempty"` // Service name