Fix bugs in test [epa-03], ignored environment variable OVERRIDES in test [epa-02...
[osm/tests.git] / robot-systest / testsuite / epa_03-crud_operations_on_sdnc.robot
1 #   Licensed under the Apache License, Version 2.0 (the "License");
2 #   you may not use this file except in compliance with the License.
3 #   You may obtain a copy of the License at
4 #
5 #       http://www.apache.org/licenses/LICENSE-2.0
6 #
7 #   Unless required by applicable law or agreed to in writing, software
8 #   distributed under the License is distributed on an "AS IS" BASIS,
9 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 #   See the License for the specific language governing permissions and
11 #   limitations under the License.
12
13 *** Settings ***
14 Documentation     [EPA-03] CRUD operations on SDNC accounts.
15
16 Resource   %{ROBOT_DEVOPS_FOLDER}/lib/sdnc_lib.robot
17
18 Variables   %{ROBOT_DEVOPS_FOLDER}/resources/epa_03-crud_operations_on_sdnc_data.py
19
20 Suite Teardown   Run Keyword And Ignore Error   Delete Basic SDNC
21
22
23 *** Test Cases ***
24 Create Basic SDNC
25     [Tags]  sdnc_crud  sanity   regression
26
27     ${created_sdnc_id}=  Create SDNC  ${sdnc_name}  ${sdnc_user}  ${sdnc_password}  ${sdnc_url}  ${sdnc_type}
28     Check for SDNC  ${sdnc_name}
29
30
31  Check SDNC Status Is Healthy
32     [Tags]  sdnc_crud  sanity   regression
33
34     Check for SDNC Status  ${sdnc_name}  ${prometheus_host}  ${prometheus_port}
35
36
37 Delete Basic SDNC
38     [Tags]  sdnc_crud  sanity   regression  cleanup
39
40     Delete SDNC  ${sdnc_name}