1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-18 05:04:13 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-12-13 12:51:22 +03:00
parent 30544fd478
commit b8dad40224
27 changed files with 10007 additions and 9905 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ ___
<summary>Синопсис</summary>
<br>
Этот проект предоставляет библиотеку для интеграции 1С:Предприятие, OneScript и CLI с внешними сервисами через REST API и другие протоколы. Благодаря представленным в ней методам вы можете работать в экосистеме 1С:Предприятие с такими сервисами и технологиями как: Airtable, Bitrix24, CDEK, Dropbox, FTP, Google Calendar, Google Drive, Google Sheets, GreenAPI, GreenMax, MongoDB, MSSQL, MySQL, Neocities, Notion, Ollama, OpenAI, PostgreSQL, RCON, ReportPortal, S3, SFTP, Slack, SQLite, SSH, TCP, Telegram, Twitter, Viber, VK, VKTeams, Yandex Disk, HTTP-client, gRPC, HTTP-клиент
Этот проект предоставляет библиотеку для интеграции 1С:Предприятие, OneScript и CLI с внешними сервисами через REST API и другие протоколы. Благодаря представленным в ней методам вы можете работать в экосистеме 1С:Предприятие с такими сервисами и технологиями как: Airtable, Bitrix24, CDEK, Dropbox, FTP, Google Calendar, Google Drive, Google Sheets, GreenAPI, GreenMax, gRPC, MongoDB, MSSQL, MySQL, Neocities, Notion, Ollama, OpenAI, PostgreSQL, RCON, ReportPortal, S3, SFTP, Slack, SQLite, SSH, TCP, Telegram, Twitter, Viber, VK, VKTeams, Yandex Disk, HTTP-client, HTTP-клиент
Существуют варианты поставки в виде расширения (.cfe, XML, EDT), OPM-пакета и других пакетов для разных операционных систем. Версия 1С: 8.3.10. Подходит для любых конфигураций, не использует БСП
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686
+5 -5
View File
@@ -389,6 +389,7 @@ li > a.menu__link {
.GoogleSheets a::before,
.GreenAPI a::before,
.GreenMax a::before,
.gRPC a::before,
.MongoDB a::before,
.MSSQL a::before,
.MySQL a::before,
@@ -412,7 +413,6 @@ li > a.menu__link {
.VKTeams a::before,
.YandexDisk a::before,
.HTTP a::before,
.gRPC a::before,
.HTTP a::before{
padding-right: 0.7rem;
padding-top: 0.4rem;
@@ -458,6 +458,10 @@ li > a.menu__link {
content: url(../../static/img/APIs/small/GreenMax.png);
}
.gRPC > div > a::before{
content: url(../../static/img/APIs/small/gRPC.png);
}
.MongoDB > div > a::before{
content: url(../../static/img/APIs/small/MongoDB.png);
}
@@ -550,10 +554,6 @@ li > a.menu__link {
content: url(../../static/img/APIs/small/HTTP.png);
}
.gRPC > div > a::before{
content: url(../../static/img/APIs/small/gRPC.png);
}
.HTTP > div > a::before{
content: url(../../static/img/APIs/small/HTTP.png);
}
+1 -1
View File
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
Returns: Map Of KeyAndValue - Operation result
:::tip
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
@@ -25,7 +25,7 @@ import TabItem from '@theme/TabItem';
:::tip
Resource can be defined in one of the following formats:<br/>Structure for collection: `{ db: "database", collection: "collection name" }`
Structure for toлawithтерa: `{ cluster : true }`
Structure for cluster: `{ cluster : true }`
:::
<br/>
+1 -1
View File
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
Returns: Map Of KeyAndValue - Operation result
:::tip
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
+1 -1
View File
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
Returns: Map Of KeyAndValue - Operation result
:::tip
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
+1 -1
View File
@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
:::tip
The passed roles and privileges completely replace the current role data
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
+1 -1
View File
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
Returns: Map Of KeyAndValue - Operation result
:::tip
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
+1 -1
View File
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
Returns: Map Of KeyAndValue - Operation result
:::tip
The user can be specified in one of the following formats:<br/>String: `name of user`<br/>Structure: `{ user: &lt;name&gt;, db: &lt;database&gt; }`<br/>Array: `[ { user: &lt;name&gt;, db: &lt;бafor data&gt; }, { user: &lt;name&gt;, db: &lt;бafor data&gt; }, ... ]`
The user can be specified in one of the following formats:<br/>String: `name of user`<br/>Structure: `{ user: &lt;name&gt;, db: &lt;database&gt; }`<br/>Array: `[ { user: &lt;name&gt;, db: &lt;database&gt; }, { user: &lt;name&gt;, db: &lt;database&gt; }, ... ]`
:::
<br/>
+1 -1
View File
@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
:::tip
The passed roles completely replace the user's role list
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `name рoлand`
Role can be defined in one of the following formats:<br/>Structure: `{ role: "name", db: "database" }`<br/>String: `role name`
:::
<br/>
+9864 -9864
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686
+58
View File
@@ -0,0 +1,58 @@
// OneScript: ./OInt/core/Modules/OPI_GRPC.os
// Lib: gRPC
// CLI: grpc
// Keywords: grpc
// MIT License
// Copyright (c) 2023-2025 Anton Tsitavets
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// https://github.com/Bayselonarrend/OpenIntegrations
// BSLLS:Typo-off
// BSLLS:LatinAndCyrillicSymbolInWord-off
// BSLLS:IncorrectLineBreak-off
// BSLLS:NumberOfOptionalParams-off
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:DuplicateStringLiteral-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions
//@skip-check wrong-string-literal-content
//@skip-check method-too-many-params
//@skip-check constructor-function-return-section
//@skip-check doc-comment-collection-item-type
#Region Public
#Region CommonMethods
#EndRegion
#EndRegion
#Region Alternate
#EndRegion
+8 -8
View File
@@ -754,7 +754,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -784,7 +784,7 @@ EndFunction
// The passed roles completely replace the user's role list
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -814,7 +814,7 @@ EndFunction
// The user can be specified in one of the following formats:^
// String: `name of user`^
// Structure: `{ user: <name>, db: <database> }`^
// Array: `[ { user: <name>, db: <бafor data> }, { user: <name>, db: <бafor data> }, ... ]`
// Array: `[ { user: <name>, db: <database> }, { user: <name>, db: <database> }, ... ]`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -910,7 +910,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -940,7 +940,7 @@ EndFunction
// The passed roles and privileges completely replace the current role data
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1033,7 +1033,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1060,7 +1060,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1087,7 +1087,7 @@ EndFunction
// Note:
// Resource can be defined in one of the following formats:^
// Structure for collection: `{ db: "database", collection: "collection name" }`
// Structure for toлawithтерa: `{ cluster : true }`
// Structure for cluster: `{ cluster : true }`
//
// Parameters:
// Resource - Structure Of KeyAndValue - Privilege resource - res
@@ -32,7 +32,7 @@
Function GetHashSum() Export
LastBuildHash = "7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334";
LastBuildHash = "646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686";
Return LastBuildHash;
+1 -1
View File
@@ -32,7 +32,7 @@
Function GetHashSum() Export
LastBuildHash = "7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334";
LastBuildHash = "646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686";
Return LastBuildHash;
+8 -8
View File
@@ -754,7 +754,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -784,7 +784,7 @@ EndFunction
// The passed roles completely replace the user's role list
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -814,7 +814,7 @@ EndFunction
// The user can be specified in one of the following formats:^
// String: `name of user`^
// Structure: `{ user: <name>, db: <database> }`^
// Array: `[ { user: <name>, db: <бafor data> }, { user: <name>, db: <бafor data> }, ... ]`
// Array: `[ { user: <name>, db: <database> }, { user: <name>, db: <database> }, ... ]`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -910,7 +910,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -940,7 +940,7 @@ EndFunction
// The passed roles and privileges completely replace the current role data
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1033,7 +1033,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1060,7 +1060,7 @@ EndFunction
// Note:
// Role can be defined in one of the following formats:^
// Structure: `{ role: "name", db: "database" }`^
// String: `name рoлand`
// String: `role name`
//
// Parameters:
// Connection - String, Arbitrary - Connection or connection string - dbc
@@ -1087,7 +1087,7 @@ EndFunction
// Note:
// Resource can be defined in one of the following formats:^
// Structure for collection: `{ db: "database", collection: "collection name" }`
// Structure for toлawithтерa: `{ cluster : true }`
// Structure for cluster: `{ cluster : true }`
//
// Parameters:
// Resource - Structure Of KeyAndValue - Privilege resource - res
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686
+1
View File
@@ -35,6 +35,7 @@ Procedure InitializeCommonLists() Export
ModuleCommandMapping.Insert("google", "OPI_GoogleWorkspace");
ModuleCommandMapping.Insert("greenapi", "OPI_GreenAPI");
ModuleCommandMapping.Insert("greenmax", "OPI_GreenMax");
ModuleCommandMapping.Insert("grpc", "OPI_GRPC");
ModuleCommandMapping.Insert("mongodb", "OPI_MongoDB");
ModuleCommandMapping.Insert("mssql", "OPI_MSSQL");
ModuleCommandMapping.Insert("mysql", "OPI_MySQL");
+37
View File
@@ -0,0 +1,37 @@
Var CompositionTable;
Function GetComposition() Export
If CompositionTable <> Undefined Then
Return CompositionTable;
EndIf;
CompositionTable = New ValueTable();
CompositionTable.Columns.Add("Library");
CompositionTable.Columns.Add("Module");
CompositionTable.Columns.Add("Method");
CompositionTable.Columns.Add("SearchMethod");
CompositionTable.Columns.Add("Parameter");
CompositionTable.Columns.Add("ParameterTrim");
CompositionTable.Columns.Add("Description");
CompositionTable.Columns.Add("MethodDescription");
CompositionTable.Columns.Add("Region");
Return CompositionTable;
EndFunction
Function GetConnectionString() Export
Return "
|Context = New Structure;
|
|
|OPI_GRPC = LoadScript(""%1/oint/core/Modules/OPI_GRPC.os"", Context);
|" + Chars.LF;
EndFunction
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686
+7 -1
View File
@@ -1,4 +1,4 @@
// OneScript: ./OInt/core/Modules/OPI_GRPC.os
// OneScript: ./OInt/core/Modules/OPI_GRPC.os
// Lib: gRPC
// CLI: grpc
// Keywords: grpc
@@ -50,3 +50,9 @@
#КонецОбласти
#КонецОбласти
#Region Alternate
#EndRegion
@@ -32,7 +32,7 @@
Function GetHashSum() Export
LastBuildHash = "7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334";
LastBuildHash = "646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686";
Return LastBuildHash;
@@ -32,7 +32,7 @@
Function GetHashSum() Export
LastBuildHash = "7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334";
LastBuildHash = "646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686";
Return LastBuildHash;
+1 -1
View File
@@ -1 +1 @@
7D847BCBB915F7303E7CCB526A8299E52EBB64B658769C49319C49D791B67334
646E006D48A01C784D49CC04F4B671A722F7E00A531AEA50DA291ABEBEA27686