X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fxapp%2Ftypes.go;h=c9fe1ec62cfc66bb4ed6bd515e5c5557df664200;hb=256c304042f0cd6c766db505fe5b03bbc3163fef;hp=b6fc49b2f366c5bf0858859b85453015a53ed771;hpb=d9ff71cf313086a71c417273a20b378a98c681fc;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/xapp/types.go b/pkg/xapp/types.go index b6fc49b..c9fe1ec 100755 --- a/pkg/xapp/types.go +++ b/pkg/xapp/types.go @@ -81,3 +81,14 @@ type PortData struct { Policies []int MaxRetryOnFailure int } + +// @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" +)