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

Feature: Avoid recomputing edge/device models images URIs #1252

Closed
hocinehacherouf opened this issue Sep 16, 2022 · 0 comments · Fixed by #1506
Closed

Feature: Avoid recomputing edge/device models images URIs #1252

hocinehacherouf opened this issue Sep 16, 2022 · 0 comments · Fixed by #1506
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@hocinehacherouf
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Each time an edge or device model is retrieved, its image URI is computed.
This computation is translated by a call the blob storage to retrieve the image URI of the model : blocking call + power consumption

Describe the solution you'd like
The base URI of the folder containing edge/device models images can be computed one time on startup.
Then, when retrieving edge/device models : Image URI = URI of Image folder + model ID

@hocinehacherouf hocinehacherouf added enhancement New feature or request refinement labels Sep 16, 2022
@hocinehacherouf hocinehacherouf added this to the S45 milestone Nov 2, 2022
@hocinehacherouf hocinehacherouf moved this to 📝 Todo in IoT Hub Portal Nov 2, 2022
@Sben65 Sben65 moved this from 📝 Todo to 🚧 In Progress in IoT Hub Portal Nov 2, 2022
Sben65 added a commit that referenced this issue Nov 7, 2022
@Sben65 Sben65 moved this from 🚧 In Progress to 💬 Ready for Review in IoT Hub Portal Nov 7, 2022
Sben65 added a commit that referenced this issue Nov 9, 2022
…1506)

* resolve #1252

* add new test

* add new test

* add InitializeDefaultImageBlob test

* add new test

* add option for baseImageUri value.

* fix unit test

* delete unsed variable
@kbeaugrand kbeaugrand moved this from 💬 Ready for Review to 🚀 Ready in IoT Hub Portal Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🚀 Ready
Development

Successfully merging a pull request may close this issue.

2 participants