Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

chore: Update go-utils, cp-common and cp-connector #835

Merged
merged 2 commits into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,9 @@ func connectToControlPlane() (*controlplane.ControlPlane, error) {
return nil, fmt.Errorf("could not create internal Keptn API set: %w", err)
}

natsConnector, err := nats.ConnectFromEnv()
if err != nil {
return nil, fmt.Errorf("could not connect to NATS: %w", err)
}

return controlplane.New(
subscriptionsource.New(apiSet.UniformV1()),
eventsource.New(natsConnector),
eventsource.New(nats.NewFromEnv()),
logforwarder.New(apiSet.LogsV1())), nil
}

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.18
require (
github.com/cloudevents/sdk-go/v2 v2.10.1
github.com/go-test/deep v1.0.8
github.com/keptn/go-utils v0.16.1-0.20220609074613-80183eecfc5a
github.com/keptn/keptn/cp-common v0.0.0-20220609093122-5e01300c122b
github.com/keptn/keptn/cp-connector v0.0.0-20220609102910-598c7e1506bc
github.com/keptn/go-utils v0.16.1-0.20220624075633-4d49101f88b4
github.com/keptn/keptn/cp-common v0.0.0-20220624100411-1ff24aabc440
github.com/keptn/keptn/cp-connector v0.0.0-20220624123322-a205084e713e
github.com/keptn/kubernetes-utils v0.14.0
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.5
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,12 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
github.com/keptn/go-utils v0.16.1-0.20220609074613-80183eecfc5a h1:VvdIdfumjHwIm6zpJrH+fk8VUVIbwlY1YE5L1l/Zz3k=
github.com/keptn/go-utils v0.16.1-0.20220609074613-80183eecfc5a/go.mod h1:oxLLKz2u9KId2HgLH63+T0pUbcgiDd2GDkRrRKwxGUU=
github.com/keptn/keptn/cp-common v0.0.0-20220609093122-5e01300c122b h1:maR8VtMbycIATNfSRD6YX2v9XkeLG6UifpX+ap/qRbU=
github.com/keptn/keptn/cp-common v0.0.0-20220609093122-5e01300c122b/go.mod h1:3TgTvfnt5TTY8Hkckv52GQIYo6GGL7FwzDXakt0DlwY=
github.com/keptn/keptn/cp-connector v0.0.0-20220609102910-598c7e1506bc h1:XuMjddioP7PEXtzavtFmARs5a2NVHmvMXsu+CEGtnXE=
github.com/keptn/keptn/cp-connector v0.0.0-20220609102910-598c7e1506bc/go.mod h1:EHguEq6cl8oWJuqPi3aNr8EMCOJFQpICAqfDSBI4rs8=
github.com/keptn/go-utils v0.16.1-0.20220624075633-4d49101f88b4 h1:1htD2/i/FXF/KBBYG8r8riGRA8Byy2ltgbjPfVlDxdo=
github.com/keptn/go-utils v0.16.1-0.20220624075633-4d49101f88b4/go.mod h1:cf/7GCpSzJdCNFLPf/UbFlNrv12s8sPCUmPN7SHYsw0=
github.com/keptn/keptn/cp-common v0.0.0-20220624100411-1ff24aabc440 h1:PgZOu4U7N0UAKm4obRMTZF2UsOdUxRDAz5y2j+GzkY0=
github.com/keptn/keptn/cp-common v0.0.0-20220624100411-1ff24aabc440/go.mod h1:EQ81AeZGx/NGDkWyqQlyYmUQHorEhAiVr16kmMdAcm8=
github.com/keptn/keptn/cp-connector v0.0.0-20220624123322-a205084e713e h1:C1zOxxTmq4b1/fYLO4Y0Icc691wz+NLQnc9mOdGzbOs=
github.com/keptn/keptn/cp-connector v0.0.0-20220624123322-a205084e713e/go.mod h1:FP6EL2eondaNwXxQ20TvLFCthvJQ5EFN5dw0J3JsPVg=
github.com/keptn/kubernetes-utils v0.14.0 h1:dB4FmUXfYNiYg/oxk7AxtybrqOHUgvPtuzMpICw5zt4=
github.com/keptn/kubernetes-utils v0.14.0/go.mod h1:cu8MTtcyy0QPyM+xbFISx76DMkrNkeHWNBXTzxDkUn4=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
Expand Down