Commit 8bfbe2c6 authored by Ikram Haq's avatar Ikram Haq
Browse files

Update zone status subscription data model

parent 782e604f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -118,8 +118,6 @@ type ZoneStatusCheck struct {
	Serviceable                     bool
	Unserviceable                   bool
	Unknown                         bool
	NbUsersInZoneThreshold          int32
	NbUsersInAPThreshold            int32
	upperNumberOfUsersZoneThreshold int32
	lowerNumberOfUsersZoneThreshold int32
	upperNumberOfUsersAPThreshold   int32
@@ -4907,8 +4905,11 @@ func zoneStatusReInit() {
					}
				}
			}
			zoneStatus.NbUsersInZoneThreshold = zone.NumberOfUsersZoneThreshold
			zoneStatus.NbUsersInAPThreshold = zone.NumberOfUsersAPThreshold
			zoneStatus.lowerNumberOfUsersAPThreshold = zone.LowerNumberOfUsersAPThreshold
			zoneStatus.lowerNumberOfUsersZoneThreshold = zone.LowerNumberOfUsersZoneThreshold
			zoneStatus.upperNumberOfUsersAPThreshold = zone.UpperNumberOfUsersAPThreshold
			zoneStatus.upperNumberOfUsersZoneThreshold = zone.UpperNumberOfUsersZoneThreshold

			zoneStatus.ZoneId = zone.ZoneId
			zoneStatusSubscriptionMap[subscriptionId] = &zoneStatus
		}
+0 −4
Original line number Diff line number Diff line
@@ -24,10 +24,6 @@ type ZoneStatusSubscription struct {
	// List of operation status values to generate notifications for (these apply to all access points within a zone). See note 3.
	OperationStatus []OperationStatus `json:"operationStatus,omitempty"`

	NumberOfUsersAPThreshold int32 `json:"numberOfUsersAPThreshold,omitempty"`

	NumberOfUsersZoneThreshold int32 `json:"numberOfUsersZoneThreshold,omitempty"`

	ReportingCtrl *ReportingCtrl `json:"reportingCtrl,omitempty"`
	// Set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as specified in ETSI GS MEC 009 [4], clause 6.12a.
	RequestTestNotification bool `json:"requestTestNotification,omitempty"`