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

Initial rework pkg/registry to use begin pattern #1213

Merged

Conversation

denis-tingaikin
Copy link
Member

@denis-tingaikin denis-tingaikin commented Jan 17, 2022

Signed-off-by: Denis Tingaikin denis.tingajkin@xored.com

Description

The main motivation of this PR is making healing for registry as simple as we have for networkservice.
All retry and heal logic has been moved into clientside.

To achieve this functionality has been reworked all overcomplicated chain elements like connect, heal, expire, refresh to use begin pattern.

See at begin pattern #1072 for networkservice.

Issue link

Closes #1170
Closes networkservicemesh/deployments-k8s#4247
Closes networkservicemesh/deployments-k8s#3938
Closes networkservicemesh/deployments-k8s#1017

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionallity
  • Documentation
  • Refactoring
  • CI

@denis-tingaikin denis-tingaikin force-pushed the rework-registry-begin branch 3 times, most recently from b8e4189 to 25cb655 Compare January 24, 2022 04:53
@denis-tingaikin denis-tingaikin changed the title WIP: Initial rework registry to use begin pattern Initial rework registry to use begin pattern Jan 24, 2022
@denis-tingaikin denis-tingaikin marked this pull request as ready for review January 24, 2022 04:57
@denis-tingaikin denis-tingaikin changed the title Initial rework registry to use begin pattern Initial rework pkg/registry to use begin pattern Jan 24, 2022
@denis-tingaikin denis-tingaikin force-pushed the rework-registry-begin branch 2 times, most recently from 9819e5e to 2995e87 Compare January 24, 2022 22:04
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
@edwarnicke edwarnicke merged commit 5eed3d9 into networkservicemesh:main Jan 25, 2022
nsmbot pushed a commit to networkservicemesh/cmd-admission-webhook-k8s that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Jan 25, 2022
…k@main

PR link: networkservicemesh/sdk#1213

Commit: 5eed3d9
Author: Denis Tingaikin
Date: 2022-01-25 21:33:01 +0300
Message:
  - Initial rework pkg/registry to use `begin` pattern (#1213)
* rework registry to use 'begin' pattern

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply self code review

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>

* apply review comments

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
4 participants