X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp_onboarder%2Fxapp_onboarder%2Fapi%2Fendpoints%2Fonboard_ep.py;h=6806bbf3b485eb8785cdbb85e7e15fc12cabc313;hb=refs%2Fchanges%2F06%2F4006%2F1;hp=222307d2f18e884e1c14c13cf6b4e43390ec8ac0;hpb=cd4b9aaa9aa6f3f0bfef09c4808315f10a385310;p=it%2Fdev.git diff --git a/xapp_onboarder/xapp_onboarder/api/endpoints/onboard_ep.py b/xapp_onboarder/xapp_onboarder/api/endpoints/onboard_ep.py index 222307d..6806bbf 100644 --- a/xapp_onboarder/xapp_onboarder/api/endpoints/onboard_ep.py +++ b/xapp_onboarder/xapp_onboarder/api/endpoints/onboard_ep.py @@ -45,7 +45,7 @@ class OnboardxApps(Resource): @api.expect(request_models.xapp_descriptor_post, validate=True) def post(self): """ - Onboard xApp with the xApp descriptor and its scehma included in the Json body + Onboard xApp using the xApp descriptor and schema in the request body. """ config_file = request.json.get('config-file.json') controls_schema_file = request.json.get('controls-schema.json') @@ -62,10 +62,9 @@ class OnboardxAppsDownload(Resource): @api.expect(request_models.xapp_descriptor_download_post, validate=True) def post(self): """ - Onboard xApp with xApp descriptor and schema downloading URLs + Onboard xApp after downloading the xApp descriptor and schema from the URLs. """ config_file_url = request.json.get('config-file.json_url') controls_schema_url = request.json.get('controls-schema.json_url') return download_config_and_schema_and_onboard(config_file_url, controls_schema_url) -