From 081e481dfb911f48fa18192e6a396bbf178c58f6 Mon Sep 17 00:00:00 2001 From: NSMBot Date: Thu, 12 May 2022 10:31:49 +0000 Subject: [PATCH 1/2] Update go.mod and go.sum to latest version from networkservicemesh/sdk-vpp@main PR link: https://github.com/networkservicemesh/sdk-vpp/pull/580 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit: de5e9ed Author: Artem Glazychev Date: 2022-05-12 17:31:13 +0700 Message: - Update registry client (#580) * Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main PR link: https://github.com/networkservicemesh/sdk-kernel/pull/470 Commit: 1ab1aa4 Author: Network Service Mesh Bot Date: 2022-05-12 04:08:46 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sd… Signed-off-by: NSMBot * Update registry client Signed-off-by: Artem Glazychev Signed-off-by: NSMBot --- go.mod | 4 ++-- go.sum | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index fcadee6..510d9fe 100644 --- a/go.mod +++ b/go.mod @@ -8,8 +8,8 @@ require ( github.com/edwarnicke/vpphelper v0.0.0-20210225052320-b4f1f1aff45d github.com/kelseyhightower/envconfig v1.4.0 github.com/networkservicemesh/api v1.3.2-0.20220512020524-c57fd2623351 - github.com/networkservicemesh/sdk v0.5.1-0.20220512021617-3a175e308a18 - github.com/networkservicemesh/sdk-vpp v0.0.0-20220512022856-b9764ec31a02 + github.com/networkservicemesh/sdk v0.5.1-0.20220512090615-4f565a9784e0 + github.com/networkservicemesh/sdk-vpp v0.0.0-20220512103113-de5e9edebd74 github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.8.1 github.com/spiffe/go-spiffe/v2 v2.0.0 diff --git a/go.sum b/go.sum index 5576ad3..18c4a0c 100644 --- a/go.sum +++ b/go.sum @@ -197,12 +197,12 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/nats-io/stan.go v0.10.2/go.mod h1:vo2ax8K2IxaR3JtEMLZRFKIdoK/3o1/PKueapB7ezX0= github.com/networkservicemesh/api v1.3.2-0.20220512020524-c57fd2623351 h1:xkwnRaajnnqFPEbj5FrVVDjSgp+o5tiHqVb8W5cOAfI= github.com/networkservicemesh/api v1.3.2-0.20220512020524-c57fd2623351/go.mod h1:hOF2844BSstH1311oDMDgqqXS+kdc77htZNPRKl9mf8= -github.com/networkservicemesh/sdk v0.5.1-0.20220512021617-3a175e308a18 h1:gHQmGN6YFwGWkM7cxrUuB1BV2L0qvPkkyIl/Cq19gtw= -github.com/networkservicemesh/sdk v0.5.1-0.20220512021617-3a175e308a18/go.mod h1:gOYlqDYMdIMCIAfl257+Jn8KNHKVQDZjRIvYSA6wH9s= -github.com/networkservicemesh/sdk-kernel v0.0.0-20220512022255-0d391d1796e5 h1:Ntnm27hxOVePlkdtPh/Xwhy3wuyXd84LqIQU1yS+dEY= -github.com/networkservicemesh/sdk-kernel v0.0.0-20220512022255-0d391d1796e5/go.mod h1:U+mFUYf5bwyQzlJnNu5crGv9qF4M9MbCks0iKmNBJNg= -github.com/networkservicemesh/sdk-vpp v0.0.0-20220512022856-b9764ec31a02 h1:Yn9DxwCF/peF+M9n+AuCELMZeESf+x6vwyttU8pWLcc= -github.com/networkservicemesh/sdk-vpp v0.0.0-20220512022856-b9764ec31a02/go.mod h1:B5XXx8QQg4IMEKHDHKT1MTpkOnAnjrbn07tfkx6Pogg= +github.com/networkservicemesh/sdk v0.5.1-0.20220512090615-4f565a9784e0 h1:7ObtZZ4na7PIkco8XTIiGTgh9FhvDtTqKHTS1epR5HI= +github.com/networkservicemesh/sdk v0.5.1-0.20220512090615-4f565a9784e0/go.mod h1:gOYlqDYMdIMCIAfl257+Jn8KNHKVQDZjRIvYSA6wH9s= +github.com/networkservicemesh/sdk-kernel v0.0.0-20220512090846-1ab1aa466ce0 h1:jA12434k3miWlCrT/IO9wmvlpvQqud8XtmNK/lcBJvQ= +github.com/networkservicemesh/sdk-kernel v0.0.0-20220512090846-1ab1aa466ce0/go.mod h1:ajoJFtAjgQ/UyotcgIbAv3a+x/c5DW6KwuXaLdWxKsY= +github.com/networkservicemesh/sdk-vpp v0.0.0-20220512103113-de5e9edebd74 h1:PMl1golx0Rtp90Eyy0gkN7lVZFM97jUuEO4whild9pc= +github.com/networkservicemesh/sdk-vpp v0.0.0-20220512103113-de5e9edebd74/go.mod h1:ZWjTxAuyS5Z09mX4U/p953h8HsjzEiVucQb+diSiP9Y= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= From c463f6774e4fb11017cbd77b3f0ae22fb10de7ed Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Thu, 12 May 2022 18:57:22 +0700 Subject: [PATCH 2/2] Update registry client Signed-off-by: Artem Glazychev --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index edd46aa..5fa40df 100644 --- a/main.go +++ b/main.go @@ -240,7 +240,9 @@ func main() { if config.RegisterService { for _, serviceName := range config.ServiceNames { - nsRegistryClient := registryclient.NewNetworkServiceRegistryClient(ctx, &config.ConnectTo, registryclient.WithDialOptions(clientOptions...)) + nsRegistryClient := registryclient.NewNetworkServiceRegistryClient(ctx, + registryclient.WithClientURL(&config.ConnectTo), + registryclient.WithDialOptions(clientOptions...)) _, err = nsRegistryClient.Register(ctx, ®istryapi.NetworkService{ Name: serviceName, Payload: config.Payload, @@ -254,7 +256,7 @@ func main() { nseRegistryClient := registryclient.NewNetworkServiceEndpointRegistryClient( ctx, - &config.ConnectTo, + registryclient.WithClientURL(&config.ConnectTo), registryclient.WithDialOptions(clientOptions...), registryclient.WithNSEAdditionalFunctionality( registrysendfd.NewNetworkServiceEndpointRegistryClient(),