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

Add polygon type fence support

See merge request entgra/carbon-device-mgt!665
corrective-policy
Inosh Perara 4 years ago
commit ba3aa5c6ce

@ -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());
}
}

Loading…
Cancel
Save