You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a device is added either via pre-defined devices in camera.toml, or via the core-metadata REST API, the device will lack a DeviceStatus until the next time the checkStatuses job is run.
In the case of pre-defined devices (using default configuration) this can be up to 45 seconds after service startup. In the case of REST API, it can be up to 30 seconds.
🌍 Your Environment
Deployment Environment:
Docker + EdgeX-Compose
EdgeX Version [REQUIRED]:
2.2
Anything else relevant?
The text was updated successfully, but these errors were encountered:
* feat: add check status call for newly added devices
Signed-off-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
* feat: add status immediately for pre-defined devices
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* fix: remove control plane device check
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* feat: single test case for connnectionMethods
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* docs: remove outdated todo comment
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* test: add tcpProbe tests
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* fix: remove commented code and fix comments
Signed-off-by: Darr, Christian <christian.darr@intel.com>
* fix: call checkStatus before createOnvifClient in addDevice
Signed-off-by: Christian Darr <christian.darr@intel.com>
Signed-off-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Christian Darr <christian.darr@intel.com>
Co-authored-by: Anthony Casagrande <anthony.j.casagrande@intel.com>
Verified that retrieving device status not taking 30 seconds or 45 seconds longer with images on 10/28/22.
Tested with predefined devices in configuraiton.toml file and adding devices manually with curl command. In both cases, noticed that device status called within 1 or 2 secs after services are up or after adding device manually with curl command.
🐞 Bug Report
Affected Services [REQUIRED]
device-onvif-camera
Is this a regression?
No
Description and Minimal Reproduction [REQUIRED]
When a device is added either via pre-defined devices in
camera.toml
, or via the core-metadata REST API, the device will lack aDeviceStatus
until the next time thecheckStatuses
job is run.In the case of pre-defined devices (using default configuration) this can be up to 45 seconds after service startup. In the case of REST API, it can be up to 30 seconds.
🌍 Your Environment
Deployment Environment:
Docker + EdgeX-Compose
EdgeX Version [REQUIRED]:
2.2
Anything else relevant?
The text was updated successfully, but these errors were encountered: