-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transfer registry path via gRPC metadata (#1366)
* add updatepath chain elements for registry Signed-off-by: Nikita Skrynnik <[email protected]> * add nse_test for registry updatepath Signed-off-by: Nikita Skrynnik <[email protected]> * add updatepath tests for nse_server Signed-off-by: Nikita Skrynnik <[email protected]> * add updatetoken chain element for registry Signed-off-by: Nikita Skrynnik <[email protected]> * clone tests for all updatetoken and updatepath chain elements Signed-off-by: Nikita Skrynnik <[email protected]> * add updatepath and updatetoken to all registries in sdk Signed-off-by: Nikita Skrynnik <[email protected]> * add path_segment and index fields to opa policy input struct Signed-off-by: Nikita Skrynnik <[email protected]> * debugging Signed-off-by: Nikita Skrynnik <[email protected]> * fix sandbox tests Signed-off-by: Nikita Skrynnik <[email protected]> * fix authorize ns_server_test Signed-off-by: Nikita Skrynnik <[email protected]> * fix networkservice updatetoken TestChain Signed-off-by: Nikita Skrynnik <[email protected]> * add error check in updatepath chain element + fix some linter errors Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter issues Signed-off-by: Nikita Skrynnik <[email protected]> * add policy for spiffeID check + add test for policy and authorize registry Signed-off-by: Nikita Skrynnik <[email protected]> * add policy for spiffeID checking to authorize for registry Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter issues Signed-off-by: Nikita Skrynnik <[email protected]> * start adding sandbox test for registry authorize Signed-off-by: Nikita Skrynnik <[email protected]> * add grpcmetadata chain element and unit test Signed-off-by: Nikita Skrynnik <[email protected]> * add map to grpcmetadata + update api refs + fix some errors Signed-off-by: Nikita Skrynnik <[email protected]> * change authorize map name Signed-off-by: Nikita Skrynnik <[email protected]> * fix opa unit tests + fix authorize unit tests + cleanup Signed-off-by: Nikita Skrynnik <[email protected]> * finish all registry updatepath tests Signed-off-by: Nikita Skrynnik <[email protected]> * add tests for updatepath server + fix refresh bug Signed-off-by: Nikita Skrynnik <[email protected]> * fix some sandbox tests Signed-off-by: Nikita Skrynnik <[email protected]> * fix a lot of unit tests Signed-off-by: Nikita Skrynnik <[email protected]> * fix some linter issue Signed-off-by: Nikita Skrynnik <[email protected]> * fix all linter issues Signed-off-by: Nikita Skrynnik <[email protected]> * fix datarace in sandbox tests Signed-off-by: Nikita Skrynnik <[email protected]> * fix dns test Signed-off-by: Nikita Skrynnik <[email protected]> * add registry authorization client to nsmgr-proxy, proxydns and registry-memory Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter Signed-off-by: Nikita Skrynnik <[email protected]> * remove degub logs Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter Signed-off-by: Nikita Skrynnik <[email protected]> * fix tests Signed-off-by: Nikita Skrynnik <[email protected]> * fix grpcmetadata unit test Signed-off-by: Nikita Skrynnik <[email protected]> * reduce timeout for test Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter issues Signed-off-by: Nikita Skrynnik <[email protected]> * fix grpcmetadata unit test Signed-off-by: Nikita Skrynnik <[email protected]> * fix grpcmetadata tests + fix a bug in updatepath ns_client Signed-off-by: Nikita Skrynnik <[email protected]> * cleanup Signed-off-by: Nikita Skrynnik <[email protected]> * increase timeout for debug Signed-off-by: Nikita Skrynnik <[email protected]> * reduce timeout Signed-off-by: Nikita Skrynnik <[email protected]> * add Path data structure for registry Signed-off-by: Nikita Skrynnik <[email protected]> * rerun CI Signed-off-by: Nikita Skrynnik <[email protected]> * remove replace for api Signed-off-by: Nikita Skrynnik <[email protected]> * apply review comments Signed-off-by: Nikita Skrynnik <[email protected]> * rerun CI Signed-off-by: Nikita Skrynnik <[email protected]> * apply review comments Signed-off-by: Nikita Skrynnik <[email protected]> * revert changes in opainput.go Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter Signed-off-by: Nikita Skrynnik <[email protected]> * go mod tidy Signed-off-by: Nikita Skrynnik <[email protected]> * revert changes in nsmgr/server.go Signed-off-by: Nikita Skrynnik <[email protected]> * use spiffeid as name for path segments Signed-off-by: Nikita Skrynnik <[email protected]> * fix linter issue Signed-off-by: Nikita Skrynnik <[email protected]> * Simpilfy Path.Clone method Signed-off-by: Nikita Skrynnik <[email protected]> Signed-off-by: Nikita Skrynnik <[email protected]>
- Loading branch information
1 parent
d83bdbd
commit a64652c
Showing
57 changed files
with
3,719 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.