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

[URI4Files] Go - Implement loading of Device Service files (Profile, Device and ProvisionWatcher) from URI #1467

Closed
lenny-goodell opened this issue Jun 6, 2023 · 0 comments · Fixed by #1481
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@lenny-goodell
Copy link
Member

lenny-goodell commented Jun 6, 2023

See https://docs.edgexfoundry.org/3.0/design/adr/0027-URIs%20for%20Files/#servicesfiles-impacted

If ProfilesDir/DevicesDir/ProvisionWatchersDir setting value starts with http:// or https:// then use new LoadFile to get the list of files to load. Then iterate through the list calling LoadFile for each file in the list. Each file URI is built from the original URI replacing the index.json with the filename from the list. The edgexSecretName query parameter, if present, must be retained.

@lenny-goodell lenny-goodell changed the title [URI4Files] Implement loading of Device Profiles from URI [URI4Files] Implement loading of Device Service files (Profile, Device and ProvisionWatcher) from URI Jun 6, 2023
@lenny-goodell lenny-goodell added this to the Napa milestone Jun 6, 2023
@lenny-goodell lenny-goodell added the enhancement New feature or request label Jun 6, 2023
@lenny-goodell lenny-goodell changed the title [URI4Files] Implement loading of Device Service files (Profile, Device and ProvisionWatcher) from URI [URI4Files] Go - Implement loading of Device Service files (Profile, Device and ProvisionWatcher) from URI Jun 6, 2023
@ejlee3 ejlee3 self-assigned this Jul 6, 2023
ejlee3 added a commit to ejlee3/device-sdk-go that referenced this issue Jul 18, 2023
Closes edgexfoundry#1467

Signed-off-by: Elizabeth J Lee <elizabeth.j.lee@intel.com>
ejlee3 added a commit to ejlee3/device-sdk-go that referenced this issue Jul 18, 2023
Closes edgexfoundry#1467

Signed-off-by: Elizabeth J Lee <elizabeth.j.lee@intel.com>
ejlee3 added a commit to ejlee3/device-sdk-go that referenced this issue Jul 19, 2023
Closes edgexfoundry#1467

Signed-off-by: Elizabeth J Lee <elizabeth.j.lee@intel.com>
@lenny-goodell lenny-goodell linked a pull request Aug 2, 2023 that will close this issue
5 tasks
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants