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

Move registry expiration handling from updatepath to expire #1606

Merged

Conversation

glazychev-art
Copy link
Contributor

@glazychev-art glazychev-art commented Apr 2, 2024

Description

Expiration logic should be in the expire chain element

Issue link

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 functionality
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Copy link

codecov bot commented Apr 2, 2024

Codecov Report

Attention: Patch coverage is 79.48718% with 8 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@d6d5c0d). Click here to learn what that means.

Files Patch % Lines
pkg/registry/common/updatepath/context.go 28.57% 5 Missing ⚠️
pkg/registry/common/expire/nse_server.go 90.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1606   +/-   ##
=======================================
  Coverage        ?   67.45%           
=======================================
  Files           ?      263           
  Lines           ?    12493           
  Branches        ?        0           
=======================================
  Hits            ?     8427           
  Misses          ?     3539           
  Partials        ?      527           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@glazychev-art glazychev-art marked this pull request as ready for review April 2, 2024 09:29
@denis-tingaikin denis-tingaikin merged commit f0105d6 into networkservicemesh:main Apr 2, 2024
17 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-ipam-vl3 that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-csi-driver that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-dashboard-backend that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-map-ip-k8s that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-cluster-info-k8s that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-init that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-admission-webhook-k8s that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Apr 2, 2024
…k@main

PR link: networkservicemesh/sdk#1606

Commit: f0105d6
Author: Artem Glazychev
Date: 2024-04-02 16:48:55 +0700
Message:
  - Move registry expiration handling from updatepath to expire (#1606)
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants