RIC-867: Submgr adaptations to E2APv2.0
[ric-plt/submgr.git] / e2ap / pkg / e2ap / msg_e2ap_subscription.go
index 7a1f9e0..7073831 100644 (file)
 
 package e2ap
 
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type SubscriptionRequestList struct {
+       E2APSubscriptionRequests []E2APSubscriptionRequest
+}
+
 //-----------------------------------------------------------------------------
 //
 //-----------------------------------------------------------------------------
@@ -35,8 +42,8 @@ type E2APSubscriptionRequest struct {
 type E2APSubscriptionResponse struct {
        RequestId
        FunctionId
-       ActionAdmittedList
-       ActionNotAdmittedList
+       ActionAdmittedList    ActionAdmittedList    // SDL JSON encode requires this format (name data-type) to work correctly
+       ActionNotAdmittedList ActionNotAdmittedList // SDL JSON encode requires this format (name data-type) to work correctly
 }
 
 //-----------------------------------------------------------------------------
@@ -45,6 +52,6 @@ type E2APSubscriptionResponse struct {
 type E2APSubscriptionFailure struct {
        RequestId
        FunctionId
-       ActionNotAdmittedList
+       Cause
        CriticalityDiagnostics
 }