Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(orc8r): Protobuf upgrade (magma#12546)
* bump protobuf to v1.5.2 in orc8r/cloud/go and orc8r/gateway/go Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * propagate changes to remaining modules: running go mod tidy in every module (order: lexically sorted relative paths of go.mod files, relative to /Users/azb/VSCProjects/magma), this is repeated until no changes in go.mod and go.sum files are generated anymore, two iterations were needed Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * add missing go_package option Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * ./build.py --generate Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * add untracked proto generated file Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * fix build and test errors due to proto v2 implementation - introduce test_utils.Separator to deal with random whitespaces in string representations - use proto.Equal for comparison of proto Messages, often wrapped in custom functions to suit the particular purpose - use pointers to avoid copying or use proto.Clone where necessary to copy messages fix build and test errors Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> fix more test Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> replace whitespaces Signed-off-by: Alex Jahl <alexander.jahl@tngtech.com> fix more test Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> add compare method that circumvents random whitespaces insertion in string representations of proto messages Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> add separators Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> refactor assertMapsEqual, add to proto utils Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> add compare for ExpectedErrorSubstring and add separators in expeceted errors and substrings Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * pin golang.org/x/net to revision that is compatible with go versions 1.15 Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> * update and sync dependencies with go mod tidy Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com> Signed-off-by: Cameron Voisey <cameron.voisey@tngtech.com>
- Loading branch information