1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-09-23 10:13:09 +03:00
parent c46eee0c75
commit 5ae98a4391
576 changed files with 13840 additions and 12659 deletions

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
AccessKey = "AccessKey";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
RandomArray = New Array;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Token = "***";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
TFN = GetTempFileName();

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
MIMEType = "text/markdown";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Data = New Structure("Field1,Field2", "10", "Text");

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Headers = New Map;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
RandomArray = New Array;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Token = "***";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ProxySettings = New InternetProxy;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
TFN = GetTempFileName();

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Text = "Hello world!";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ArrayParam = New Array;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Text = "Hello world!";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure;

View File

@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
AccessKey = "AccessKey";

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -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 = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Token = "***";

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Token = "***";

View File

@@ -36,7 +36,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
RandomArray = New Array;

View File

@@ -35,7 +35,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -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 = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -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 = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Data = New Structure("Field1,Field2", "10", "Text");

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
RandomArray = New Array;

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Text = "Hello world!";

View File

@@ -35,7 +35,7 @@ The `AddMultipartFormDataFile` and `AddMultipartFormDataField` methods are used
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Headers = New Map;

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);

View File

@@ -36,7 +36,7 @@ The URL can be set later using the `SetURL` function
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests

View File

@@ -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 = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
MIMEType = "text/markdown";

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ProxySettings = New InternetProxy;

View File

@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
TFN = GetTempFileName();

View File

@@ -34,7 +34,7 @@ Default timeout is 3600 seconds
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure("param1,param2", "text", 10);

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -35,7 +35,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()

View File

@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -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 = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
TFN = GetTempFileName();

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -33,7 +33,7 @@ By default, square brackets to parameter keys are not set when array splitting i
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ArrayParam = New Array;

View File

@@ -34,7 +34,7 @@ By default, the body data is used in the signature calculation if it was set usi
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -34,7 +34,7 @@ UTF-8 is used by default
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Text = "Hello world!";

View File

@@ -34,7 +34,7 @@ By default, the response from the server is requested with gzip compression
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data

View File

@@ -34,7 +34,7 @@ URL encoding is enabled by default
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ParametersStructure = New Structure;

View File

@@ -0,0 +1,38 @@
---
sidebar_position: 4
description: Close connection and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Close connection
Explicitly closes the passed connection
`Function CloseConnection(Val Connection) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Connection | - | Arbitrary | ✔ | AddIn object with open connection |
Returns: Structure Of KeyAndValue - Result of connection termination
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>

View File

@@ -0,0 +1,86 @@
---
sidebar_position: 1
description: Create Connection and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Create Connection
Creates a new SSH session
`Function CreateConnection(Val SSHSettings, Val Proxy = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| SSHSettings | - | Structure Of KeyAndValue | &#x2714; | Connection settings structure |
| Proxy | - | Structure Of KeyAndValue | &#x2716; | Proxy settings structure, if necessary |
Returns: Arbitrary, Map of KeyAndValue - Create Connection
<br/>
:::tip
Get the connection configuration using the functions `GetSettingsLoginPassword`, `GetSettingsPrivateKey`, `GetSettingsViaAgent`
:::
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
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...";
SSHSettings = OPI_SSH.GetSettingsLoginPassword(Host, Port, Login, Password);
ElsIf AuthorizationType = "By key" Then
Login = "bayselonarrend";
PrivateKey = "./ssh_key";
PublicKey = "./ssh_key.pub";
SSHSettings = OPI_SSH.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
Else
Login = "bayselonarrend";
SSHSettings = OPI_SSH.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_SSH.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
EndIf;
Result = OPI_SSH.CreateConnection(SSHSettings, ProxySettings);
```

View File

@@ -0,0 +1,34 @@
---
sidebar_position: 3
description: Execute command and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Execute command
Executes the specified command
`Function ExecuteCommand(Val Connection, Val Command) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Connection | --conn | Arbitrary | &#x2714; | Existing connection or connection configuration |
| Command | --comm | String | &#x2714; | Command text |
Returns: Map Of KeyAndValue - Processing result
<br/>

View File

@@ -0,0 +1,42 @@
---
sidebar_position: 2
description: Get connection configuration and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get connection configuration
Forms a complete structure of connection settings that can be used instead of the actual connection when calling other functions
`Function GetConnectionConfiguration(Val SSHSettings, Val Proxy = Undefined) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| SSHSettings | --set | Structure Of KeyAndValue | &#x2714; | SSH settings |
| Proxy | --proxy | Structure Of KeyAndValue | &#x2716; | Proxy settings, if required. See GetProxySettings |
Returns: Structure Of KeyAndValue - Connection settings structure
<br/>
:::tip
Can be passed as the `Connection` parameter in other functions instead of the actual connection from the `CreateConnection` function.
At the same time, a new connection will be opened and closed within the called function
It is not recommended to use the connection configuration for multiple requests to the SSH server. This functionality is primarily intended for the CLI version of OInt, where maintaining a connection between calls is not possible
:::
<br/>

View File

@@ -0,0 +1,37 @@
---
sidebar_position: 9
description: Get proxy settings and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get proxy settings
Creates a structure of proxy server settings for the connection
`Function GetProxySettings(Val Address, Val Port, Val View = "socks5", Val Login = Undefined, Val Password = Undefined) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Address | --addr | String | &#x2714; | Proxy address |
| Port | --port | Number | &#x2714; | Proxy port |
| View | --type | String | &#x2716; | Proxy type: socks5, socks4, http |
| Login | --login | String, Undefined | &#x2716; | Authorization login, if required |
| Password | --pass | String, Undefined | &#x2716; | Authorization password, if required |
Returns: Structure Of KeyAndValue - Proxy settings structure
<br/>

View File

@@ -0,0 +1,36 @@
---
sidebar_position: 6
description: Get settings (login/password) and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get settings (login/password)
Gets connection settings with login and password authentication
`Function GetSettingsLoginPassword(Val Host, Val Port, Val Login, Val Password = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Host | --host | String | &#x2714; | SSH host |
| Port | --port | Number | &#x2714; | SSH port |
| Login | --user | String | &#x2714; | SSH username |
| Password | --pass | String | &#x2716; | SSH user password |
Returns: Structure Of KeyAndValue - Connection configuration
<br/>

View File

@@ -0,0 +1,38 @@
---
sidebar_position: 7
description: Get settings (private key) and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get settings (private key)
Gets connection settings with private key authentication
`Function GetSettingsPrivateKey(Val Host, Val Port, Val Login, Val Private, Val Public = "", Val Password = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Host | --host | String | &#x2714; | SSH host |
| Port | --port | Number | &#x2714; | SSH port |
| Login | --user | String | &#x2714; | SSH username |
| Private | --key | String | &#x2714; | Path to private key file |
| Public | --pub | String | &#x2716; | Path to public key file |
| Password | --pass | String | &#x2716; | Private key password (passphrase) |
Returns: Structure Of KeyAndValue - Connection configuration
<br/>

View File

@@ -0,0 +1,35 @@
---
sidebar_position: 8
description: Get settings (via agent) and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get settings (via agent)
Gets connection settings with SSH Agent authentication
`Function GetSettingsViaAgent(Val Host, Val Port, Val Login) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Host | --host | String | &#x2714; | SSH host |
| Port | --port | Number | &#x2714; | SSH port |
| Login | --user | String | &#x2714; | SSH username |
Returns: Structure Of KeyAndValue - Connection configuration
<br/>

View File

@@ -0,0 +1,38 @@
---
sidebar_position: 5
description: Is connector and other functions to work with SSH in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, SSH]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Is connector
Checks that the value is an object of an external component for working with SSH
`Function IsConnector(Val Value) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Value | - | Arbitrary | &#x2714; | Value to check |
Returns: Boolean - Is connector
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>

View File

@@ -0,0 +1,4 @@
{
"label": "Common methods",
"position": "2"
}

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
ИВФ = ПолучитьИмяВременногоФайла();

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
AccessKey = "AccessKey";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Токен = "***";

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
СлучайныйМассив = Новый Массив;

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/get";
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

View File

@@ -1,4 +1,4 @@
 URL = "https://httpbin.org";
 URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные

Some files were not shown because too many files have changed in this diff Show More