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

#1793 Add AmazonIoTClient and AmazonIotDataClient configurations #1951

Merged

Conversation

delager
Copy link
Contributor

@delager delager commented Mar 23, 2023

  • Add "CloudProvider" in configuration
  • Add AmazonIoTClient and AmazonIotDataClient configurations when CloudProvider is AWS

Description

What's new?

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
  • Tests
  • Other

- Add "CloudProvider" in configuration
- Add AmazonIoTClient and AmazonIotDataClient configurations when CloudProvider is AWS
@delager delager requested a review from a team as a code owner March 23, 2023 15:59
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (bf69a5d) 91.63% compared to head (762f946) 91.63%.

Additional details and impacted files
@@             Coverage Diff             @@
##           main-vnext    #1951   +/-   ##
===========================================
  Coverage       91.63%   91.63%           
===========================================
  Files             277      277           
  Lines            9120     9122    +2     
===========================================
+ Hits             8357     8359    +2     
  Misses            763      763           
Impacted Files Coverage Δ
....Portal.Infrastructure/DevelopmentConfigHandler.cs 100.00% <100.00%> (ø)
...b.Portal.Infrastructure/ProductionConfigHandler.cs 100.00% <100.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

src/AzureIoTHub.Portal.Server/Startup.cs Outdated Show resolved Hide resolved
src/AzureIoTHub.Portal.Server/Startup.cs Outdated Show resolved Hide resolved
Add OrdinalIgnoreCase string comparison for CloudProvider

Co-authored-by: Kevin BEAUGRAND <9513635+kbeaugrand@users.noreply.github.com>
- Local variables camelCased
- Keep asynchronous
- Let the DI container build instances when it is called

Co-authored-by: Kevin BEAUGRAND <9513635+kbeaugrand@users.noreply.github.com>
Add CloudProvider config for E2E tests
Add Azure in the current test pipeline (a new AWS test pipeline will be created in the next feature)
@delager delager temporarily deployed to E2E March 27, 2023 14:40 — with GitHub Actions Inactive
@delager delager requested a review from kbeaugrand March 27, 2023 15:01
@kbeaugrand kbeaugrand merged commit 3ae1037 into main-vnext Mar 27, 2023
@kbeaugrand kbeaugrand deleted the 1793-task-add-amazoniotclient-and-amazoniotdataclient branch March 27, 2023 15:12
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.

Task: Add AmazonIoTClient and AmazonIotDataClient configurations to interact with AWS IoT services
2 participants