Loading go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go +27 −0 Original line number Diff line number Diff line Loading @@ -1848,8 +1848,35 @@ func checkSerAvailNotification(sInfo *ServiceInfo, mep string, changeType CapifE } } } versions := []string{sInfo.Version} aefProfile := &AefProfile{ AefId: sInfo.TransportInfo.Id, Versions: versions, InterfaceDescriptions: sInfo.TransportInfo.Endpoint, VendorSpecificUrnetsimeccapifexttransportInfo: &MecTransportInfoCapifExt{ Name: sInfo.TransportInfo.Name, Type_: sInfo.TransportInfo.Type_, Protocol: sInfo.TransportInfo.Protocol, Version: sInfo.TransportInfo.Version, Security: sInfo.TransportInfo.Security, }, } dsInfo := &ServiceApiDescription{ ApiName: sInfo.SerName, ApiId: sInfo.SerInstanceId, AefProfiles: []AefProfile{*aefProfile}, VendorSpecificUrnetsimeccapifextserviceInfo: &MecServiceInfoCapifExt{ Serializer: sInfo.Serializer, State: sInfo.State, ScopeOfLocality: sInfo.ScopeOfLocality, ConsumedLocalOnly: sInfo.ConsumedLocalOnly, IsLocal: sInfo.IsLocal, Category: sInfo.SerCategory, }, } event_detail := &CapifEventDetail{} event_detail.ServiceApiDescriptions = append(event_detail.ServiceApiDescriptions, *dsInfo) event_detail.ApiIds = append(event_detail.ApiIds, sInfo.SerInstanceId) // Create a new EventNotification instance notif := &EventNotification{ Loading Loading
go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go +27 −0 Original line number Diff line number Diff line Loading @@ -1848,8 +1848,35 @@ func checkSerAvailNotification(sInfo *ServiceInfo, mep string, changeType CapifE } } } versions := []string{sInfo.Version} aefProfile := &AefProfile{ AefId: sInfo.TransportInfo.Id, Versions: versions, InterfaceDescriptions: sInfo.TransportInfo.Endpoint, VendorSpecificUrnetsimeccapifexttransportInfo: &MecTransportInfoCapifExt{ Name: sInfo.TransportInfo.Name, Type_: sInfo.TransportInfo.Type_, Protocol: sInfo.TransportInfo.Protocol, Version: sInfo.TransportInfo.Version, Security: sInfo.TransportInfo.Security, }, } dsInfo := &ServiceApiDescription{ ApiName: sInfo.SerName, ApiId: sInfo.SerInstanceId, AefProfiles: []AefProfile{*aefProfile}, VendorSpecificUrnetsimeccapifextserviceInfo: &MecServiceInfoCapifExt{ Serializer: sInfo.Serializer, State: sInfo.State, ScopeOfLocality: sInfo.ScopeOfLocality, ConsumedLocalOnly: sInfo.ConsumedLocalOnly, IsLocal: sInfo.IsLocal, Category: sInfo.SerCategory, }, } event_detail := &CapifEventDetail{} event_detail.ServiceApiDescriptions = append(event_detail.ServiceApiDescriptions, *dsInfo) event_detail.ApiIds = append(event_detail.ApiIds, sInfo.SerInstanceId) // Create a new EventNotification instance notif := &EventNotification{ Loading