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

Change GatewayID field to list in device creation/edition pages #1376

Merged
merged 15 commits into from
Oct 21, 2022

Conversation

audserraCGI
Copy link
Contributor

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

@codecov
Copy link

codecov bot commented Oct 19, 2022

Codecov Report

Base: 89.29% // Head: 89.40% // Increases project coverage by +0.11% 🎉

Coverage data is based on head (c7dcd5b) compared to base (5e74a0d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1376      +/-   ##
==========================================
+ Coverage   89.29%   89.40%   +0.11%     
==========================================
  Files         252      254       +2     
  Lines        7884     7960      +76     
==========================================
+ Hits         7040     7117      +77     
+ Misses        844      843       -1     
Impacted Files Coverage Δ
...lient/Pages/Devices/LoRaWAN/CreateLoraDevice.razor 100.00% <100.00%> (ø)
.../Client/Pages/Devices/LoRaWAN/EditLoraDevice.razor 92.45% <100.00%> (+5.96%) ⬆️
...rtal/Client/Services/LoRaWanDeviceClientService.cs 100.00% <100.00%> (ø)
...ntrollers/v1.0/LoRaWAN/LoRaWANDevicesController.cs 100.00% <100.00%> (ø)
...AzureIoTHub.Portal/Server/Jobs/SyncGatewayIDJob.cs 100.00% <100.00%> (ø)
...ub.Portal/Server/Services/ExternalDeviceService.cs 90.81% <100.00%> (+0.29%) ⬆️
...al/Shared/Models/v1.0/LoRaWAN/LoRaGatewayIDList.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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment on lines +41 to +44
catch (Exception e)
{
this.logger.LogError(e, "Sync GatewayID job has failed");
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
Comment on lines +703 to +706
catch (Exception e)
{
throw new InternalServerErrorException($"Unable to get GatewayIDs", e);
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
@audserraCGI audserraCGI marked this pull request as ready for review October 20, 2022 15:06
@audserraCGI audserraCGI requested a review from a team as a code owner October 20, 2022 15:06
@audserraCGI audserraCGI enabled auto-merge (squash) October 20, 2022 15:26
@audserraCGI audserraCGI merged commit e09e97b into main Oct 21, 2022
@audserraCGI audserraCGI deleted the 1171_change_gateway_id_field_in_device_details branch October 21, 2022 07:15
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.

Change Gateway ID in Device Details to Gateway list (selectable)
2 participants