Functions:
+
|
+Add activity in AgentDict. |
+
|
+pyOpenRPA.Agent: Send CMD to OS. |
+
+ | pyOpenRPA.Agent: Create binary file by the base64 string (safe for JSON transmission) def OSFileBinaryDataBase64StrCreate(inFilePathStr, inFileDataBase64Str,inGSettings = None): Send binary file to Agent (base64 string) |
+
+ | pyOpenRPA.Agent: Create binary file by the base64 string (safe for JSON transmition) def OSFileBinaryDataBase64StrCreate(inFilePathStr, inFileDataBase64Str,inGSettings = None): Send binary file to Agent (Bytes) |
+
|
+pyOpenRPA.Agent: Create text file by the string def OSFileTextDataStrCreate(inFilePathStr, inFileDataStr, inEncodingStr = “utf-8”,inGSettings = None): Create Activity Item for the agent |
+
|
+Interval gsettings auto cleaner |
+
|
+Append value in GSettings by the key list |
+
|
+Get the value from the GSettings by the key list |
+
+ | Execute plus operation between 2 lists (1:inValue and 2:gSettings by the inKeyList) |
+
|
+Set value in GSettings by the key list |
+
|
+OS send command in shell locally |
+
|
+Verify user credentials in windows. |
+
|
+Orchestrator restart |
+
|
+Orchestrator session save in file _SessionLast_RDPList.json (encoding = “utf-8”) |
+
|
+Check if there is any running process that contains the given name processName. |
+
|
+Check activity of the list of processes |
+
|
+Start process locally [optional: if task name is not started] |
+
|
+Stop process |
+
|
+Add Activity item in Processor list |
+
|
+Create ActivityItem |
+
|
+Create alias for def (can be used in ActivityItem in field Def) !WHEN DEF ALIAS IS REQUIRED! - Def alias is required when you try to call Python def from the Orchestrator WEB side (because you can’t transmit Python def object out of the Python environment) |
+
|
+Update alias for def (can be used in ActivityItem in field Def). |
+
|
+Python import module and start def |
+
|
+Send command in RDP session |
+
|
+Create new RDPSession in RobotRDPActive. Attention - activity will be ignored if key is exists |
+
|
+Disconnect the RDP session |
+
|
+Search dublicates in GSettings RDPlist !def is developing! |
+
|
+Receive file from Session RDP to Host using shared drive in RDP |
+
|
+Send file from Host to Session RDP using shared drive in RDP |
+
|
+Logoff the RDP session |
+
|
+Stop track the RDP session. |
+
+ | Start process if it is not running |
+
|
+Create CMD str to stop process |
+
|
+RDP Session reconnect |
+
|
+Check RDP Session responsibility TODO NEED DEV + TEST |
+
|
+Create some RDP template dict to use it when connect/reconnect |
+
|
+Add activity in time weekly |
+
|
+Check is client is has access for the key list |
+
|
+Add supertoken for the all access (it is need for the robot communication without human) |
+
|
+Update user access (UAC) |
+
|
+Add control panel HTML, JSON generator or JS when page init |
+
|
+Connect URL to DEF |
+
|
+Connect URL to File |
+
|
+Connect URL to Folder |
+
|
+Return User info about request |
+
|
+Return bool if request is authentificated with supetoken (token which is never expires) |
+
|
+Return User UAC Hierarchy DICT Return {…} |
+
pyOpenRPA.Orchestrator.__Orchestrator__.
AgentActivityItemAdd
(inGSettings, inHostNameStr, inUserStr, inActivityItemDict)[source]¶Add activity in AgentDict. Check if item is created
diff --git a/Wiki/ENG_Guide/html/_sources/Orchestrator/02_Defs.rst.txt b/Wiki/ENG_Guide/html/_sources/Orchestrator/02_Defs.rst.txt index 2be63177..7cfbd2ef 100644 --- a/Wiki/ENG_Guide/html/_sources/Orchestrator/02_Defs.rst.txt +++ b/Wiki/ENG_Guide/html/_sources/Orchestrator/02_Defs.rst.txt @@ -20,6 +20,7 @@ pyOpenRPA.Orchestrator.__Orchestrator__ .. automodule:: pyOpenRPA.Orchestrator.__Orchestrator__ :members: + :autosummary: ********** diff --git a/Wiki/ENG_Guide/markdown/Orchestrator/02_Defs.md b/Wiki/ENG_Guide/markdown/Orchestrator/02_Defs.md index ddc07b3d..9070eefd 100644 --- a/Wiki/ENG_Guide/markdown/Orchestrator/02_Defs.md +++ b/Wiki/ENG_Guide/markdown/Orchestrator/02_Defs.md @@ -12,6 +12,243 @@ from pyOpenRPA.Orchestrator import __Orchestrator__ __Orchestrator__.OSCMD(inCMDStr = "git status", inRunAsyncBool=True) ``` +**Functions:** + +| `AgentActivityItemAdd`(inGSettings, …) + + | Add activity in AgentDict. + + | +| `AgentOSCMD`(inGSettings, inHostNameStr, …) + + | pyOpenRPA.Agent: Send CMD to OS. + + | +| `AgentOSFileBinaryDataBase64StrCreate`(…) + + | pyOpenRPA.Agent: Create binary file by the base64 string (safe for JSON transmission) def OSFileBinaryDataBase64StrCreate(inFilePathStr, inFileDataBase64Str,inGSettings = None): Send binary file to Agent (base64 string) + + | +| `AgentOSFileBinaryDataBytesCreate`(…) + + | pyOpenRPA.Agent: Create binary file by the base64 string (safe for JSON transmition) def OSFileBinaryDataBase64StrCreate(inFilePathStr, inFileDataBase64Str,inGSettings = None): Send binary file to Agent (Bytes) + + | +| `AgentOSFileTextDataStrCreate`(inGSettings, …) + + | pyOpenRPA.Agent: Create text file by the string def OSFileTextDataStrCreate(inFilePathStr, inFileDataStr, inEncodingStr = “utf-8”,inGSettings = None): Create Activity Item for the agent + + | +| `GSettingsAutocleaner`(inGSettings) + + | Interval gsettings auto cleaner + + | +| `GSettingsKeyListValueAppend`(inGSettings, inValue) + + | Append value in GSettings by the key list + + | +| `GSettingsKeyListValueGet`(inGSettings[, …]) + + | Get the value from the GSettings by the key list + + | +| `GSettingsKeyListValueOperatorPlus`(…[, …]) + + | Execute plus operation between 2 lists (1:inValue and 2:gSettings by the inKeyList) + + | +| `GSettingsKeyListValueSet`(inGSettings, inValue) + + | Set value in GSettings by the key list + + | +| `OSCMD`(inCMDStr[, inRunAsyncBool, inLogger]) + + | OS send command in shell locally + + | +| `OSCredentialsVerify`(inUserStr, inPasswordStr) + + | Verify user credentials in windows. + + | +| `OrchestratorRestart`([inGSettings]) + + | Orchestrator restart + + | +| `OrchestratorSessionSave`([inGSettings]) + + | Orchestrator session save in file _SessionLast_RDPList.json (encoding = “utf-8”) + + | +| `ProcessIsStarted`(inProcessNameWOExeStr) + + | Check if there is any running process that contains the given name processName. + + | +| `ProcessListGet`([inProcessNameWOExeList]) + + | Check activity of the list of processes + + | +| `ProcessStart`(inPathStr, inArgList[, …]) + + | Start process locally [optional: if task name is not started] + + | +| `ProcessStop`(inProcessNameWOExeStr, …[, …]) + + | Stop process + + | +| `ProcessorActivityItemAppend`(inGSettings, inDef) + + | Add Activity item in Processor list + + | +| `ProcessorActivityItemCreate`(inDef[, …]) + + | Create ActivityItem + + | +| `ProcessorAliasDefCreate`(inGSettings, inDef) + + | Create alias for def (can be used in ActivityItem in field Def) !WHEN DEF ALIAS IS REQUIRED! - Def alias is required when you try to call Python def from the Orchestrator WEB side (because you can’t transmit Python def object out of the Python environment) + + | +| `ProcessorAliasDefUpdate`(inGSettings, inDef, …) + + | Update alias for def (can be used in ActivityItem in field Def). + + | +| `PythonStart`(inModulePathStr, inDefNameStr[, …]) + + | Python import module and start def + + | +| `RDPSessionCMDRun`(inGSettings, …[, inModeStr]) + + | Send command in RDP session + + | +| `RDPSessionConnect`(inGSettings, …[, …]) + + | Create new RDPSession in RobotRDPActive. Attention - activity will be ignored if key is exists + + | +| `RDPSessionDisconnect`(inGSettings, …[, …]) + + | Disconnect the RDP session + + | +| `RDPSessionDublicatesResolve`(inGSettings) + + | Search dublicates in GSettings RDPlist !def is developing! + + | +| `RDPSessionFileStoredRecieve`(inGSettings, …) + + | Receive file from Session RDP to Host using shared drive in RDP + + | +| `RDPSessionFileStoredSend`(inGSettings, …) + + | Send file from Host to Session RDP using shared drive in RDP + + | +| `RDPSessionLogoff`(inGSettings, inRDPSessionKeyStr) + + | Logoff the RDP session + + | +| `RDPSessionMonitorStop`(inGSettings, …) + + | Stop track the RDP session. + + | +| `RDPSessionProcessStartIfNotRunning`(…[, …]) + + | Start process if it is not running + + | +| `RDPSessionProcessStop`(inGSettings, …) + + | Create CMD str to stop process + + | +| `RDPSessionReconnect`(inGSettings, …[, …]) + + | RDP Session reconnect + + | +| `RDPSessionResponsibilityCheck`(inGSettings, …) + + | Check RDP Session responsibility TODO NEED DEV + TEST + + | +| `RDPTemplateCreate`(inLoginStr, inPasswordStr) + + | Create some RDP template dict to use it when connect/reconnect + + | +| `SchedulerActivityTimeAddWeekly`(inGSettings) + + | Add activity in time weekly + + | +| `UACKeyListCheck`(inRequest, inRoleKeyList) + + | Check is client is has access for the key list + + | +| `UACSuperTokenUpdate`(inGSettings, inSuperTokenStr) + + | Add supertoken for the all access (it is need for the robot communication without human) + + | +| `UACUpdate`(inGSettings, inADLoginStr[, …]) + + | Update user access (UAC) + + | +| `WebCPUpdate`(inGSettings, inCPKeyStr[, …]) + + | Add control panel HTML, JSON generator or JS when page init + + | +| `WebURLConnectDef`(inGSettings, inMethodStr, …) + + | Connect URL to DEF + + | +| `WebURLConnectFile`(inGSettings, inMethodStr, …) + + | Connect URL to File + + | +| `WebURLConnectFolder`(inGSettings, …) + + | Connect URL to Folder + + | +| `WebUserInfoGet`(inRequest) + + | Return User info about request + + | +| `WebUserIsSuperToken`(inRequest, inGSettings) + + | Return bool if request is authentificated with supetoken (token which is never expires) + + | +| `WebUserUACHierarchyGet`(inRequest) + + | Return User UAC Hierarchy DICT Return {…} + + | ### pyOpenRPA.Orchestrator.__Orchestrator__.AgentActivityItemAdd(inGSettings, inHostNameStr, inUserStr, inActivityItemDict) Add activity in AgentDict. Check if item is created