X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fxapp%2Ftypes.go;h=b517ff30471276eb589b6388809a6338f87ece9f;hb=7397bfd9d507f116bb4519cd4b0a01b81f9c6a47;hp=b6fc49b2f366c5bf0858859b85453015a53ed771;hpb=e525989b4fe86190faa820cc0a6e2f48ddb65e70;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/xapp/types.go b/pkg/xapp/types.go index b6fc49b..b517ff3 100755 --- a/pkg/xapp/types.go +++ b/pkg/xapp/types.go @@ -81,3 +81,21 @@ type PortData struct { Policies []int MaxRetryOnFailure int } + +type SymptomDataParams struct { + Timeout uint64 + FromTime uint64 + ToTime uint64 + importantOnly bool +} + +// @todo: read these from config or somewhere else +const ( + SERVICE_HTTP = "SERVICE_%s_%s_HTTP_PORT" + SERVICE_RMR = "SERVICE_%s_%s_RMR_PORT" + CONFIG_PATH = "/ric/v1/config" + REGISTER_PATH = "http://service-%s-appmgr-http.%s:8080/ric/v1/register" + DEREGISTER_PATH = "http://service-%s-appmgr-http.%s:8080/ric/v1/deregister" + DEFAULT_PLT_NS = "ricplt" + DEFAULT_XAPP_NS = "ricxapp" +)