X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Frestapi%2Fconfigure_xapp_framework.go;h=89e112d56727e3e4e2e26ba40e804f709062df57;hb=refs%2Fchanges%2F63%2F3863%2F5;hp=d49741872103f9dfbf6fdb5500acee9a33c7c25d;hpb=3895a8c8775ef96652e6473414fdd7366c59f404;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/restapi/configure_xapp_framework.go b/pkg/restapi/configure_xapp_framework.go index d497418..89e112d 100644 --- a/pkg/restapi/configure_xapp_framework.go +++ b/pkg/restapi/configure_xapp_framework.go @@ -12,8 +12,8 @@ import ( "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations" "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations/common" - "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations/control" "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations/policy" + "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations/query" "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/restapi/operations/report" ) @@ -42,9 +42,9 @@ func configureAPI(api *operations.XappFrameworkAPI) http.Handler { return middleware.NotImplemented("operation common.Unsubscribe has not yet been implemented") }) } - if api.ControlSubscribeControlHandler == nil { - api.ControlSubscribeControlHandler = control.SubscribeControlHandlerFunc(func(params control.SubscribeControlParams) middleware.Responder { - return middleware.NotImplemented("operation control.SubscribeControl has not yet been implemented") + if api.QueryGetAllSubscriptionsHandler == nil { + api.QueryGetAllSubscriptionsHandler = query.GetAllSubscriptionsHandlerFunc(func(params query.GetAllSubscriptionsParams) middleware.Responder { + return middleware.NotImplemented("operation query.GetAllSubscriptions has not yet been implemented") }) } if api.PolicySubscribePolicyHandler == nil {