X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Fresources%2Fdbaas_interface.robot;fp=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Fresources%2Fdbaas_interface.robot;h=4ce3bd96d1b493241bde91bdcbc38ff993b9aba9;hb=029cc1f45c4c40e0867104b730495d4d2fe468b8;hp=0000000000000000000000000000000000000000;hpb=0d26f300d5f9da0aa23612b8a4a9e863423d598b;p=it%2Ftest.git diff --git a/ric_robot_suite/helm/nanobot/configmap-src/public/resources/dbaas_interface.robot b/ric_robot_suite/helm/nanobot/configmap-src/public/resources/dbaas_interface.robot new file mode 100644 index 0000000..4ce3bd9 --- /dev/null +++ b/ric_robot_suite/helm/nanobot/configmap-src/public/resources/dbaas_interface.robot @@ -0,0 +1,42 @@ +# Copyright (c) 2020 HCL Technologies Limited. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +*** Settings *** +Documentation Tests for the UE Event Collector XApp + +Resource /robot/resources/global_properties.robot +Resource /robot/resources/ric/ric_utils.robot + +Library String +Library Collections +Library XML + +Library KubernetesEntity ${GLOBAL_RICPLT_NAMESPACE} +Library SDLWrapper False +*** Variables *** + +*** Keywords *** +Run dbaas Health Check + [Documentation] Runs dbaas Health check + ${data_path} = Set Variable /v1/health + ${resp} = Run dbaas GET Request + +Run dbaas GET Request + ${c} = Get From Dictionary ${GLOBAL_RICPLT_COMPONENTS} dbaas + ${ctrl} ${dbaas1} = Split String ${c} | + ${deploy} = Run Keyword ${ctrl} ${dbaas1} + ${log} = Run Keyword healthcheck + Log To Console ${log} + Log ${log} console=yes + [Return] ${deploy} +