Handling of subscription merge and inclusion of RMR lib from xapp-framework
[ric-plt/rtmgr.git] / pkg / rtmgr / types.go
index 91a8aeb..b9c4cd6 100644 (file)
@@ -105,8 +105,8 @@ type RicComponents struct {
 
 type Subscription struct {
        SubID int32
-       Fqdn  string
-       Port  uint16
+       Fqdn string
+       Port uint16
 }
 
 type PlatformRoutes []struct {
@@ -121,4 +121,12 @@ type RtmgrRoutes struct {
        Prs PlatformRoutes      `json:"PlatformRoutes"`
 }
 
+type FqDn struct {
+       Address *string
+        Port *uint16
+}
 
+type XappList struct {
+        SubscriptionID  uint16
+       FqdnList []FqDn
+}