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

Refactor chains/forwarder to use Options pattern #320

Conversation

bszirtes
Copy link
Contributor

Description

Refactoring chains/forwarder using the Functional Options Pattern, just as it has been implemented in the sdk.

Issue link

#319

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

@bszirtes bszirtes force-pushed the refactor-chains-options-pattern branch 3 times, most recently from 4249486 to c3beed8 Compare April 15, 2024 13:41
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 15, 2024
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Have you tested it with integration tests?

@bszirtes
Copy link
Contributor Author

bszirtes commented Apr 17, 2024

LGTM.

Have you tested it with integration tests?

Yes, I did, using the changes that I made in the forwarder-ovs too (networkservicemesh/cmd-forwarder-ovs#363).

@denis-tingaikin
Copy link
Member

I'm fine with merging this.

@ljkiraly Do you have any comments on the PR?

Copy link
Contributor

@ljkiraly ljkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine.

@denis-tingaikin denis-tingaikin merged commit d21bcac into networkservicemesh:main Apr 18, 2024
13 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-forwarder-ovs that referenced this pull request Apr 18, 2024
…k-ovs@main

PR link: networkservicemesh/sdk-ovs#320

Commit: d21bcac
Author: Denis Tingaikin
Date: 2024-04-18 18:26:53 +0300
Message:
  - Merge pull request #320 from Nordix/refactor-chains-options-pattern
Signed-off-by: NSMBot <[email protected]>
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 19, 2024
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 19, 2024
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 22, 2024
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 22, 2024
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 22, 2024
bszirtes added a commit to Nordix/cmd-forwarder-ovs that referenced this pull request Apr 22, 2024
@bszirtes bszirtes deleted the refactor-chains-options-pattern branch April 23, 2024 08:51
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.

3 participants