feat: Ef 556 upload predefined provision watchers #587
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix: #556
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:describing the break)Testing Instructions
src/c/examples/discoverydevice service. It should read the provision watchers inside ofres/watchersand upload them, they should be visible in the UI via the Provision Watchers tab.In addition, I also created a number of different provision watcher objects and attempted to upload all of them at once to test different scenarios, the results are listed below with the filename somewhat describing the contents of the watcher. I am not super experienced with the provision watchers feature of EdgeX as I have never used it personally, so let me know if you see anything in those results that seems concerning. Let me know if you are interested in any of the watcher json objects I tried, I can provide those as needed but didn't want to upload some arbitrary ZIP file into the PR.
Watchers which register with core-metadata:
Watchers which fail to register with core-metadata: