edgexfoundry / device-onvif-camera

Owner: Device WG
Apache License 2.0
29 stars 37 forks source link

refactor: Consume Provision Watcher changes for running multiple instances #349

Closed lenny-goodell closed 1 year ago

lenny-goodell commented 1 year ago

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

Testing Instructions

Run non-secure EdgeX Stack Build service from this PR branch run service with -cp -d -o flags Verify service starts w/o errors and logs have the following

msg="ProvisionWatcher Generic-Onvif-Provision-Watcher not found in Metadata, adding it..."
"provision watcher Generic-Onvif-Provision-Watcher added"

Restart the service with the -cp -d -o -i 1 flags Verify service starts w/o errors and logs have the following

"ProvisionWatcher Generic-Onvif-Provision-Watcher exists, using the existing one"

New Dependency Instructions (If applicable)