From 572b676677ba224580ea921e570f94bd21fbde84 Mon Sep 17 00:00:00 2001 From: Bart van Deenen Date: Thu, 3 Aug 2023 15:00:34 +0200 Subject: [PATCH] feat(strm-2427): upgraded to api v3 --- go.mod | 16 ++++---- go.sum | 41 ++++++------------- pkg/cmd/logs.go | 2 +- pkg/cmd/monitor.go | 2 +- pkg/context/printers.go | 2 +- pkg/entity/account/account.go | 2 +- pkg/entity/batch_exporter/batch_exporter.go | 6 +-- pkg/entity/batch_exporter/printers.go | 4 +- pkg/entity/batch_job/batch_job.go | 4 +- pkg/entity/batch_job/printers.go | 4 +- .../data_connector/azure_blob_storage.go | 2 +- pkg/entity/data_connector/cmd.go | 2 +- pkg/entity/data_connector/data_connector.go | 4 +- pkg/entity/data_connector/gcs_bucket.go | 2 +- pkg/entity/data_connector/jdbc_connection.go | 2 +- pkg/entity/data_connector/printers.go | 4 +- pkg/entity/data_connector/s3_bucket.go | 2 +- pkg/entity/data_contract/data_contract.go | 4 +- pkg/entity/data_contract/printers.go | 6 +-- pkg/entity/data_subject/datasubject.go | 2 +- pkg/entity/data_subject/printers.go | 2 +- pkg/entity/installation/installation.go | 2 +- pkg/entity/installation/printers.go | 2 +- pkg/entity/kafka_cluster/kafka_cluster.go | 4 +- pkg/entity/kafka_cluster/printers.go | 4 +- pkg/entity/kafka_exporter/kafka_exporter.go | 4 +- pkg/entity/kafka_exporter/printers.go | 4 +- pkg/entity/kafka_user/kafka_user.go | 4 +- pkg/entity/kafka_user/printers.go | 4 +- pkg/entity/key_stream/key_stream.go | 4 +- pkg/entity/key_stream/printers.go | 4 +- pkg/entity/keylinks/keylinks.go | 2 +- pkg/entity/keylinks/printers.go | 2 +- pkg/entity/organization/organization.go | 2 +- pkg/entity/organization/printers.go | 2 +- pkg/entity/policy/policy.go | 4 +- pkg/entity/policy/printers.go | 4 +- pkg/entity/project/cmd.go | 2 +- pkg/entity/project/project.go | 4 +- pkg/entity/purpose_mapping/printers.go | 4 +- pkg/entity/purpose_mapping/purpose_mapping.go | 4 +- pkg/entity/schema_code/schema_code.go | 4 +- pkg/entity/stream/printers.go | 4 +- pkg/entity/stream/stream.go | 4 +- pkg/entity/usage/printers.go | 2 +- pkg/entity/usage/usage.go | 4 +- pkg/entity/user/printers.go | 2 +- pkg/entity/user/user.go | 6 +-- pkg/logs/cmd.go | 2 +- pkg/logs/logs.go | 2 +- pkg/logs/printers.go | 2 +- pkg/monitor/cmd.go | 2 +- pkg/monitor/monitor.go | 2 +- pkg/monitor/printers.go | 2 +- pkg/simulator/random_events/random_events.go | 2 +- pkg/util/utils.go | 2 +- pkg/web_socket/web_socket.go | 2 +- test/streams_test.go | 4 +- 58 files changed, 107 insertions(+), 122 deletions(-) diff --git a/go.mod b/go.mod index aa32367..864d9c1 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module strmprivacy/strm go 1.20 +replace github.com/strmprivacy/api-definitions-go/v3 => ../api-definitions/lang/go/src + require ( github.com/Shopify/sarama v1.37.2 github.com/actgardner/gogen-avro/v7 v7.3.1 @@ -22,10 +24,10 @@ require ( github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.13.0 - github.com/strmprivacy/api-definitions-go/v2 v2.84.0 + github.com/strmprivacy/api-definitions-go/v3 v3.13.0 github.com/trietsch/oauth2cli v1.13.1-0.20221209222543-0e76591d5463 golang.org/x/oauth2 v0.3.0 - golang.org/x/sync v0.1.0 + golang.org/x/sync v0.3.0 google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd google.golang.org/grpc v1.50.1 google.golang.org/protobuf v1.30.0 @@ -40,7 +42,7 @@ require ( github.com/eapache/go-resiliency v1.3.0 // indirect github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect github.com/eapache/queue v1.1.0 // indirect - github.com/envoyproxy/protoc-gen-validate v1.0.1 // indirect + github.com/envoyproxy/protoc-gen-validate v1.0.2 // indirect github.com/fsnotify/fsnotify v1.5.4 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/hashicorp/errwrap v1.0.0 // indirect @@ -70,11 +72,11 @@ require ( github.com/ysmood/goob v0.4.0 // indirect github.com/ysmood/gson v0.7.1 // indirect github.com/ysmood/leakless v0.8.0 // indirect - golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect + golang.org/x/crypto v0.10.0 // indirect golang.org/x/exp v0.0.0-20221026153819-32f3d567a233 // indirect - golang.org/x/net v0.9.0 // indirect - golang.org/x/sys v0.7.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/net v0.11.0 // indirect + golang.org/x/sys v0.9.0 // indirect + golang.org/x/text v0.10.0 // indirect google.golang.org/appengine v1.6.7 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/go.sum b/go.sum index 13483d8..e523672 100644 --- a/go.sum +++ b/go.sum @@ -82,8 +82,8 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v1.0.1 h1:kt9FtLiooDc0vbwTLhdg3dyNX1K9Qwa1EK9LcD4jVUQ= -github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= +github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= +github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= @@ -178,7 +178,6 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= @@ -218,7 +217,6 @@ github.com/linkedin/goavro v2.1.0+incompatible/go.mod h1:bBCwI2eGYpUI/4820s67MEl github.com/linkedin/goavro/v2 v2.10.0/go.mod h1:UgQUb2N/pmueQYH9bfqFioWxzYCZXSfF8Jw03O5sjqA= github.com/lithammer/dedent v1.1.0 h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffktY= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= -github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= @@ -235,10 +233,8 @@ github.com/pierrec/lz4/v4 v4.1.17 h1:kV4Ip+/hUBC+8T6+2EgburRtkE9ef4nbY3f4dFhGjMc github.com/pierrec/lz4/v4 v4.1.17/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.6.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -257,7 +253,6 @@ github.com/samber/lo v1.33.0 h1:2aKucr+rQV6gHpY3bpeZu69uYoQOzVhGT3J22Op6Cjk= github.com/samber/lo v1.33.0/go.mod h1:HLeWcJRRyLKp3+/XBJvOrerCQn9mhdKMHyd7IRlgeQ8= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= @@ -281,8 +276,6 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/strmprivacy/api-definitions-go/v2 v2.84.0 h1:OQIHk99RW/nJugHvHEjxy1Z2q3GM43nS5AaVV3y2xDA= -github.com/strmprivacy/api-definitions-go/v2 v2.84.0/go.mod h1:OQd7gJkbtxHxZBoZ0UrmuCOAsdk5XOyh6ciVrim9jJI= github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M= @@ -313,14 +306,14 @@ go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqe golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= +golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -346,7 +339,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -358,8 +350,6 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -396,9 +386,8 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220725212005-46097bf591d3/go.mod h1:AaygXjzTFtRAg2ttMY5RMuhpJ3cNnI0XpyFJD1iQRSM= golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= +golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -423,8 +412,9 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -469,14 +459,11 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -487,9 +474,8 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= +golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -541,8 +527,6 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -632,7 +616,6 @@ google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA5 google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= diff --git a/pkg/cmd/logs.go b/pkg/cmd/logs.go index ec724c5..10975b2 100644 --- a/pkg/cmd/logs.go +++ b/pkg/cmd/logs.go @@ -2,7 +2,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/auth" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/logs" diff --git a/pkg/cmd/monitor.go b/pkg/cmd/monitor.go index 17c3eff..8e76c85 100644 --- a/pkg/cmd/monitor.go +++ b/pkg/cmd/monitor.go @@ -2,7 +2,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/auth" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/monitor" diff --git a/pkg/context/printers.go b/pkg/context/printers.go index b91951d..0aa4951 100644 --- a/pkg/context/printers.go +++ b/pkg/context/printers.go @@ -11,7 +11,7 @@ import ( "github.com/jedib0t/go-pretty/v6/list" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/account/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/account/v1" ) var printer util.Printer diff --git a/pkg/entity/account/account.go b/pkg/entity/account/account.go index 3d97d68..4349bce 100644 --- a/pkg/entity/account/account.go +++ b/pkg/entity/account/account.go @@ -2,7 +2,7 @@ package account import ( "context" - "github.com/strmprivacy/api-definitions-go/v2/api/account/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/account/v1" "google.golang.org/grpc" "strmprivacy/strm/pkg/common" ) diff --git a/pkg/entity/batch_exporter/batch_exporter.go b/pkg/entity/batch_exporter/batch_exporter.go index 525d777..aa8e3fa 100644 --- a/pkg/entity/batch_exporter/batch_exporter.go +++ b/pkg/entity/batch_exporter/batch_exporter.go @@ -6,9 +6,9 @@ import ( "github.com/golang/protobuf/ptypes/duration" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/batch_exporters/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/data_connectors/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/batch_exporters/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_connectors/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "google.golang.org/grpc" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/batch_exporter/printers.go b/pkg/entity/batch_exporter/printers.go index b3a85e8..5759041 100644 --- a/pkg/entity/batch_exporter/printers.go +++ b/pkg/entity/batch_exporter/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/batch_exporters/v1" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/batch_exporters/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/batch_job/batch_job.go b/pkg/entity/batch_job/batch_job.go index e9c681f..9daa32b 100644 --- a/pkg/entity/batch_job/batch_job.go +++ b/pkg/entity/batch_job/batch_job.go @@ -8,8 +8,8 @@ import ( "github.com/golang/protobuf/jsonpb" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/batch_jobs/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/batch_jobs/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "google.golang.org/grpc" "os" "strings" diff --git a/pkg/entity/batch_job/printers.go b/pkg/entity/batch_job/printers.go index 9397eb3..e7d6087 100644 --- a/pkg/entity/batch_job/printers.go +++ b/pkg/entity/batch_job/printers.go @@ -6,8 +6,8 @@ import ( "github.com/bykof/gostradamus" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/batch_jobs/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/batch_jobs/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "sort" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/data_connector/azure_blob_storage.go b/pkg/entity/data_connector/azure_blob_storage.go index 2295ab1..a8f7faa 100644 --- a/pkg/entity/data_connector/azure_blob_storage.go +++ b/pkg/entity/data_connector/azure_blob_storage.go @@ -2,7 +2,7 @@ package data_connector import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/data_connector/cmd.go b/pkg/entity/data_connector/cmd.go index 0e61328..75d1bcf 100644 --- a/pkg/entity/data_connector/cmd.go +++ b/pkg/entity/data_connector/cmd.go @@ -2,7 +2,7 @@ package data_connector import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_connectors/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_connectors/v1" "strings" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/data_connector/data_connector.go b/pkg/entity/data_connector/data_connector.go index 94168a0..aa9dfc5 100644 --- a/pkg/entity/data_connector/data_connector.go +++ b/pkg/entity/data_connector/data_connector.go @@ -4,8 +4,8 @@ import ( "context" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/data_connectors/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_connectors/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "google.golang.org/grpc" "os" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/data_connector/gcs_bucket.go b/pkg/entity/data_connector/gcs_bucket.go index fb0294f..36ba42e 100644 --- a/pkg/entity/data_connector/gcs_bucket.go +++ b/pkg/entity/data_connector/gcs_bucket.go @@ -2,7 +2,7 @@ package data_connector import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" ) const ( diff --git a/pkg/entity/data_connector/jdbc_connection.go b/pkg/entity/data_connector/jdbc_connection.go index 2794e48..48b0f9a 100644 --- a/pkg/entity/data_connector/jdbc_connection.go +++ b/pkg/entity/data_connector/jdbc_connection.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "os" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/data_connector/printers.go b/pkg/entity/data_connector/printers.go index f24dc67..4747af2 100644 --- a/pkg/entity/data_connector/printers.go +++ b/pkg/entity/data_connector/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_connectors/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_connectors/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strings" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/data_connector/s3_bucket.go b/pkg/entity/data_connector/s3_bucket.go index 4f58d7c..c8acd5d 100644 --- a/pkg/entity/data_connector/s3_bucket.go +++ b/pkg/entity/data_connector/s3_bucket.go @@ -2,7 +2,7 @@ package data_connector import ( "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/data_contract/data_contract.go b/pkg/entity/data_contract/data_contract.go index 6d68233..a3b2773 100644 --- a/pkg/entity/data_contract/data_contract.go +++ b/pkg/entity/data_contract/data_contract.go @@ -4,8 +4,8 @@ import ( "context" "errors" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_contracts/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_contracts/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "google.golang.org/grpc" "google.golang.org/protobuf/encoding/protojson" "os" diff --git a/pkg/entity/data_contract/printers.go b/pkg/entity/data_contract/printers.go index a035750..fbbb8d5 100644 --- a/pkg/entity/data_contract/printers.go +++ b/pkg/entity/data_contract/printers.go @@ -6,9 +6,9 @@ import ( "github.com/jedib0t/go-pretty/v6/table" "github.com/samber/lo" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_contracts/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_contracts/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/data_subject/datasubject.go b/pkg/entity/data_subject/datasubject.go index a2d8984..3bb0ea1 100644 --- a/pkg/entity/data_subject/datasubject.go +++ b/pkg/entity/data_subject/datasubject.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_subjects/v1" "google.golang.org/grpc" "os" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/data_subject/printers.go b/pkg/entity/data_subject/printers.go index aab2a50..cad2941 100644 --- a/pkg/entity/data_subject/printers.go +++ b/pkg/entity/data_subject/printers.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_subjects/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/installation/installation.go b/pkg/entity/installation/installation.go index 1d6722f..9b349a7 100644 --- a/pkg/entity/installation/installation.go +++ b/pkg/entity/installation/installation.go @@ -3,7 +3,7 @@ package installation import ( "context" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/installations/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/installations/v1" "google.golang.org/grpc" "strmprivacy/strm/pkg/common" ) diff --git a/pkg/entity/installation/printers.go b/pkg/entity/installation/printers.go index 1a44c30..f06eb1a 100644 --- a/pkg/entity/installation/printers.go +++ b/pkg/entity/installation/printers.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/installations/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/installations/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/kafka_cluster/kafka_cluster.go b/pkg/entity/kafka_cluster/kafka_cluster.go index c1a823a..8831591 100644 --- a/pkg/entity/kafka_cluster/kafka_cluster.go +++ b/pkg/entity/kafka_cluster/kafka_cluster.go @@ -4,8 +4,8 @@ import ( "context" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_clusters/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_clusters/v1" "google.golang.org/grpc" "strmprivacy/strm/pkg/common" ) diff --git a/pkg/entity/kafka_cluster/printers.go b/pkg/entity/kafka_cluster/printers.go index 7978b08..6e590b6 100644 --- a/pkg/entity/kafka_cluster/printers.go +++ b/pkg/entity/kafka_cluster/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_clusters/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_clusters/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/kafka_exporter/kafka_exporter.go b/pkg/entity/kafka_exporter/kafka_exporter.go index 5689b24..8af9faf 100644 --- a/pkg/entity/kafka_exporter/kafka_exporter.go +++ b/pkg/entity/kafka_exporter/kafka_exporter.go @@ -3,8 +3,8 @@ package kafka_exporter import ( "context" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_exporters/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_exporters/v1" "google.golang.org/grpc" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/kafka_exporter/printers.go b/pkg/entity/kafka_exporter/printers.go index 89c0e10..8fec848 100644 --- a/pkg/entity/kafka_exporter/printers.go +++ b/pkg/entity/kafka_exporter/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_exporters/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_exporters/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/entity/kafka_cluster" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/kafka_user/kafka_user.go b/pkg/entity/kafka_user/kafka_user.go index 153e5e6..1895a1c 100644 --- a/pkg/entity/kafka_user/kafka_user.go +++ b/pkg/entity/kafka_user/kafka_user.go @@ -3,8 +3,8 @@ package kafka_user import ( "context" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_users/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_users/v1" "google.golang.org/grpc" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/kafka_user/printers.go b/pkg/entity/kafka_user/printers.go index c7cb1ce..c1704e5 100644 --- a/pkg/entity/kafka_user/printers.go +++ b/pkg/entity/kafka_user/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/kafka_users/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/kafka_users/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/key_stream/key_stream.go b/pkg/entity/key_stream/key_stream.go index e26a7f4..9b01ede 100644 --- a/pkg/entity/key_stream/key_stream.go +++ b/pkg/entity/key_stream/key_stream.go @@ -3,8 +3,8 @@ package key_stream import ( "context" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/key_streams/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/key_streams/v1" "google.golang.org/grpc" "strmprivacy/strm/pkg/common" ) diff --git a/pkg/entity/key_stream/printers.go b/pkg/entity/key_stream/printers.go index d7f3c6c..07108ed 100644 --- a/pkg/entity/key_stream/printers.go +++ b/pkg/entity/key_stream/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/key_streams/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/key_streams/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/keylinks/keylinks.go b/pkg/entity/keylinks/keylinks.go index e4d98af..e3d159e 100644 --- a/pkg/entity/keylinks/keylinks.go +++ b/pkg/entity/keylinks/keylinks.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_subjects/v1" "google.golang.org/grpc" "os" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/keylinks/printers.go b/pkg/entity/keylinks/printers.go index e522bf0..b4cd16f 100644 --- a/pkg/entity/keylinks/printers.go +++ b/pkg/entity/keylinks/printers.go @@ -5,7 +5,7 @@ import ( "github.com/bykof/gostradamus" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_subjects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_subjects/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/organization/organization.go b/pkg/entity/organization/organization.go index 8e8400c..031e797 100644 --- a/pkg/entity/organization/organization.go +++ b/pkg/entity/organization/organization.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/organizations/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/organizations/v1" "google.golang.org/grpc" "os" "strings" diff --git a/pkg/entity/organization/printers.go b/pkg/entity/organization/printers.go index 241f3f8..4010fcc 100644 --- a/pkg/entity/organization/printers.go +++ b/pkg/entity/organization/printers.go @@ -2,7 +2,7 @@ package organization import ( "github.com/jedib0t/go-pretty/v6/table" - "github.com/strmprivacy/api-definitions-go/v2/api/organizations/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/organizations/v1" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/policy/policy.go b/pkg/entity/policy/policy.go index b79b527..66a1e9b 100644 --- a/pkg/entity/policy/policy.go +++ b/pkg/entity/policy/policy.go @@ -8,8 +8,8 @@ import ( "github.com/samber/lo" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - policiesApi "github.com/strmprivacy/api-definitions-go/v2/api/policies/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + policiesApi "github.com/strmprivacy/api-definitions-go/v3/api/policies/v1" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/fieldmaskpb" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/policy/printers.go b/pkg/entity/policy/printers.go index 0b1c8d5..b15c6e5 100644 --- a/pkg/entity/policy/printers.go +++ b/pkg/entity/policy/printers.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/policies/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/policies/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/project/cmd.go b/pkg/entity/project/cmd.go index 764eb52..2de741d 100644 --- a/pkg/entity/project/cmd.go +++ b/pkg/entity/project/cmd.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/manifoldco/promptui" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/projects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/projects/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/project/project.go b/pkg/entity/project/project.go index f3841c7..9b807d8 100644 --- a/pkg/entity/project/project.go +++ b/pkg/entity/project/project.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/projects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/projects/v1" "google.golang.org/grpc" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/user_project" diff --git a/pkg/entity/purpose_mapping/printers.go b/pkg/entity/purpose_mapping/printers.go index 10c03c1..a5792f6 100644 --- a/pkg/entity/purpose_mapping/printers.go +++ b/pkg/entity/purpose_mapping/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/purpose_mapping/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/purpose_mapping/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/purpose_mapping/purpose_mapping.go b/pkg/entity/purpose_mapping/purpose_mapping.go index 1dd99d2..fce8897 100644 --- a/pkg/entity/purpose_mapping/purpose_mapping.go +++ b/pkg/entity/purpose_mapping/purpose_mapping.go @@ -3,8 +3,8 @@ package purpose_mapping import ( "context" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/purpose_mapping/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/purpose_mapping/v1" "google.golang.org/grpc" "sort" "strconv" diff --git a/pkg/entity/schema_code/schema_code.go b/pkg/entity/schema_code/schema_code.go index 0772207..0b19916 100644 --- a/pkg/entity/schema_code/schema_code.go +++ b/pkg/entity/schema_code/schema_code.go @@ -4,8 +4,8 @@ import ( "context" "errors" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/data_contracts/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/data_contracts/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "google.golang.org/grpc" "os" "strings" diff --git a/pkg/entity/stream/printers.go b/pkg/entity/stream/printers.go index 813d3fe..1961cdf 100644 --- a/pkg/entity/stream/printers.go +++ b/pkg/entity/stream/printers.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/streams/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/streams/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/entity/policy" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/stream/stream.go b/pkg/entity/stream/stream.go index fc35411..8bb3fb5 100644 --- a/pkg/entity/stream/stream.go +++ b/pkg/entity/stream/stream.go @@ -5,8 +5,8 @@ import ( "errors" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/streams/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/streams/v1" "google.golang.org/grpc" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/entity/usage/printers.go b/pkg/entity/usage/printers.go index 96c22d5..2d37d01 100644 --- a/pkg/entity/usage/printers.go +++ b/pkg/entity/usage/printers.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/usage/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/usage/v1" "math" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" diff --git a/pkg/entity/usage/usage.go b/pkg/entity/usage/usage.go index ad6c1eb..54a043b 100644 --- a/pkg/entity/usage/usage.go +++ b/pkg/entity/usage/usage.go @@ -8,8 +8,8 @@ import ( "github.com/golang/protobuf/ptypes/duration" "github.com/golang/protobuf/ptypes/timestamp" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/usage/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/usage/v1" "google.golang.org/grpc" "regexp" "strconv" diff --git a/pkg/entity/user/printers.go b/pkg/entity/user/printers.go index 24715dc..a985ff7 100644 --- a/pkg/entity/user/printers.go +++ b/pkg/entity/user/printers.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - v1 "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + v1 "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/entity/user/user.go b/pkg/entity/user/user.go index 631f9d7..a573ccd 100644 --- a/pkg/entity/user/user.go +++ b/pkg/entity/user/user.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/organizations/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/projects/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/organizations/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/projects/v1" "google.golang.org/grpc" "strings" "strmprivacy/strm/pkg/common" diff --git a/pkg/logs/cmd.go b/pkg/logs/cmd.go index b55e856..3aefb09 100644 --- a/pkg/logs/cmd.go +++ b/pkg/logs/cmd.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/entity/batch_exporter" "strmprivacy/strm/pkg/entity/batch_job" diff --git a/pkg/logs/logs.go b/pkg/logs/logs.go index f30986b..f583332 100644 --- a/pkg/logs/logs.go +++ b/pkg/logs/logs.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc" "io" diff --git a/pkg/logs/printers.go b/pkg/logs/printers.go index b688b37..35c976b 100644 --- a/pkg/logs/printers.go +++ b/pkg/logs/printers.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/monitor/cmd.go b/pkg/monitor/cmd.go index bf2389d..632c3b6 100644 --- a/pkg/monitor/cmd.go +++ b/pkg/monitor/cmd.go @@ -5,7 +5,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/entity/batch_exporter" "strmprivacy/strm/pkg/entity/batch_job" diff --git a/pkg/monitor/monitor.go b/pkg/monitor/monitor.go index 6f94036..713d512 100644 --- a/pkg/monitor/monitor.go +++ b/pkg/monitor/monitor.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc" "io" diff --git a/pkg/monitor/printers.go b/pkg/monitor/printers.go index e91a1ff..037ec4f 100644 --- a/pkg/monitor/printers.go +++ b/pkg/monitor/printers.go @@ -6,7 +6,7 @@ import ( "github.com/bykof/gostradamus" "github.com/jedib0t/go-pretty/v6/table" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/util" ) diff --git a/pkg/simulator/random_events/random_events.go b/pkg/simulator/random_events/random_events.go index b0d43d6..4149a7e 100644 --- a/pkg/simulator/random_events/random_events.go +++ b/pkg/simulator/random_events/random_events.go @@ -11,7 +11,7 @@ import ( "time" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "strmprivacy/strm/pkg/common" "strmprivacy/strm/pkg/entity/stream" "strmprivacy/strm/pkg/util" diff --git a/pkg/util/utils.go b/pkg/util/utils.go index 0289acb..9edcc26 100644 --- a/pkg/util/utils.go +++ b/pkg/util/utils.go @@ -6,7 +6,7 @@ import ( "github.com/lithammer/dedent" "github.com/samber/lo" "github.com/spf13/pflag" - "github.com/strmprivacy/api-definitions-go/v2/api/monitoring/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/monitoring/v1" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/web_socket/web_socket.go b/pkg/web_socket/web_socket.go index 433c8ac..0a76c88 100644 --- a/pkg/web_socket/web_socket.go +++ b/pkg/web_socket/web_socket.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/gorilla/websocket" "github.com/spf13/cobra" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" "net/http" diff --git a/test/streams_test.go b/test/streams_test.go index 18a18ca..9b07fb4 100644 --- a/test/streams_test.go +++ b/test/streams_test.go @@ -3,8 +3,8 @@ package test import ( "testing" - "github.com/strmprivacy/api-definitions-go/v2/api/entities/v1" - "github.com/strmprivacy/api-definitions-go/v2/api/streams/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/entities/v1" + "github.com/strmprivacy/api-definitions-go/v3/api/streams/v1" "google.golang.org/protobuf/proto" )