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

feat(command): refine north-south messaging configuration #4185

Merged
merged 1 commit into from
Oct 11, 2022
Merged

feat(command): refine north-south messaging configuration #4185

merged 1 commit into from
Oct 11, 2022

Conversation

chr1shung
Copy link

Signed-off-by: Chris Hung chris@iotechsys.com

fix #4180
fix #4183

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

cloudxxx8
cloudxxx8 previously approved these changes Oct 6, 2022
Copy link
Member

@cloudxxx8 cloudxxx8 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Merging #4185 (b705be0) into main (07636ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #4185   +/-   ##
=======================================
  Coverage   43.51%   43.51%           
=======================================
  Files         126      126           
  Lines       11149    11149           
=======================================
  Hits         4852     4852           
  Misses       5878     5878           
  Partials      419      419           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -111,6 +109,11 @@ func MessageBusBootstrapHandler(ctx context.Context, wg *sync.WaitGroup, startup
return false
}
}
if configuration.MessageQueue.External.Enabled {
Copy link
Member

Choose a reason for hiding this comment

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

I think this check should be within if configuration.RequireMessageBus scope since receiving external message doesn't make sense if we are not connected to the internal message bus to send them to the device services

Signed-off-by: Chris Hung <chris@iotechsys.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cloudxxx8 cloudxxx8 merged commit 867487c into edgexfoundry:main Oct 11, 2022
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