Merge branch 'corrective-policy' into 'corrective-policy'

Add polygon type fence support

See merge request entgra/carbon-device-mgt!665
This commit is contained in:
Inosh Perara 2020-10-16 05:24:51 +00:00
commit ba3aa5c6ce

View File

@ -213,6 +213,8 @@ public class PolicyManagerUtil {
operationPayload.addProperty("longitude", geofence.getLongitude());
operationPayload.addProperty("radius", geofence.getRadius());
operationPayload.addProperty("name", geofence.getFenceName());
operationPayload.addProperty("fenceShape", geofence.getFenceShape());
operationPayload.addProperty("geoJson", geofence.getGeoJson());
profileOperation.setPayLoad(operationPayload.toString());
}
}