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: Add config setting for value used for ListenAndServe #2629

Merged
merged 1 commit into from
Jul 14, 2020
Merged

feat: Add config setting for value used for ListenAndServe #2629

merged 1 commit into from
Jul 14, 2020

Conversation

FelixTing
Copy link
Member

  • Updated to latest go-mod-bootstrap v0.0.36
  • Added Service.ServerBindAddr setting to config files for all edgex-go microservices

fix: #2624

Signed-off-by: Felix Ting [email protected]

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit subject follows the Conventional Commits spec
  • The commit message follows the EdgeX Contributor Guide
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • make test has completed successfully

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Before go-mo-bootstrap v0.0.36, the ListenAndServe IP address defaults to binding to an all-interface listener value of 0.0.0.0

Issue Number: #2624

What is the new behavior?

Added a Service.ServerBindAddr configurable value to config file to reflect this change: edgexfoundry/go-mod-bootstrap#84
The default value of ServerBindAddr of each service is blank, so the Service.Host value is now the ListenAndServe IP address. However, it allows env override to set a specific value as needed for different deployments.

Does this PR introduce a breaking change?

  • Yes
  • No

- Updated to latest go-mod-bootstrap v0.0.36
- Added Service.ServerBindAddr setting to config files for all services

Signed-off-by: Felix Ting <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@cloudxxx8 cloudxxx8 requested a review from lenny-goodell July 14, 2020 15:36
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

@lenny-goodell
Copy link
Member

Validate branch using local master-dev built docker images.

@lenny-goodell lenny-goodell merged commit d3bef6b into edgexfoundry:master Jul 14, 2020
@FelixTing FelixTing deleted the issue-2624 branch July 15, 2020 02:49
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.

Add config setting for value used for ListenAndServe
2 participants