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-05-27 19:03:00 +03:00
parent d255e877c9
commit 55b680dffe
49 changed files with 10441 additions and 8049 deletions

View File

@@ -0,0 +1,53 @@
---
sidebar_position: 1
description: Create project and other functions to work with Melezh 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]
---
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 | ✔ | Project filepath |
Returns: Structure Of KeyAndValue - Creating result
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh CreateProject \
--path "C:\Users\bayselonarrend\AppData\Local\Temp\oxebtcco.ilx"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh CreateProject ^
--path "C:\Users\bayselonarrend\AppData\Local\Temp\oxebtcco.ilx"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true,
"message": "The project file has been successfully created!",
"path": "C:\\Users\\bayselonarrend\\AppData\\Local\\Temp\\lv4rgf4d.bii"
}
```

View File

@@ -0,0 +1,58 @@
---
sidebar_position: 4
description: Fill project settings and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Fill project settings
Fills in the settings from the passed collection
`Function FillProjectSettings(Val Project, Val Settings) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | &#x2714; | Project filepath |
| Settings | --set | Map Of KeyAndValue | &#x2714; | Collection key and value to fill in the settings |
Returns: Structure Of KeyAndValue - Project settings list
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
# JSON данные также могут быть переданы как путь к файлу .json
melezh FillProjectSettings \
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" \
--set "{'logs_req_headers':false,'logs_req_body':false}"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
:: JSON данные также могут быть переданы как путь к файлу .json
melezh FillProjectSettings ^
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" ^
--set "{'logs_req_headers':false,'logs_req_body':false}"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true
}
```

View File

@@ -0,0 +1,88 @@
---
sidebar_position: 3
description: Get project settings and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get project settings
Gets a list of all current project settings
`Function GetProjectSettings(Val Project) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | &#x2714; | Project filepath |
Returns: Structure Of KeyAndValue - Project settings list
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh GetProjectSettings \
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh GetProjectSettings ^
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi"
```
</TabItem>
</Tabs>
```json title="Result"
{
"data": [
{
"description": "Web console login Password",
"name": "ui_password",
"value": "admin"
},
{
"description": "Logs save path. To disable logging, set the value to empty",
"name": "logs_path",
"value": "C:/Users/bayselonarrend/AppData/Local/Temp/Melezh/cb82a741-27d0-4be9-acbb-5accf5bd2e7f"
},
{
"description": "Logging of incoming request headers",
"name": "logs_req_headers",
"value": "true"
},
{
"description": "Logging the body of incoming requests",
"name": "logs_req_body",
"value": "true"
},
{
"description": "Disable logging logs_req_body for requests over this size (in bytes). 0 - no limitation",
"name": "logs_req_max_size",
"value": "104857600"
},
{
"description": "Logging the body of outgoing responses",
"name": "logs_res_body",
"value": "true"
},
{
"description": "Disable logging logs_res_body for requests over this size (in bytes). 0 - no limitation",
"name": "logs_res_max_size",
"value": "104857600"
}
],
"result": true
}
```

View File

@@ -0,0 +1,32 @@
---
sidebar_position: 2
description: Run project and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Run project
Runs an integration proxy server
`Function RunProject(Val Port, Val Project) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Port | --port | Number | &#x2714; | Server startup port |
| Project | --proj | String | &#x2714; | Project filepath |
Returns: Structure Of KeyAndValue - Server shutdown result
<br/>

View File

@@ -0,0 +1,57 @@
---
sidebar_position: 5
description: Set project setting and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Set project setting
Sets the value of the selected project setting
`Function SetProjectSetting(Val Project, Val Setting, Val Value) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | &#x2714; | Project filepath |
| Setting | --key | String | &#x2714; | Project setting key |
| Value | --value | String | &#x2714; | Value of project setting |
Returns: Structure Of KeyAndValue - Setting result
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh SetProjectSetting \
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" \
--key "***" \
--value "yo"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh SetProjectSetting ^
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" ^
--key "***" ^
--value "yo"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true
}
```

View File

@@ -0,0 +1,54 @@
---
sidebar_position: 6
description: Update UI password and other functions to work with Melezh 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]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Update UI password
Changes the password for logging into the web console
`Function UpdateUIPassword(Val Project, Val Password) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | &#x2714; | Project filepath |
| Password | --pass | String | &#x2714; | New password |
Returns: Structure Of KeyAndValue - Result of password change
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh UpdateUIPassword \
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" \
--pass "***"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh UpdateUIPassword ^
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" ^
--pass "***"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true
}
```

View File

@@ -0,0 +1,4 @@
{
"label": "Projects setup",
"position": "2"
}