summaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/assets/test_properties.py
blob: 9afd43debe39c64c8bde7624f4047c28efa9604e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from os import listdir
from os.path import isfile, join

# Should be provided in Jenkins job

GLOBAL_SCHEDULER_URL = "http://127.0.0.1:8080"
GLOBAL_SCHEDULER_USER = "onap-user"
GLOBAL_SCHEDULER_PASSWORD = "pwd"

GLOBAL_CALLBACK_USERID = "onap-user"
GLOBAL_CALLBACK_PASSWORD = "onap-user"

GLOBAL_APPLICATION_ID= "schedulertest"
GLOBAL_CALLBACK_URL="http://localhost:8900/scheduler/v1/loopbacktest/vid"




cmFailurePath= "robot/assets/templates/FailureCasesChangeManagement"
GLOBAL_CM_FAILURE_TEMPLATES= [f for f in listdir(cmFailurePath) if isfile(join(cmFailurePath, f))]

OneVNFImmediateFailurePath="robot/assets/templates/OneVNFImmediateFailureCases"
GLOBAL_CM_ONEVNF_FAILURE_TEMPLATES=[f for f in listdir(OneVNFImmediateFailurePath) if isfile(join(OneVNFImmediateFailurePath, f))]

MultipleVNFImmediateFailurePath="robot/assets/templates/MutipleVNFImmediateFailureCases"
GLOBAL_CM_MULTIPLE_VNF_FAILURE_TEMPLATES=[f for f in listdir(MultipleVNFImmediateFailurePath) if isfile(join(MultipleVNFImmediateFailurePath, f))]


DELETE_TICKET_ENVS = [
    {"scheduler" : "dummy", "vtm" : "dummy"},
    {"scheduler" : "dummy", "vtm" : "dummy"},
]

NODES = "node1,node2,node3,node4";