remove old keys from Settings struct

dev-linux
Ivan Maslov 3 years ago
parent 742c70b99c
commit 8b2fc6650d

@ -112,17 +112,17 @@ def __Create__():
# "ResponseDefRequestGlobal": None ,#Function with str result # "ResponseDefRequestGlobal": None ,#Function with str result
# "UACBool": True # True - check user access before do this URL item. None - get Server flag if ask user # "UACBool": True # True - check user access before do this URL item. None - get Server flag if ask user
# } # }
{ #{
"Method": "GET", # "Method": "GET",
"URL": "/test/", # URL of the request # "URL": "/test/", # URL of the request
"MatchType": "BeginWith", # "BeginWith|Contains|Equal|EqualCase", # "MatchType": "BeginWith", # "BeginWith|Contains|Equal|EqualCase",
# "ResponseFilePath": "", #Absolute or relative path # # "ResponseFilePath": "", #Absolute or relative path
"ResponseFolderPath": "C:\Abs\Archive\scopeSrcUL\OpenRPA\Orchestrator\Settings", # "ResponseFolderPath": "C:\Abs\Archive\scopeSrcUL\OpenRPA\Orchestrator\Settings",
# Absolute or relative path # # Absolute or relative path
# "ResponseContentType": "", #HTTP Content-type # # "ResponseContentType": "", #HTTP Content-type
# "ResponseDefRequestGlobal": None #Function with str result # # "ResponseDefRequestGlobal": None #Function with str result
# "UACBool": True # True - check user access before do this URL item # # "UACBool": True # True - check user access before do this URL item
} #}
], ],
}, },
@ -172,20 +172,6 @@ def __Create__():
"ThreadIdInt": None, # Technical field - will be setup when processor init "ThreadIdInt": None, # Technical field - will be setup when processor init
"WarningExecutionMoreThanSecFloat": 60.0 # Push warning if execution more than n seconds "WarningExecutionMoreThanSecFloat": 60.0 # Push warning if execution more than n seconds
}, },
# TODO REMOVE DEPRECATED KEYS IN v.2.0.0
"ControlPanelDict": { # Old structure > CPDict
"RefreshSeconds": 5, # deprecated parameter
"RobotList": [
#{
# "RenderFunction": RenderRobotR01,
# "KeyStr": "TestControlPanelKey"
#}
]
},
# TODO REMOVE DEPRECATED KEYS IN v.2.0.0
"CPDict": {
# "CPKey": {"HTMLRenderDef":None, "JSONGeneratorDef":None, "JSInitGeneratorDef":None}
},
# # # # # # # # # # # # # # # # # # # # # # # # # # # #
"RobotRDPActive": { "RobotRDPActive": {
"RecoveryDict": { "RecoveryDict": {

Loading…
Cancel
Save