REST duplicate detection
[ric-plt/submgr.git] / pkg / control / registry.go
index bd4e15a..5259273 100644 (file)
@@ -40,6 +40,7 @@ type RESTSubscription struct {
        xAppIdToE2Id     map[int64]int64
        SubReqOngoing    bool
        SubDelReqOngoing bool
+       Md5sumOngoing    string
 }
 
 func (r *RESTSubscription) AddE2InstanceId(instanceId uint32) {
@@ -64,6 +65,7 @@ func (r *RESTSubscription) DeleteXappIdToE2Id(xAppEventInstanceID int64) {
 
 func (r *RESTSubscription) SetProcessed() {
        r.SubReqOngoing = false
+       r.Md5sumOngoing = ""
 }
 
 type Registry struct {