diff --git a/Sources/pyOpenRPA/Orchestrator/BackwardCompatibility.py b/Sources/pyOpenRPA/Orchestrator/BackwardCompatibility.py index 0cc82b95..3bedc69e 100644 --- a/Sources/pyOpenRPA/Orchestrator/BackwardCompatibility.py +++ b/Sources/pyOpenRPA/Orchestrator/BackwardCompatibility.py @@ -421,4 +421,11 @@ def Update(inGSettings): # Remove old structure Scheduler del inGSettings["Scheduler"] if lL: lL.warning(f"Backward compatibility (v1.1.20 to v1.2.0): Convert Scheduler to SchedulerDict with new features") # Log about compatibility - + # # Convert to Storage to StorageDict + if "Storage" in inGSettings: + # Check if Server is active > convert to ServerDict + inGSettings["StorageDict"] = inGSettings["Storage"] + if lL: lL.warning( + f"Backward compatibility (v1.2.1 to v1.2.2): Convert Storage to StorageDict") # Log about compatibility + # Remove old structure Scheduler + del inGSettings["Storage"] diff --git a/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py b/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py index fa08048d..717fed38 100644 --- a/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py +++ b/Sources/pyOpenRPA/Orchestrator/SettingsTemplate.py @@ -260,7 +260,7 @@ def __Create__(): } }, "Logger": logging.getLogger("Orchestrator"), - "Storage": { + "StorageDict": { "Robot_R01_help": "Robot data storage in orchestrator env", "Robot_R01": {}, "R01_OrchestratorToRobot": {"Test2": "Test2"}