Resolve RMR port from K8s services
[ric-plt/appmgr.git] / pkg / resthooks / types.go
index 830576b..2229abe 100755 (executable)
 package resthooks
 
 import (
-       sdl "gerrit.oran-osc.org/r/ric-plt/sdlgo"
+       sdl "gerrit.o-ran-sc.org/r/ric-plt/sdlgo"
        cmap "github.com/orcaman/concurrent-map"
        "net/http"
 
-       "gerrit.oran-osc.org/r/ric-plt/appmgr/pkg/models"
+       "gerrit.o-ran-sc.org/r/ric-plt/appmgr/pkg/models"
 )
 
 type SubscriptionInfo struct {
@@ -39,3 +39,11 @@ type Resthook struct {
        db            *sdl.SdlInstance
        Seq           int64
 }
+
+// TODO: remove this when RTMGR changes done
+type SubscriptionNotification struct {
+       Event   string `json:"eventType,omitempty"`
+       ID      string `json:"id,omitempty"`
+       Version int64  `json:"version,omitempty"`
+       XApps   string `json:"xApps,omitempty"`
+}