X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fresthooks%2Ftypes.go;h=2229abe15b574e2b08a0f6a22e1fd27bffb6065c;hb=refs%2Fchanges%2F95%2F2995%2F4;hp=830576b39b22d936b1cb3322cea4a905b09aa542;hpb=34e4383c438f87023bc411d9b0baa4a828a7e306;p=ric-plt%2Fappmgr.git diff --git a/pkg/resthooks/types.go b/pkg/resthooks/types.go index 830576b..2229abe 100755 --- a/pkg/resthooks/types.go +++ b/pkg/resthooks/types.go @@ -20,11 +20,11 @@ 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"` +}