From a4e77c7c5b61d96b8944b3285f12047585b3e9c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:57:50 +0000 Subject: [PATCH 1/2] chore(deps): bump github.com/Kong/sdk-konnect-go from 0.1.15 to 0.1.18 Bumps [github.com/Kong/sdk-konnect-go](https://github.com/Kong/sdk-konnect-go) from 0.1.15 to 0.1.18. - [Release notes](https://github.com/Kong/sdk-konnect-go/releases) - [Changelog](https://github.com/Kong/sdk-konnect-go/blob/main/.goreleaser.yml) - [Commits](https://github.com/Kong/sdk-konnect-go/compare/v0.1.15...v0.1.18) --- updated-dependencies: - dependency-name: github.com/Kong/sdk-konnect-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8ca587668e..e35aa03b25 100644 --- a/go.mod +++ b/go.mod @@ -94,7 +94,7 @@ require ( github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/Kong/go-diff v1.2.2 // indirect github.com/Kong/gojsondiff v1.3.2 // indirect - github.com/Kong/sdk-konnect-go v0.1.15 + github.com/Kong/sdk-konnect-go v0.1.18 github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.3.0 // indirect diff --git a/go.sum b/go.sum index fd5d13029a..4688f176bf 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/Kong/go-diff v1.2.2 h1:KKKaqHc8IxuguFVIZMNt3bi6YuC/t9r7BGD8bOOpSgM= github.com/Kong/go-diff v1.2.2/go.mod h1:nlvdwVZQk3Rm+tbI0cDmKFrOjghtcZTrZBp+UruvvA8= github.com/Kong/gojsondiff v1.3.2 h1:qIOVq2mUXt+NXy8Be5gRUee9TP3Ve0MbQSafg9bXKZE= github.com/Kong/gojsondiff v1.3.2/go.mod h1:DiIxtU59q4alK7ecP+7k56C5UjgOviJ5gQVR2esEhYw= -github.com/Kong/sdk-konnect-go v0.1.15 h1:DO665UeuAVt3UNw5Yeo0I8eOQXkuE+3TyUvqc17Bz5Y= -github.com/Kong/sdk-konnect-go v0.1.15/go.mod h1:xsmTIkBbmVyUh1nRFjQMOhxYIPDl+sMfmRmPuZHtwLE= +github.com/Kong/sdk-konnect-go v0.1.18 h1:9ifPoIIozRBXqj4n4N8yTHmixfvHqjcakK9wF+A3/04= +github.com/Kong/sdk-konnect-go v0.1.18/go.mod h1:xsmTIkBbmVyUh1nRFjQMOhxYIPDl+sMfmRmPuZHtwLE= github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= From 0c0eef7b906a6c156848ebdec68128eb7330a4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Burzy=C5=84ski?= Date: Wed, 8 Jan 2025 16:53:54 +0100 Subject: [PATCH 2/2] use konnect cfg change detector in synchronizer tests --- internal/konnect/config_synchronizer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/konnect/config_synchronizer_test.go b/internal/konnect/config_synchronizer_test.go index fd70aa990c..1b939769c7 100644 --- a/internal/konnect/config_synchronizer_test.go +++ b/internal/konnect/config_synchronizer_test.go @@ -41,7 +41,7 @@ func TestConfigSynchronizer_UpdatesKongConfigAccordingly(t *testing.T) { ConfigUploadTicker: clock.NewTickerWithDuration(testSendConfigPeriod), KonnectClientFactory: &mocks.KonnectClientFactory{Client: testKonnectClient}, UpdateStrategyResolver: resolver, - ConfigChangeDetector: sendconfig.NewKongGatewayConfigurationChangeDetector(log), + ConfigChangeDetector: sendconfig.NewKonnectConfigurationChangeDetector(), ConfigStatusNotifier: configStatusNotifier, MetricsRecorder: &mocks.MetricsRecorder{}, }, @@ -141,7 +141,7 @@ func TestConfigSynchronizer_ConfigIsSanitizedWhenConfiguredSo(t *testing.T) { ConfigUploadTicker: clock.NewTickerWithDuration(testSendConfigPeriod), KonnectClientFactory: &mocks.KonnectClientFactory{Client: testKonnectClient}, UpdateStrategyResolver: resolver, - ConfigChangeDetector: sendconfig.NewKongGatewayConfigurationChangeDetector(log), + ConfigChangeDetector: sendconfig.NewKonnectConfigurationChangeDetector(), ConfigStatusNotifier: configStatusNotifier, MetricsRecorder: &mocks.MetricsRecorder{}, },