You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Main build (Jenkins)
This commit is contained in:
1
docs/en/data/MongoDB/CreateConnection.json
vendored
Normal file
1
docs/en/data/MongoDB/CreateConnection.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Login":"bayselonarrend","Password":"12we...","Base":"main"}
|
||||
1
docs/en/data/MongoDB/GenerateConnectionString.json
vendored
Normal file
1
docs/en/data/MongoDB/GenerateConnectionString.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Login":"bayselonarrend","Password":"12we...","Base":"main"}
|
||||
4
docs/en/examples/MongoDB/CreateConnection.txt
vendored
Normal file
4
docs/en/examples/MongoDB/CreateConnection.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Address = "127.0.0.1:1234";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
4
docs/en/examples/MongoDB/GenerateConnectionString.txt
vendored
Normal file
4
docs/en/examples/MongoDB/GenerateConnectionString.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Address = "127.0.0.1:1234";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
@@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Host | --host | String | ✔ | Host addres |
|
||||
| Host | --host | String | ✔ | Host address |
|
||||
| Port | --port | Number | ✖ | Server port |
|
||||
| Login | --login | String, Undefined | ✖ | Username for authorization, if required |
|
||||
| Password | --pass | String, Undefined | ✖ | User password for authorization, if required |
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
`Function CreateConnection(Val ConnectionString = "") Export`
|
||||
`Function CreateConnection(Val ConnectionString) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| ConnectionString | - | String | ✖ | Connection string |
|
||||
| ConnectionString | - | String | ✔ | Connection string |
|
||||
|
||||
|
||||
Returns: Arbitrary - Connector object or structure with error information
|
||||
@@ -30,7 +30,12 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "127.0.0.1:1234";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
42
docs/en/md/MongoDB/Common-methods/Generate-connection-string.mdx
vendored
Normal file
42
docs/en/md/MongoDB/Common-methods/Generate-connection-string.mdx
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
description: Generate connection string and other functions to work with MongoDB 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, MongoDB]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Generate connection string
|
||||
Forms a MongoDB connection string
|
||||
|
||||
|
||||
|
||||
`Function GenerateConnectionString(Val Address, Val Base = "", Val Login = "", Val Password = "", Val Parameters = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Address | --addr | String | ✔ | Host IP address with port or URL |
|
||||
| Base | --db | String | ✖ | Database, if necessary |
|
||||
| Login | --usr | String | ✖ | Username for authorization |
|
||||
| Password | --pwd | String | ✖ | Password for authorization |
|
||||
| Parameters | --params | Structure Of KeyAndValue, Undefined | ✖ | Additional connection parameters |
|
||||
|
||||
|
||||
Returns: String - MongoDB connection string
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "127.0.0.1:1234";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1
docs/ru/data/MongoDB/ОткрытьСоединение.json
vendored
Normal file
1
docs/ru/data/MongoDB/ОткрытьСоединение.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Логин":"bayselonarrend","Пароль":"12we...","База":"main"}
|
||||
1
docs/ru/data/MongoDB/СформироватьСтрокуПодключения.json
vendored
Normal file
1
docs/ru/data/MongoDB/СформироватьСтрокуПодключения.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Логин":"bayselonarrend","Пароль":"12we...","База":"main"}
|
||||
4
docs/ru/examples/MongoDB/ОткрытьСоединение.txt
vendored
Normal file
4
docs/ru/examples/MongoDB/ОткрытьСоединение.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Адрес = "127.0.0.1:1234";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "main";
|
||||
4
docs/ru/examples/MongoDB/СформироватьСтрокуПодключения.txt
vendored
Normal file
4
docs/ru/examples/MongoDB/СформироватьСтрокуПодключения.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Адрес = "127.0.0.1:1234";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "main";
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
`Функция ОткрытьСоединение(Знач СтрокаПодключения = "") Экспорт`
|
||||
`Функция ОткрытьСоединение(Знач СтрокаПодключения) Экспорт`
|
||||
|
||||
| Параметр | CLI опция | Тип | Обяз. | Назначение |
|
||||
|-|-|-|-|-|
|
||||
| СтрокаПодключения | - | Строка | ✖ | Строка подключения |
|
||||
| СтрокаПодключения | - | Строка | ✔ | Строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Произвольный - Объект коннектора или структура с информацией об ошибке
|
||||
@@ -30,7 +30,12 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "127.0.0.1:1234";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "main";
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
42
docs/ru/md/MongoDB/Common-methods/Generate-connection-string.mdx
vendored
Normal file
42
docs/ru/md/MongoDB/Common-methods/Generate-connection-string.mdx
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
description: Сформировать строку подключения и другие функции для работы с MongoDB в Открытом пакете интеграций - бесплатной open-source библиотеке интеграций для 1С:Предприятие 8, OneScript и CLI
|
||||
keywords: [1C, 1С, 1С:Предприятие, 1С:Предприятие 8.3, API, Интеграция, Сервисы, Обмен, OneScript, CLI, MongoDB]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Сформировать строку подключения
|
||||
Формирует строку для подключения к серверу MongoDB
|
||||
|
||||
|
||||
|
||||
`Функция СформироватьСтрокуПодключения(Знач Адрес, Знач База = "", Знач Логин = "", Знач Пароль = "", Знач Параметры = Неопределено) Экспорт`
|
||||
|
||||
| Параметр | CLI опция | Тип | Обяз. | Назначение |
|
||||
|-|-|-|-|-|
|
||||
| Адрес | --addr | Строка | ✔ | IP адрес с портом или доменное имя для подключения |
|
||||
| База | --db | Строка | ✖ | База для подключения, если необходимо |
|
||||
| Логин | --usr | Строка | ✖ | Имя пользователя авторизации |
|
||||
| Пароль | --pwd | Строка | ✖ | Пароль пользователя для авторизации |
|
||||
| Параметры | --params | Структура Из КлючИЗначение, Неопределено | ✖ | Дополнительные параметры подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Строка - Строка подключения MongoDB
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "127.0.0.1:1234";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "main";
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user