wso2 / product-iots

Welcome to the WSO2 IoT Server source code! For info on working with the WSO2 IoT Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
182 stars 181 forks source link

[EMM-1293] Use US english instead of British english when naming properties #786

Open madhawap opened 7 years ago

madhawap commented 7 years ago

Enrollment (US english) has been spelt as Enrolment (British english) in some cases for property names. For example, when executing GET /mdm-android-agent/device/

{deviceId}

[2]

 { "id":1, "name":"titan_umts", "type":"android", "description":"titan_umts", "deviceIdentifier":"359298055243973", "enrolmentInfo":{ "id":1, "dateOfEnrolment":1457160869352, "dateOfLastUpdate":1457160869352, "ownership":"BYOD", "status":"ACTIVE", "owner":"admin" }, "properties":[ { "name":"IMEI", "value":"359298055243973" }, { "name":"IMSI", "value":"413025702363929" }, { "name":"DEVICE_MODEL", "value":"XT1064" }, { "name":"OS_VERSION", "value":"6.0" }, { "name":"VENDOR", "value":"motorola" }, { "name":"SERIAL" }, { "name":"DEVICE_INFO", "value":"[{\"name\":\"IMEI\",\"value\":\"359298055243973\"},{\"name\":\"IMSI\",\"value\":\"413025702363929\"},{\"name\":\"DEVICE_MODEL\",\"value\":\"XT1064\"},{\"name\":\"VENDOR\",\"value\":\"motorola\"},{\"name\":\"OS_VERSION\",\"value\":\"6.0\"},{\"name\":\"DEVICE_NAME\",\"value\":\"titan_umts\"},{\"name\":\"BATTERY_LEVEL\",\"value\":\"38\"},{\"name\":\"INTERNAL_TOTAL_MEMORY\",\"value\":\"5.51\"},{\"name\":\"INTERNAL_AVAILABLE_MEMORY\",\"value\":\"0.42\"},{\"name\":\"EXTERNAL_TOTAL_MEMORY\",\"value\":\"0.0\"},{\"name\":\"EXTERNAL_AVAILABLE_MEMORY\",\"value\":\"0.0\"},{\"name\":\"OPERATOR\",\"value\":\"Dialog\"}]" }, { "name":"DEVICE_NAME", "value":"titan_umts" }, { "name":"GCM_TOKEN" } ] } 

Reference: https://wso2.org/jira/browse/EMM-1293

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.