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

Handle null ref in Eureka setup in CF when app has no Uri #892

Merged
merged 4 commits into from
Jul 26, 2022
Merged

Conversation

TimHess
Copy link
Member

@TimHess TimHess commented Jul 22, 2022

Description

Resolves a null reference issue with Eureka config on Cloud Foundry when no Uri has been assigned to the app
Deals with #872 -- backport to release/3.2 in order to completely resolve

Quality checklist

  • Your code complies with our Coding Style.
  • You've updated unit and/or integration tests for your change, where applicable.
  • You've updated documentation for your change, where applicable.
    If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
  • You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

@TimHess TimHess added Type/bug Something isn't working Component/Discovery Issues related to Steeltoe Service Discovery labels Jul 22, 2022
@TimHess TimHess added this to the 4.0.0-alpha milestone Jul 22, 2022
@TimHess TimHess self-assigned this Jul 22, 2022
@TimHess
Copy link
Member Author

TimHess commented Jul 22, 2022

/azp run Steeltoe.All

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@bart-vmware bart-vmware left a comment

Choose a reason for hiding this comment

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

LGTM

src/Discovery/test/Eureka.Test/EurekaPostConfigurerTest.cs Outdated Show resolved Hide resolved
@TimHess TimHess requested a review from bart-vmware July 25, 2022 18:24
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@TimHess TimHess changed the title handle null ref in Eureka setup in CF when app has no Uri Handle null ref in Eureka setup in CF when app has no Uri Jul 26, 2022
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sonarcloud
Copy link

sonarcloud bot commented Jul 26, 2022

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

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component/Discovery Issues related to Steeltoe Service Discovery Type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants