Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from update/networkservicemesh/sdk #208

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

nsmbot
Copy link
Collaborator

@nsmbot nsmbot commented Nov 29, 2022

Update go.mod and go.sum to latest version from networkservicemesh/sdk@main
PR link: networkservicemesh/sdk#1366
Commit: a64652c
Author: Nikita Skrynnik
Date: 2022-11-29 21:36:13 +1100
Message:

  • Transfer registry path via gRPC metadata (# 1366)

…k@main

PR link: networkservicemesh/sdk#1366

Commit: a64652c
Author: Nikita Skrynnik
Date: 2022-11-29 21:36:13 +1100
Message:
  - Transfer registry path via gRPC metadata (#1366)
* add updatepath chain elements for registry

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add nse_test for registry updatepath

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add updatepath tests for nse_server

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add updatetoken chain element for registry

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* clone tests for all updatetoken and updatepath chain elements

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add updatepath and updatetoken to all registries in sdk

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add path_segment and index fields to opa policy input struct

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* debugging

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix sandbox tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix authorize ns_server_test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix networkservice updatetoken TestChain

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add error check in updatepath chain element + fix some linter errors

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter issues

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add policy for spiffeID check + add test for policy and authorize registry

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add policy for spiffeID checking to authorize for registry

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter issues

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* start adding sandbox test for registry authorize

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add grpcmetadata chain element and unit test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add map to grpcmetadata + update api refs + fix some errors

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* change authorize map name

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix opa unit tests + fix authorize unit tests + cleanup

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* finish all registry updatepath tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add tests for updatepath server + fix refresh bug

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix some sandbox tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix a lot of unit tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix some linter issue

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix all linter issues

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix datarace in sandbox tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix dns test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add registry authorization client to nsmgr-proxy, proxydns and registry-memory

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* remove degub logs

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix tests

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix grpcmetadata unit test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* reduce timeout for test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter issues

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix grpcmetadata unit test

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix grpcmetadata tests + fix a bug in updatepath ns_client

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* cleanup

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* increase timeout for debug

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* reduce timeout

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* add Path data structure for registry

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* rerun CI

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* remove replace for api

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* rerun CI

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* apply review comments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* revert changes in opainput.go

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* go mod tidy

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* revert changes in nsmgr/server.go

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* use spiffeid as name for path segments

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* fix linter issue

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>

* Simpilfy Path.Clone method

Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
@nsmbot nsmbot merged commit 56d3ab8 into main Nov 29, 2022
nsmbot pushed a commit to networkservicemesh/deployments-k8s that referenced this pull request Nov 29, 2022
…d-admission-webhook-k8s@main

PR link: networkservicemesh/cmd-admission-webhook-k8s#208

Commit: 56d3ab8
Author: Network Service Mesh Bot
Date: 2022-11-29 04:41:44 -0600
Message:
  - Update go.mod and go.sum to latest version from networkservicemesh/sd…
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/deployments-k8s that referenced this pull request Nov 29, 2022
…d-admission-webhook-k8s@main

PR link: networkservicemesh/cmd-admission-webhook-k8s#208

Commit: 56d3ab8
Author: Network Service Mesh Bot
Date: 2022-11-29 04:41:44 -0600
Message:
  - Update go.mod and go.sum to latest version from networkservicemesh/sd…
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant