blob: 471f92fa24a18b997034714adcff7baf19d6b3e8 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# Software Name: MOON
# Version: 5.4
# SPDX-FileCopyrightText: Copyright (c) 2018-2020 Orange and its contributors
# SPDX-License-Identifier: Apache-2.0
# This software is distributed under the 'Apache License 2.0',
# the text of which is available at 'http://www.apache.org/licenses/LICENSE-2.0.txt'
# or see the "LICENSE" file for more details.
class GeneralVariables:
serverURL="http://127.0.0.1:8000/"
serverIP="10.237.71.141"
serverport = "22"
serverusername="ubuntu"
serverpassword="ubuntu-007"
token = "{{TOKEN}}"
auth_headers = {"X-Api-Key": token}
actual_authresponse = {'value': False}
api_responseflag = {'value': False}
pipelinePort = {'value': ""}
wrapperPort = {'value': ""}
projectAPI = ""
slaveAPI="slave"
getslavesAPI = "slaves"
pdpAPI = "pdp"
modelAPI = "models"
policyAPI = "policies"
assignpolicyid={'value': ""}
assignsubjectperimeterid = {'value': ""}
assignsubjectcategoryid = {'value': ""}
assignobjectperimeterid = {'value': ""}
assignobjectcategoryid = {'value': ""}
assignactionperimeterid = {'value': ""}
assignactioncategoryid = {'value': ""}
metarulesAPI = "meta_rules"
metadatasubjectcategoryAPI = "subject_categories"
metadataobjectcategoryAPI = "object_categories"
metadataactioncategoryAPI = "action_categories"
perimetersubjectAPI = "subjects"
perimeterobjectAPI = "objects"
perimeteractionAPI = "actions"
datasubjectAPI = "subject_data"
dataobjectAPI = "object_data"
dataactionAPI = "action_data"
assignementssubjectAPI = "subject_assignments"
assignementsobjectAPI = "object_assignments"
assignementsactionAPI = "action_assignments"
rulesAPI = "rules"
|