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

Move Device model property to database #1155

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

kbeaugrand
Copy link
Member

@kbeaugrand kbeaugrand commented Sep 4, 2022

Description

What's new?

  • Integrate Device model properties to internal database

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

@kbeaugrand kbeaugrand force-pushed the v3/add_device_model_properties_to_database branch from 75535e6 to 1753f32 Compare September 4, 2022 17:34
@kbeaugrand kbeaugrand force-pushed the v3/add_device_model_properties_to_database branch from 1753f32 to 0f2745b Compare September 4, 2022 17:37
@codecov
Copy link

codecov bot commented Sep 4, 2022

Codecov Report

Base: 86.58% // Head: 85.82% // Decreases project coverage by -0.75% ⚠️

Coverage data is based on head (0f2745b) compared to base (0b6df04).
Patch coverage: 28.16% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           v3/main    #1155      +/-   ##
===========================================
- Coverage    86.58%   85.82%   -0.76%     
===========================================
  Files          202      204       +2     
  Lines         6760     6753       -7     
===========================================
- Hits          5853     5796      -57     
- Misses         907      957      +50     
Impacted Files Coverage Δ
...re/Repositories/DeviceModelPropertiesRepository.cs 0.00% <0.00%> (ø)
...Infrastructure/Seeds/DeviceModelPropoertySeeder.cs 0.00% <0.00%> (ø)
...rver/Controllers/v1.0/DeviceModelControllerBase.cs 93.78% <ø> (ø)
.../Server/Controllers/v1.0/DeviceModelsController.cs 100.00% <ø> (ø)
...l/Server/Controllers/v1.0/DevicesControllerBase.cs 96.87% <ø> (ø)
...l/Server/Controllers/v1.0/EdgeDevicesController.cs 100.00% <ø> (ø)
...al/Server/Controllers/v1.0/EdgeModelsController.cs 100.00% <ø> (ø)
...lers/v1.0/LoRaWAN/LoRaWANDeviceModelsController.cs 100.00% <ø> (ø)
...ntrollers/v1.0/LoRaWAN/LoRaWANDevicesController.cs 100.00% <ø> (ø)
...c/AzureIoTHub.Portal/Server/Entities/EntityBase.cs 75.00% <ø> (ø)
... and 31 more

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 +34 to +37
catch (InvalidOperationException)
{

}

Check notice

Code scanning / CodeQL

Poor error handling: empty catch block

Poor error handling: empty catch block.
@kbeaugrand kbeaugrand marked this pull request as ready for review September 4, 2022 17:52
@kbeaugrand kbeaugrand requested a review from a team as a code owner September 4, 2022 17:52
@kbeaugrand kbeaugrand merged this pull request into v3/main Sep 4, 2022
@kbeaugrand kbeaugrand deleted the v3/add_device_model_properties_to_database branch September 4, 2022 17:53
@kbeaugrand kbeaugrand mentioned this pull request Sep 4, 2022
9 tasks
kbeaugrand added a commit that referenced this pull request Sep 9, 2022
* Add target branche to CI actions

* Add PostgreSQL database to deployment (#1112)

* Add PostgreSQL database to deployment

* Add ARM lint task to v3-dev branch

* Add github actions to solution file

* Feature/add pgsql database connection (#1121)

* Add entityframework + PGSql nuget packages

* Add PGSql database context + initial database creation

* Add Quartz.NET Scheduler to server (#1135)

* Ignore migration files to code coverage

* Migrate v3-dev to v3/main branch

* Add unit of work and generic repository (#1154)

* Add unit of work and generic repository

* Add infrastructure layer + domain layer

* Move Device model property to database (#1155)

* Fix #984 - Refactor DeviceModelPropertiesController (#1159)

* Rebase from main

* Remove start Azurite from the build pipeline

* Add database servcie as adependency to iot hub portal #1175

* Fix PostgreSQL arm deployment on V3 (#1183)

* Feature: Add PostgreSQL login/password fields to arm ui form #1181

* Fix postgsql arm deployment #1180

* Update temporary arm templates urls for testing

* Update arm templates url to target main branch

* Set pgsqlAdminPassword parameter as securestring (#1188)

Co-authored-by: Hocine Hacherouf <hacherouf.hocine@gmail.com>
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.

1 participant