-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Problem description
Following issue camaraproject/Commonalities#295 raised by @shilpa-padgaonkar in commonalities, I open this issue to discuss specifically about data minimization for the geofencing event. The device identifier in subscription is out of the scope of this discussion/issue as tackled globally in Commonalities.
Possible evolution
As of now we send back in each geofencing event in the data structure the following information:
- subscriptionId
- device with the identifier provided in the subscription
- area (areatype, center, radius, .... could differ depending on the area type)
(the other attributes are coming from the cloud event specification and are out of the scope of the discussion)
I saw 3 proposals - looking for your feedback - there are perhaps other options
- We did not change anything here
- We remove device identifier & area. We send back only the
subscriptionId. If the API consumer did not stored the information has to make aGET /subscriptions/{subscriptionId}to get the information - We add in the subscriptions a capability for the API consumer to indicate if the device & area information must be part of the event (example
lightEventmode- if set to yes, onlysubscriptionIdis send back, if set to no we send same info as of today.
From RSE perspective I'm a bit uncomfortable with option 2 that will trigger additionnal API calls
Option 3 needs to be discussed in Commonalities.
Alternative solution
Additional context