From d6a4ad60c67ca4fd5009bb9e4822570750a89e54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 08:11:30 +0000 Subject: [PATCH] chore(update): bump openapi schema (2024-05-27) (#70) Co-authored-by: GitHub --- handler/service/service.go | 15 +++++++++------ handler/serviceuser/serviceuser.go | 30 ++++++++++++++++++------------ 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/handler/service/service.go b/handler/service/service.go index d454c17..6e3fed1 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -518,12 +518,15 @@ func (h *ServiceHandler) ServiceUpdate(ctx context.Context, project string, serv } type AccessControlOut struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories []string `json:"redis_acl_categories,omitempty"` - RedisAclChannels []string `json:"redis_acl_channels,omitempty"` - RedisAclCommands []string `json:"redis_acl_commands,omitempty"` - RedisAclKeys []string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories []string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands []string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys []string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories []string `json:"redis_acl_categories,omitempty"` + RedisAclChannels []string `json:"redis_acl_channels,omitempty"` + RedisAclCommands []string `json:"redis_acl_commands,omitempty"` + RedisAclKeys []string `json:"redis_acl_keys,omitempty"` } type AclOut struct { Id string `json:"id,omitempty"` diff --git a/handler/serviceuser/serviceuser.go b/handler/serviceuser/serviceuser.go index 7c33d63..f7b9b7c 100644 --- a/handler/serviceuser/serviceuser.go +++ b/handler/serviceuser/serviceuser.go @@ -108,20 +108,26 @@ func (h *ServiceUserHandler) ServiceUserGet(ctx context.Context, project string, } type AccessControlIn struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories *[]string `json:"redis_acl_categories,omitempty"` - RedisAclChannels *[]string `json:"redis_acl_channels,omitempty"` - RedisAclCommands *[]string `json:"redis_acl_commands,omitempty"` - RedisAclKeys *[]string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories *[]string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands *[]string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys *[]string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories *[]string `json:"redis_acl_categories,omitempty"` + RedisAclChannels *[]string `json:"redis_acl_channels,omitempty"` + RedisAclCommands *[]string `json:"redis_acl_commands,omitempty"` + RedisAclKeys *[]string `json:"redis_acl_keys,omitempty"` } type AccessControlOut struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories []string `json:"redis_acl_categories,omitempty"` - RedisAclChannels []string `json:"redis_acl_channels,omitempty"` - RedisAclCommands []string `json:"redis_acl_commands,omitempty"` - RedisAclKeys []string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories []string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands []string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys []string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories []string `json:"redis_acl_categories,omitempty"` + RedisAclChannels []string `json:"redis_acl_channels,omitempty"` + RedisAclCommands []string `json:"redis_acl_commands,omitempty"` + RedisAclKeys []string `json:"redis_acl_keys,omitempty"` } type AclOut struct { Id string `json:"id,omitempty"`