1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-10-30 23:47:46 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-01-29 16:59:34 +03:00
parent 673fe1153c
commit 02c236c6f0
28 changed files with 7336 additions and 6614 deletions

View File

@@ -0,0 +1,37 @@
---
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Add requests handler
Adds a new handler to the project
`Function AddRequestsHandler(Val Project, Val Name, Val SecretKey, Val Method = "GET") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| Name | --name | String | ✔ | Name of the new handler |
| SecretKey | --secret | String | ✔ | Secret key for URL handler |
| Method | --method | String | ✖ | HTTP method that will process the handler: GET, POST, MULTIPART |
Returns: Structure Of KeyAndValue - result of adding a handler
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,34 @@
---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Create project
Creates a project file at the selected path
`Function CreateProject(Val Path) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Path | --path | String | &#x2714; | Project filepath |
Returns: Structure Of KeyAndValue - creation result
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,35 @@
---
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Start
Launches integration proxy server
`Function Start(Val Port, Val Project) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Port | --port | Number | &#x2714; | Servers port |
| Project | --proj | String | &#x2714; | Project filepath |
Returns: Structure Of KeyAndValue - server shutdown result
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,4 @@
{
"label": "Proxy settings",
"position": "2"
}