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

[release/8.1] Backport: Add GetEnvironmentVariableValuesAsync method to ResourceExtens… #5005

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Jul 22, 2024

Backporting #4530

Microsoft Reviewers: Open in CodeFlow

…ons (#4530)

* Add to ResourceExtensions ```GetEnvironmentVariableValuesAsync``` #4464

* add example and remarks

* add test

* Update src/Aspire.Hosting/ApplicationModel/ResourceExtensions.cs

Co-authored-by: Damian Edwards <damian@damianedwards.com>

* Update src/Aspire.Hosting/ApplicationModel/ResourceExtensions.cs

Co-authored-by: Ankit Jain <radical@gmail.com>

* Update src/Aspire.Hosting/ApplicationModel/ResourceExtensions.cs

Co-authored-by: Ankit Jain <radical@gmail.com>

* add more tests,add suggested code

* Tweak API based on Eric's feedback.

* Use a different example.

* Update src/Aspire.Hosting/ApplicationModel/ResourceExtensions.cs

Co-authored-by: Ankit Jain <radical@gmail.com>

* Remove password from example.

* Indentation fixes.

* Update tests/Aspire.Hosting.Tests/ResourceExtensionsTests.cs

Co-authored-by: Ankit Jain <radical@gmail.com>

* Update tests/Aspire.Hosting.Tests/ResourceExtensionsTests.cs

Co-authored-by: Ankit Jain <radical@gmail.com>

* PR feedback.

* Namespace fix.

---------

Co-authored-by: Mitch Denny <midenn@microsoft.com>
Co-authored-by: Damian Edwards <damian@damianedwards.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Mitch Denny <mitchdenny@outlook.com>
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Jul 22, 2024
@joperezr
Copy link
Member

joperezr commented Jul 22, 2024

IMO it's too late for this so I'd just wait for the next train for this one. @danmoseley thoughts?

That said, I don't think you've filled out the template so if you could explain why you think this should be in that would help for the bar check.

Copy link
Member

@danmoseley danmoseley left a comment

Choose a reason for hiding this comment

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

Ok for 8.1 if we have time. Very low risk

@joperezr joperezr merged commit 477f219 into release/8.1 Jul 22, 2024
9 checks passed
@joperezr joperezr deleted the mitchdenny/backport-4530 branch July 22, 2024 04:50
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants