Loading tests/features/CAPIF Api Invoker Management/capif_api_invoker_managenet.robot +27 −0 Original line number Original line Diff line number Diff line Loading @@ -237,3 +237,30 @@ Update Onboarded Network App without supported_features ... title=Bad Request ... title=Bad Request ... detail=supportedFeatures not present in request ... detail=supportedFeatures not present in request ... cause=supportedFeatures not present ... cause=supportedFeatures not present Update Onboarded Network App with other invoker certificate [Tags] capif_api_invoker_management-10 ${new_notification_destination}= Set Variable ... http://${CAPIF_CALLBACK_IP}:${CAPIF_CALLBACK_PORT}/netapp_new_callback # Default Invoker Registration and Onboarding ${register_user_info_1} ${url_1} ${request_body_1}= Invoker Default Onboarding invoker_username=${INVOKER_USERNAME}_1 ${register_user_info_2} ${url_2} ${request_body_2}= Invoker Default Onboarding invoker_username=${INVOKER_USERNAME}_2 Set To Dictionary ... ${request_body_1} ... notificationDestination=${new_notification_destination} ${resp}= Put Request Capif ... ${url_1.path} ... ${request_body_1} ... server=${CAPIF_HTTPS_URL} ... verify=ca.crt ... username=${INVOKER_USERNAME}_2 # Check Results Check Response Variable Type And Values ${resp} 403 ProblemDetails ... status=403 ... title=Unauthorized ... detail=User not authorized ... cause=Certificate not found in expected role Loading
tests/features/CAPIF Api Invoker Management/capif_api_invoker_managenet.robot +27 −0 Original line number Original line Diff line number Diff line Loading @@ -237,3 +237,30 @@ Update Onboarded Network App without supported_features ... title=Bad Request ... title=Bad Request ... detail=supportedFeatures not present in request ... detail=supportedFeatures not present in request ... cause=supportedFeatures not present ... cause=supportedFeatures not present Update Onboarded Network App with other invoker certificate [Tags] capif_api_invoker_management-10 ${new_notification_destination}= Set Variable ... http://${CAPIF_CALLBACK_IP}:${CAPIF_CALLBACK_PORT}/netapp_new_callback # Default Invoker Registration and Onboarding ${register_user_info_1} ${url_1} ${request_body_1}= Invoker Default Onboarding invoker_username=${INVOKER_USERNAME}_1 ${register_user_info_2} ${url_2} ${request_body_2}= Invoker Default Onboarding invoker_username=${INVOKER_USERNAME}_2 Set To Dictionary ... ${request_body_1} ... notificationDestination=${new_notification_destination} ${resp}= Put Request Capif ... ${url_1.path} ... ${request_body_1} ... server=${CAPIF_HTTPS_URL} ... verify=ca.crt ... username=${INVOKER_USERNAME}_2 # Check Results Check Response Variable Type And Values ${resp} 403 ProblemDetails ... status=403 ... title=Unauthorized ... detail=User not authorized ... cause=Certificate not found in expected role