Skip to content

Commit

Permalink
build(deps): bump github.com/aiven/go-api-schemas from 1.52.0 to 1.53…
Browse files Browse the repository at this point in the history
….0 (#1534)
  • Loading branch information
dependabot[bot] authored Jan 16, 2024
1 parent df66fe8 commit 3cc426f
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 22 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ Read-Only:

- `allow_sign_up` (Boolean)
- `allowed_organizations` (List of String)
- `auto_login` (Boolean)
- `client_id` (String)
- `client_secret` (String)
- `skip_org_role_sync` (Boolean)
Expand Down
3 changes: 3 additions & 0 deletions docs/data-sources/kafka_mirrormaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ Read-Only:

- `emit_checkpoints_enabled` (Boolean)
- `emit_checkpoints_interval_seconds` (Number)
- `groups` (String)
- `groups_exclude` (String)
- `offset_lag_max` (Number)
- `refresh_groups_enabled` (Boolean)
- `refresh_groups_interval_seconds` (Number)
- `refresh_topics_enabled` (Boolean)
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/service_integration_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ Read-Only:
- `format` (String)
- `key` (String)
- `logline` (String)
- `max_message_size` (Number)
- `port` (Number)
- `sd` (String)
- `server` (String)
Expand Down
3 changes: 2 additions & 1 deletion docs/resources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ Optional:

- `allow_sign_up` (Boolean) Automatically sign-up users on successful sign-in.
- `allowed_organizations` (List of String) Require users to belong to one of given organizations.
- `skip_org_role_sync` (Boolean) Automatically sync user roles.
- `auto_login` (Boolean) Allow users to bypass the login screen and automatically log in.
- `skip_org_role_sync` (Boolean) Stop automatically syncing user roles.
- `team_ids` (List of Number) Require users to belong to one of given team IDs.


Expand Down
3 changes: 3 additions & 0 deletions docs/resources/kafka_mirrormaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ Optional:

- `emit_checkpoints_enabled` (Boolean) Whether to emit consumer group offset checkpoints to target cluster periodically (default: true).
- `emit_checkpoints_interval_seconds` (Number) Frequency at which consumer group offset checkpoints are emitted (default: 60, every minute).
- `groups` (String) Consumer groups to replicate. Supports comma-separated group IDs and regexes.
- `groups_exclude` (String) Exclude groups. Supports comma-separated group IDs and regexes. Excludes take precedence over includes.
- `offset_lag_max` (Number) How out-of-sync a remote partition can be before it is resynced.
- `refresh_groups_enabled` (Boolean) Whether to periodically check for new consumer groups. Defaults to 'true'.
- `refresh_groups_interval_seconds` (Number) Frequency of consumer group refresh in seconds. Defaults to 600 seconds (10 minutes).
- `refresh_topics_enabled` (Boolean) Whether to periodically check for new topics and partitions. Defaults to 'true'.
Expand Down
9 changes: 5 additions & 4 deletions docs/resources/service_integration_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,17 +218,18 @@ Optional:

Required:

- `format` (String) message format. The default value is `rfc5424`.
- `port` (Number) rsyslog server port. The default value is `514`.
- `server` (String) rsyslog server IP address or hostname.
- `format` (String) Message format. The default value is `rfc5424`.
- `port` (Number) Rsyslog server port. The default value is `514`.
- `server` (String) Rsyslog server IP address or hostname.
- `tls` (Boolean) Require TLS. The default value is `true`.

Optional:

- `ca` (String) PEM encoded CA certificate.
- `cert` (String) PEM encoded client certificate.
- `key` (String) PEM encoded client key.
- `logline` (String) custom syslog message format.
- `logline` (String) Custom syslog message format.
- `max_message_size` (Number) Rsyslog max message size. The default value is `8192`.
- `sd` (String) Structured data block for log message.


Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require (
github.com/hashicorp/terraform-plugin-mux v0.13.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/liip/sheriff v0.11.1
github.com/samber/lo v1.39.0
github.com/stretchr/testify v1.8.4
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819
Expand Down Expand Up @@ -46,7 +45,7 @@ require (
cloud.google.com/go v0.110.8 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/aiven/go-api-schemas v1.52.0
github.com/aiven/go-api-schemas v1.53.0
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
7 changes: 2 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
github.com/aiven/aiven-go-client/v2 v2.11.0 h1:QbvVdW8JpVbjf68Tk+Z8QUWgZnF0XYPJTw+jWEBhEiU=
github.com/aiven/aiven-go-client/v2 v2.11.0/go.mod h1:x0xhzxWEKAwKv0xY5FvECiI6tesWshcPHvjwl0B/1SU=
github.com/aiven/go-api-schemas v1.52.0 h1:kCv4kNHGX2EvyKjoNWTfr9vIY6K5nNBn+A8h0bLWAjQ=
github.com/aiven/go-api-schemas v1.52.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I=
github.com/aiven/go-api-schemas v1.53.0 h1:I6kfG4TYF6490fnbj+0GDvs3xZs9zhzogRT3KZL5kuU=
github.com/aiven/go-api-schemas v1.53.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM=
github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk=
Expand Down Expand Up @@ -409,7 +409,6 @@ github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoD
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-version v0.0.0-20161031182605-e96d38404026/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
Expand Down Expand Up @@ -478,8 +477,6 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/liip/sheriff v0.11.1 h1:52YGzskXFPSEnwfEtXnbPiMKKXJGm5IP45s8Ogw0Wyk=
github.com/liip/sheriff v0.11.1/go.mod h1:nVTQYHxfdIfOHnk5FREt4j6cnaSlJPUfXFVORfgGmTo=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
Expand Down
17 changes: 13 additions & 4 deletions internal/schemautil/userconfig/apiconvert/util_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package apiconvert

import (
"math"
"testing"

"github.com/google/go-cmp/cmp"
Expand Down Expand Up @@ -60,7 +61,7 @@ func TestPropsReqs(t *testing.T) {
map[string]any{"value": "custom"},
},
"example": "rfc5424",
"title": "message format",
"title": "Message format",
"type": "string",
},
"key": map[string]any{
Expand All @@ -77,15 +78,23 @@ func TestPropsReqs(t *testing.T) {
"max_length": 512,
"min_length": 1,
"pattern": "^[ -~\\t]+$",
"title": "custom syslog message format",
"title": "Custom syslog message format",
"type": "string",
},
"max_message_size": map[string]any{
"default": "8192",
"example": "8192",
"maximum": float64(math.MaxInt32),
"minimum": 2048,
"title": "Rsyslog max message size",
"type": "integer",
},
"port": map[string]any{
"default": "514",
"example": "514",
"maximum": 65535,
"minimum": 1,
"title": "rsyslog server port",
"title": "Rsyslog server port",
"type": "integer",
},
"sd": map[string]any{
Expand All @@ -101,7 +110,7 @@ func TestPropsReqs(t *testing.T) {
"example": "logs.example.com",
"max_length": 255,
"min_length": 4,
"title": "rsyslog server IP address or hostname",
"title": "Rsyslog server IP address or hostname",
"type": "string",
},
"tls": map[string]any{
Expand Down
14 changes: 10 additions & 4 deletions internal/schemautil/userconfig/dist/integration_endpoint_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 42 additions & 2 deletions internal/schemautil/userconfig/dist/service_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3cc426f

Please sign in to comment.