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

Adding hosting env check for #149

Merged
merged 5 commits into from
Sep 19, 2023
Merged

Adding hosting env check for #149

merged 5 commits into from
Sep 19, 2023

Conversation

ASHIQUEMD
Copy link
Collaborator

@ASHIQUEMD ASHIQUEMD commented Aug 17, 2023

This PR contains changes for adding a condition to restrict below hosting environment of azure functions.

  1. Functions Premium
  2. App service plan
  3. Consumption (Serverless)

Why did we add restricted list instead of allowed list:

Azure Functions Dapr extension is supposed to work on self hosted env as well as in AKS, so having the restricted list helps us achieve this easily, where Dapr extension will still be working in self hosted and AKS env along with ACA.

@ASHIQUEMD ASHIQUEMD requested a review from a team as a code owner August 17, 2023 18:49
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #149 (40c7440) into master (cbd910d) will increase coverage by 0.64%.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   71.97%   72.62%   +0.64%     
==========================================
  Files          51       52       +1     
  Lines        1017     1041      +24     
==========================================
+ Hits          732      756      +24     
  Misses        285      285              
Files Changed Coverage Δ
...bs.Extensions.Dapr/DaprWebJobsBuilderExtensions.cs 92.30% <100.00%> (+3.41%) ⬆️
....WebJobs.Extensions.Dapr/Utils/EnvironmentUtils.cs 100.00% <100.00%> (ø)

Signed-off-by: MD Ashique <[email protected]>
Copy link
Member

@shubham1172 shubham1172 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ASHIQUEMD ASHIQUEMD merged commit d8ab3c7 into master Sep 19, 2023
4 checks passed
@ASHIQUEMD ASHIQUEMD deleted the hosting-env-check branch September 19, 2023 12:37
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.

2 participants