You've already forked OpenIntegrations
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:
53
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Create-project.mdx
vendored
Normal file
53
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Create-project.mdx
vendored
Normal 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"
|
||||
}
|
||||
```
|
||||
58
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Fill-project-settings.mdx
vendored
Normal file
58
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Fill-project-settings.mdx
vendored
Normal 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 | ✔ | Project filepath |
|
||||
| Settings | --set | Map Of KeyAndValue | ✔ | 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
|
||||
}
|
||||
```
|
||||
88
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Get-project-settings.mdx
vendored
Normal file
88
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Get-project-settings.mdx
vendored
Normal 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 | ✔ | 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
|
||||
}
|
||||
```
|
||||
32
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Run-project.mdx
vendored
Normal file
32
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Run-project.mdx
vendored
Normal 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 | ✔ | Server startup port |
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Server shutdown result
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
57
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Set-project-setting.mdx
vendored
Normal file
57
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Set-project-setting.mdx
vendored
Normal 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 | ✔ | Project filepath |
|
||||
| Setting | --key | String | ✔ | Project setting key |
|
||||
| Value | --value | String | ✔ | 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
|
||||
}
|
||||
```
|
||||
54
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Update-ui-password.mdx
vendored
Normal file
54
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Update-ui-password.mdx
vendored
Normal 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 | ✔ | Project filepath |
|
||||
| Password | --pass | String | ✔ | 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
|
||||
}
|
||||
```
|
||||
4
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/_category_.json
vendored
Normal file
4
docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/_category_.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Projects setup",
|
||||
"position": "2"
|
||||
}
|
||||
Reference in New Issue
Block a user