You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
Main build (Jenkins)
This commit is contained in:
1
docs/en/data/SFTP/CloseConnection.json
vendored
Normal file
1
docs/en/data/SFTP/CloseConnection.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/GetConnectionConfiguration.json
vendored
Normal file
1
docs/en/data/SFTP/GetConnectionConfiguration.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/GetFileData.json
vendored
Normal file
1
docs/en/data/SFTP/GetFileData.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/GetFileInformation.json
vendored
Normal file
1
docs/en/data/SFTP/GetFileInformation.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/GetProxySettings.json
vendored
Normal file
1
docs/en/data/SFTP/GetProxySettings.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/GetSettingsLoginPassword.json
vendored
Normal file
1
docs/en/data/SFTP/GetSettingsLoginPassword.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we..."}
|
||||
1
docs/en/data/SFTP/GetSettingsPrivateKey.json
vendored
Normal file
1
docs/en/data/SFTP/GetSettingsPrivateKey.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend"}
|
||||
1
docs/en/data/SFTP/GetSettingsViaAgent.json
vendored
Normal file
1
docs/en/data/SFTP/GetSettingsViaAgent.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend"}
|
||||
1
docs/en/data/SFTP/IsConnector.json
vendored
Normal file
1
docs/en/data/SFTP/IsConnector.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/SaveFile.json
vendored
Normal file
1
docs/en/data/SFTP/SaveFile.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
1
docs/en/data/SFTP/UpdatePath.json
vendored
Normal file
1
docs/en/data/SFTP/UpdatePath.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Host":"172.33.0.13","Port":"2222","Login":"bayselonarrend","Password":"12we...","ProxyType":"http","ProxyAddress":"127.0.0.1","ProxyPort":8071,"ProxyLogin":"proxyuser","ProxyPassword":"12we..."}
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
AccessKey = "AccessKey";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
RandomArray = New Array;
|
||||
|
||||
2
docs/en/examples/HTTPClient/AddHeader.txt
vendored
2
docs/en/examples/HTTPClient/AddHeader.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Token = "***";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
2
docs/en/examples/HTTPClient/GetLog.txt
vendored
2
docs/en/examples/HTTPClient/GetLog.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||
|
||||
2
docs/en/examples/HTTPClient/Initialize.txt
vendored
2
docs/en/examples/HTTPClient/Initialize.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
TFN = GetTempFileName();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetDataType.txt
vendored
2
docs/en/examples/HTTPClient/SetDataType.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
MIMEType = "text/markdown";
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetFormBody.txt
vendored
2
docs/en/examples/HTTPClient/SetFormBody.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Data = New Structure("Field1,Field2", "10", "Text");
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetHeaders.txt
vendored
2
docs/en/examples/HTTPClient/SetHeaders.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Headers = New Map;
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetJsonBody.txt
vendored
2
docs/en/examples/HTTPClient/SetJsonBody.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
RandomArray = New Array;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Token = "***";
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetProxy.txt
vendored
2
docs/en/examples/HTTPClient/SetProxy.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ProxySettings = New InternetProxy;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
TFN = GetTempFileName();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Text = "Hello world!";
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetTimeout.txt
vendored
2
docs/en/examples/HTTPClient/SetTimeout.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetURL.txt
vendored
2
docs/en/examples/HTTPClient/SetURL.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
2
docs/en/examples/HTTPClient/SetURLParams.txt
vendored
2
docs/en/examples/HTTPClient/SetURLParams.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ArrayParam = New Array;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
2
docs/en/examples/HTTPClient/UseEncoding.txt
vendored
2
docs/en/examples/HTTPClient/UseEncoding.txt
vendored
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Text = "Hello world!";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ParametersStructure = New Structure;
|
||||
|
||||
49
docs/en/examples/SFTP/CloseConnection.txt
vendored
Normal file
49
docs/en/examples/SFTP/CloseConnection.txt
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.CloseConnection(Connection);
|
||||
Else
|
||||
Result = Connection; // Error of connection
|
||||
EndIf;
|
||||
10
docs/en/examples/SFTP/CreateConnection.txt
vendored
10
docs/en/examples/SFTP/CreateConnection.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,4 +40,4 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Result = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Result = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
10
docs/en/examples/SFTP/CreateNewDirectory.txt
vendored
10
docs/en/examples/SFTP/CreateNewDirectory.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.CreateNewDirectory(Connection, "new_dir");
|
||||
|
||||
10
docs/en/examples/SFTP/DeleteDirectory.txt
vendored
10
docs/en/examples/SFTP/DeleteDirectory.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.DeleteDirectory(Connection, "new_dir");
|
||||
|
||||
10
docs/en/examples/SFTP/DeleteFile.txt
vendored
10
docs/en/examples/SFTP/DeleteFile.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.DeleteFile(Connection, "files_folder/pic_from_binary.png");
|
||||
|
||||
43
docs/en/examples/SFTP/GetConnectionConfiguration.txt
vendored
Normal file
43
docs/en/examples/SFTP/GetConnectionConfiguration.txt
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Result = OPI_SFTP.GetConnectionConfiguration(SFTPSettings, ProxySettings);
|
||||
10
docs/en/examples/SFTP/GetCurrentDirectory.txt
vendored
10
docs/en/examples/SFTP/GetCurrentDirectory.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.GetCurrentDirectory(Connection);
|
||||
|
||||
52
docs/en/examples/SFTP/GetFileData.txt
vendored
Normal file
52
docs/en/examples/SFTP/GetFileData.txt
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
|
||||
Path = "pic_from_disk.png";
|
||||
Result = OPI_SFTP.GetFileData(Connection, Path);
|
||||
|
||||
Else
|
||||
Result = Connection; // Error of connection
|
||||
EndIf;
|
||||
49
docs/en/examples/SFTP/GetFileInformation.txt
vendored
Normal file
49
docs/en/examples/SFTP/GetFileInformation.txt
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.GetFileInformation(Connection, "files_folder/pic_from_binary.png");
|
||||
Else
|
||||
Result = Connection; // Error of connection
|
||||
EndIf;
|
||||
8
docs/en/examples/SFTP/GetProxySettings.txt
vendored
Normal file
8
docs/en/examples/SFTP/GetProxySettings.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
Result = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
6
docs/en/examples/SFTP/GetSettingsLoginPassword.txt
vendored
Normal file
6
docs/en/examples/SFTP/GetSettingsLoginPassword.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
Result = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
7
docs/en/examples/SFTP/GetSettingsPrivateKey.txt
vendored
Normal file
7
docs/en/examples/SFTP/GetSettingsPrivateKey.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
Result = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
4
docs/en/examples/SFTP/GetSettingsViaAgent.txt
vendored
Normal file
4
docs/en/examples/SFTP/GetSettingsViaAgent.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
Login = "bayselonarrend";
|
||||
Result = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
44
docs/en/examples/SFTP/IsConnector.txt
vendored
Normal file
44
docs/en/examples/SFTP/IsConnector.txt
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
Result = OPI_SFTP.IsConnector(Connection);
|
||||
10
docs/en/examples/SFTP/ListObjects.txt
vendored
10
docs/en/examples/SFTP/ListObjects.txt
vendored
@@ -10,7 +10,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.ListObjects(Connection, "test_folder", True);
|
||||
|
||||
54
docs/en/examples/SFTP/SaveFile.txt
vendored
Normal file
54
docs/en/examples/SFTP/SaveFile.txt
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
|
||||
Path = "pic_from_disk.png";
|
||||
FileName = GetTempFileName("bin");
|
||||
|
||||
Result = OPI_SFTP.SaveFile(Connection, Path, FileName);
|
||||
|
||||
Else
|
||||
Result = Connection; // Error of connection
|
||||
EndIf;
|
||||
49
docs/en/examples/SFTP/UpdatePath.txt
vendored
Normal file
49
docs/en/examples/SFTP/UpdatePath.txt
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
Host = "172.33.0.13";
|
||||
Port = "2222";
|
||||
|
||||
UseProxy = True;
|
||||
ProxySettings = Undefined;
|
||||
AuthorizationType = "By login and password";
|
||||
|
||||
If AuthorizationType = "By login and password" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
Login = "bayselonarrend";
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
|
||||
ProxySettings = OPI_SFTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
Result = OPI_SFTP.UpdatePath(Connection, "pic_from_disk.png", "files_folder/pic_from_disk.png");
|
||||
Else
|
||||
Result = Connection; // Error of connection
|
||||
EndIf;
|
||||
10
docs/en/examples/SFTP/UploadFile.txt
vendored
10
docs/en/examples/SFTP/UploadFile.txt
vendored
@@ -14,7 +14,7 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||
|
||||
ElsIf AuthorizationType = "By key" Then
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
PrivateKey = "./ssh_key";
|
||||
PublicKey = "./ssh_key.pub";
|
||||
|
||||
SSHSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
SFTPSettings = OPI_SFTP.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||
|
||||
Else
|
||||
|
||||
Login = "bayselonarrend";
|
||||
SSHSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
Login = "bayselonarrend";
|
||||
SFTPSettings = OPI_SFTP.GetSettingsViaAgent(Host, Port, Login);
|
||||
|
||||
EndIf;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
EndIf;
|
||||
|
||||
Connection = OPI_SFTP.CreateConnection(SSHSettings, ProxySettings);
|
||||
Connection = OPI_SFTP.CreateConnection(SFTPSettings, ProxySettings);
|
||||
|
||||
If OPI_SFTP.IsConnector(Connection) Then
|
||||
|
||||
|
||||
@@ -12,13 +12,12 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
`Function RunProject(Val Port, Val Project, Val DebugPort = "") Export`
|
||||
`Function RunProject(Val Port, Val Project) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Port | --port | Number | ✔ | Server startup port |
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| DebugPort | --dport | Number | ✖ | Debug port, if necessary |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Server shutdown result
|
||||
|
||||
57
docs/en/md/Addons/Melezh/Start/Installation.mdx
vendored
57
docs/en/md/Addons/Melezh/Start/Installation.mdx
vendored
@@ -6,7 +6,34 @@ sidebar_position: 1
|
||||
|
||||
To start working with Melezh, you need to complete the installation process and then create and configure a project. This section describes the Melezh installation procedure for different environments. The installation method depends on your operating system and the availability of Docker or OneScript with OPM package manager:
|
||||
|
||||
## Docker (Recommended)
|
||||
## OneScript (Recommended)
|
||||
|
||||
Melezh and OInt are primarily distributed as packages for [OneScript](https://github.com/EvilBeaver/OneScript) and can be installed using the OPM package manager. The Russian version of the package can be installed from the cloud package hub using the following console command:
|
||||
|
||||
```bash
|
||||
opm install melezh
|
||||
```
|
||||
|
||||
This package includes dependencies for both OInt and OInt CLI - they will be installed automatically.
|
||||
|
||||
Alternatively, both English and Russian versions can be installed from local `.ospx` package files available in the releases of their respective repositories:
|
||||
- [Melezh](https://github.com/Bayselonarrend/OpenIntegrations)
|
||||
- [OpenIntegrations](https://github.com/Bayselonarrend/OpenIntegrations)
|
||||
|
||||
```bash
|
||||
opm install -f oint-x.x.x_lang.ospx
|
||||
opm install -f oint-cli-x.x.x_lang.ospx
|
||||
opm install -f melezh-x.x.x_lang.ospx
|
||||
```
|
||||
|
||||
:::warning
|
||||
Melezh is compatible with any `oint` version above 1.24.0, but requires language version matching: both Melezh and OInt are available in two language variants (Russian and English) that cannot be mixed. The Russian version of Melezh can only be installed on top of the Russian OInt, and the English version requires the English OInt respectively.
|
||||
:::
|
||||
|
||||
<br/><hr/>
|
||||
|
||||
|
||||
## Docker
|
||||
|
||||
You can run Melezh in a Docker container using one of these methods:
|
||||
|
||||
@@ -38,30 +65,4 @@ On Windows, Melezh is installed as part of the `oint` setup - the main console a
|
||||
|
||||
For Linux systems, Melezh provides `.deb` and `.rpm` packages in its GitHub releases. Both package formats require the `oint` package as a dependency, which is available in corresponding formats from the [OpenIntegrations](https://github.com/Bayselonarrend/OpenIntegrations) repository releases.
|
||||
|
||||
:::warning
|
||||
Melezh is compatible with any `oint` version above 1.24.0, but requires language version matching: both Melezh and OInt are available in two language variants (Russian and English) that cannot be mixed. The Russian version of Melezh can only be installed on top of the Russian OInt, and the English version requires the English OInt respectively.
|
||||
:::
|
||||
|
||||
<br/><hr/>
|
||||
|
||||
## OneScript
|
||||
|
||||
Melezh and OInt are primarily distributed as packages for [OneScript](https://github.com/EvilBeaver/OneScript) and can be installed using the OPM package manager. The Russian version of the package can be installed from the cloud package hub using the following console command:
|
||||
|
||||
```bash
|
||||
opm install melezh
|
||||
```
|
||||
|
||||
This package includes dependencies for both OInt and OInt CLI - they will be installed automatically.
|
||||
|
||||
Alternatively, both English and Russian versions can be installed from local `.ospx` package files available in the releases of their respective repositories:
|
||||
- [Melezh](https://github.com/Bayselonarrend/OpenIntegrations)
|
||||
- [OpenIntegrations](https://github.com/Bayselonarrend/OpenIntegrations)
|
||||
|
||||
```bash
|
||||
opm install -f oint-x.x.x_lang.ospx
|
||||
opm install -f oint-cli-x.x.x_lang.ospx
|
||||
opm install -f melezh-x.x.x_lang.ospx
|
||||
```
|
||||
|
||||
As with Linux packages, it's crucial to maintain language version consistency: **Russian Melezh** requires **Russian OInt**, while **English Melezh** must be paired with **English OInt**.
|
||||
As with OneScript packages, it's crucial to maintain language version consistency: **Russian Melezh** requires **Russian OInt**, while **English Melezh** must be paired with **English OInt**.
|
||||
@@ -16,6 +16,8 @@ In the top-right corner of the page, there are two action buttons:
|
||||
|
||||

|
||||
|
||||
+ The first button updates the extensions cache on the server. Since the list of extensions and their parameters is generated only once at server startup, this button allows refreshing the list after changes without restarting the server
|
||||
+ The first button opens the window for creating a new extension
|
||||
|
||||
+ The second button refreshes the displayed list of extensions with up-to-date information without reloading the page
|
||||
+ The second button updates the extensions cache on the server. Since the list of extensions and their parameters is generated only once at server startup, this button allows refreshing the list after changes without restarting the server
|
||||
|
||||
+ The third button refreshes the displayed list of extensions with up-to-date information without reloading the page
|
||||
@@ -17,7 +17,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Connection | --conn | Arbitrary | ✔ | Existing connection or connection configuration |
|
||||
| Path | --path | String | ✔ | Path to save file on server |
|
||||
| Path | --path | String | ✔ | Path to file on server |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - Processing result
|
||||
|
||||
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
AccessKey = "AccessKey";
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -34,7 +34,7 @@ By default, HMAC-SHA256 is used to create the signature. To change the algorithm
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Token = "***";
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Token = "***";
|
||||
|
||||
@@ -36,7 +36,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
RandomArray = New Array;
|
||||
|
||||
@@ -35,7 +35,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -39,7 +39,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -35,7 +35,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Data = New Structure("Field1,Field2", "10", "Text");
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
RandomArray = New Array;
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Text = "Hello world!";
|
||||
|
||||
@@ -35,7 +35,7 @@ The `AddMultipartFormDataFile` and `AddMultipartFormDataField` methods are used
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Headers = New Map;
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||
|
||||
@@ -36,7 +36,7 @@ The URL can be set later using the `SetURL` function
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests
|
||||
|
||||
@@ -34,7 +34,7 @@ If the data type is not set manually, it will be matched during the process of s
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
MIMEType = "text/markdown";
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ProxySettings = New InternetProxy;
|
||||
|
||||
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
TFN = GetTempFileName();
|
||||
|
||||
@@ -34,7 +34,7 @@ Default timeout is 3600 seconds
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -35,7 +35,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/get";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
|
||||
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -35,7 +35,7 @@ If it is not possible to obtain a collection from the body, binary data will be
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "http://localhost:2424";
|
||||
URL = "https://bin.openintegrations.dev";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user