From 8b2fc6650d70531e4dc54f02a3965c3626c2af26 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 22 Feb 2022 08:39:47 +0300 Subject: [PATCH] remove old keys from Settings struct --- .../Orchestrator/SettingsTemplate.py | 36 ++++++------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py b/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py index bcc42316..d2f7fac4 100644 --- a/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py +++ b/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py @@ -112,17 +112,17 @@ def __Create__(): # "ResponseDefRequestGlobal": None ,#Function with str result # "UACBool": True # True - check user access before do this URL item. None - get Server flag if ask user # } - { - "Method": "GET", - "URL": "/test/", # URL of the request - "MatchType": "BeginWith", # "BeginWith|Contains|Equal|EqualCase", - # "ResponseFilePath": "", #Absolute or relative path - "ResponseFolderPath": "C:\Abs\Archive\scopeSrcUL\OpenRPA\Orchestrator\Settings", - # Absolute or relative path - # "ResponseContentType": "", #HTTP Content-type - # "ResponseDefRequestGlobal": None #Function with str result - # "UACBool": True # True - check user access before do this URL item - } + #{ + # "Method": "GET", + # "URL": "/test/", # URL of the request + # "MatchType": "BeginWith", # "BeginWith|Contains|Equal|EqualCase", + # # "ResponseFilePath": "", #Absolute or relative path + # "ResponseFolderPath": "C:\Abs\Archive\scopeSrcUL\OpenRPA\Orchestrator\Settings", + # # Absolute or relative path + # # "ResponseContentType": "", #HTTP Content-type + # # "ResponseDefRequestGlobal": None #Function with str result + # # "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 "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": { "RecoveryDict": {