kapua icon indicating copy to clipboard operation
kapua copied to clipboard

Feature DeviceAsset and DeviceConfiguration persistent store

Open Coduz opened this issue 2 years ago • 1 comments

This PR introduces APIs to enable persistent storage of last DeviceAsset and DeviceConfiguration from a Device.

Related Issue None

Description of the solution adopted Added hooks to enable the persistent storage of last Device Asset and Last DeviceConfiguration of a Device.

Screenshots None

Any side note on the changes made TBD

Coduz avatar Sep 21 '22 08:09 Coduz

Codecov Report

Merging #3601 (55f2002) into develop (96ea753) will decrease coverage by 37.97%. The diff coverage is 0.92%.

:exclamation: Current head 55f2002 differs from pull request most recent head 6221e07. Consider uploading reports for the commit 6221e07 to get more accurate results

Impacted file tree graph

@@              Coverage Diff               @@
##             develop    #3601       +/-   ##
==============================================
- Coverage      50.13%   12.16%   -37.98%     
+ Complexity       259        8      -251     
==============================================
  Files           1669     1686       +17     
  Lines          32015    32165      +150     
  Branches        2634     2642        +8     
==============================================
- Hits           16050     3912    -12138     
- Misses         15029    27896    +12867     
+ Partials         936      357      -579     
Impacted Files Coverage Δ
...commons/service/internal/AbstractKapuaService.java 75.00% <ø> (-9.62%) :arrow_down:
...elemetry/listener/DataStorageMessageProcessor.java 0.00% <0.00%> (-56.00%) :arrow_down:
...resources/v1/resources/DeviceManagementAssets.java 0.00% <0.00%> (ø)
...s/v1/resources/DeviceManagementConfigurations.java 0.00% <0.00%> (ø)
...eclipse/kapua/app/api/web/JaxbContextResolver.java 0.00% <ø> (-77.78%) :arrow_down:
...n/java/org/eclipse/kapua/service/KapuaService.java 0.00% <0.00%> (ø)
...store/internal/ChannelInfoRegistryServiceImpl.java 0.00% <ø> (-73.74%) :arrow_down:
...astore/internal/ClientInfoRegistryServiceImpl.java 0.00% <ø> (-73.47%) :arrow_down:
...ce/datastore/internal/MessageStoreServiceImpl.java 0.00% <0.00%> (-41.67%) :arrow_down:
...astore/internal/MetricInfoRegistryServiceImpl.java 0.00% <ø> (-74.00%) :arrow_down:
... and 860 more

codecov[bot] avatar Sep 21 '22 08:09 codecov[bot]

/request-license-review

Coduz avatar Oct 21 '22 08:10 Coduz

/request-license-review

License review requests:

After all reviews have concluded, re-run the license-vetting check from the Github Actions web-interface to update its status.

Workflow run (with attached summary files): https://github.com/eclipse/kapua/actions/runs/3296134383

github-actions[bot] avatar Oct 21 '22 09:10 github-actions[bot]

Release 1.7.x now it has its own PR https://github.com/eclipse/kapua/pull/3658

Coduz avatar Nov 10 '22 16:11 Coduz