device-mgt-core/components/device-mgt
Pramila Niroshan fccae9b8c0 Add Devices filtering by a Custom Property feature to API and dao layer (#208)
## Purpose
* Related ticket https://roadmap.entgra.net/issues/10262

## Description

This modifed API accept any custom property key value pair as a encoded JSON String for filtering devices

/devicescustomProperty=%7B%22FIRMWARE_APP_VERSION%22%3A%22122%22%2C%22FIRMWARE_VERSION%22%3A%22123%22%7D

## Add Custom property to mdm-ui-config.xml

```
<DeviceInfoConfigurations>
	<DeviceInfoItem>
            <DefinedValue>FIRMWARE_VERSION</DefinedValue>
            <DisplayValue>label_firmware_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
        <DeviceInfoItem>
            <DefinedValue>FIRMWARE_APP_VERSION</DefinedValue>
            <DisplayValue>label_app_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
        <DeviceInfoItem>
            <DefinedValue>FIRMWARE_SYSTEM_VERSION</DefinedValue>
            <DisplayValue>label_firmware_system_version</DisplayValue>
            <Type>deviceDetailsMap</Type>
        </DeviceInfoItem>
</DeviceInfoConfigurations>
```

DefinedValue = Key_value in DM_DEVECE_INFO table
DisplayValue = UI display text for filtering
Type = Dont change

Co-authored-by: pramilaniroshan <pramila@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/208
Co-authored-by: Pramila Niroshan <pramila@entgra.io>
Co-committed-by: Pramila Niroshan <pramila@entgra.io>
2023-09-15 04:02:34 +00:00
..
io.entgra.device.mgt.core.device.mgt.api Add Devices filtering by a Custom Property feature to API and dao layer (#208) 2023-09-15 04:02:34 +00:00
io.entgra.device.mgt.core.device.mgt.common Add Devices filtering by a Custom Property feature to API and dao layer (#208) 2023-09-15 04:02:34 +00:00
io.entgra.device.mgt.core.device.mgt.config.api [maven-release-plugin] prepare for next development iteration 2023-08-28 10:11:49 +05:30
io.entgra.device.mgt.core.device.mgt.core Add Devices filtering by a Custom Property feature to API and dao layer (#208) 2023-09-15 04:02:34 +00:00
io.entgra.device.mgt.core.device.mgt.extensions [maven-release-plugin] prepare for next development iteration 2023-08-28 10:11:49 +05:30
io.entgra.device.mgt.core.device.mgt.url.printer [maven-release-plugin] prepare for next development iteration 2023-08-28 10:11:49 +05:30
org.wso2.carbon.device.mgt.analytics.data.publisher Add hierarchical grouping feature 2023-06-14 16:14:20 +05:30
org.wso2.carbon.device.mgt.analytics.wsproxy Update copyright 2023-05-26 23:58:39 +05:30
org.wso2.carbon.device.mgt.ui Update copyright 2023-05-26 23:58:39 +05:30
pom.xml [maven-release-plugin] prepare for next development iteration 2023-08-28 10:11:49 +05:30