From 8a0818bbdff2534b1e2e5d0000ff554e0c6791bc Mon Sep 17 00:00:00 2001 From: Anton Titovets Date: Fri, 12 Dec 2025 17:05:54 +0300 Subject: [PATCH] =?UTF-8?q?gRPC:=20=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D0=BE=20?= =?UTF-8?q?1=D0=A1=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OPI/src/CommonModules/OPI_GRPC/Module.bsl | 52 +++++++++++++++++++ .../src/CommonModules/OPI_GRPC/OPI_GRPC.mdo | 12 +++++ .../src/CommonTemplates/OPI_GRPC/OPI_GRPC.mdo | 9 ++++ .../OPI/src/Configuration/Configuration.mdo | 2 + 4 files changed, 75 insertions(+) create mode 100644 src/ru/OPI/src/CommonModules/OPI_GRPC/Module.bsl create mode 100644 src/ru/OPI/src/CommonModules/OPI_GRPC/OPI_GRPC.mdo create mode 100644 src/ru/OPI/src/CommonTemplates/OPI_GRPC/OPI_GRPC.mdo diff --git a/src/ru/OPI/src/CommonModules/OPI_GRPC/Module.bsl b/src/ru/OPI/src/CommonModules/OPI_GRPC/Module.bsl new file mode 100644 index 0000000000..5bed35f2f7 --- /dev/null +++ b/src/ru/OPI/src/CommonModules/OPI_GRPC/Module.bsl @@ -0,0 +1,52 @@ +// 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 + +#Область ПрограммныйИнтерфейс + +#Область ОсновныеМетоды + +#КонецОбласти + +#КонецОбласти \ No newline at end of file diff --git a/src/ru/OPI/src/CommonModules/OPI_GRPC/OPI_GRPC.mdo b/src/ru/OPI/src/CommonModules/OPI_GRPC/OPI_GRPC.mdo new file mode 100644 index 0000000000..e0dde0229f --- /dev/null +++ b/src/ru/OPI/src/CommonModules/OPI_GRPC/OPI_GRPC.mdo @@ -0,0 +1,12 @@ + + + OPI_GRPC + + ru + gRPC (ОПИ) + + Модуль для работы с gRPC из набора ОПИ + true + true + true + diff --git a/src/ru/OPI/src/CommonTemplates/OPI_GRPC/OPI_GRPC.mdo b/src/ru/OPI/src/CommonTemplates/OPI_GRPC/OPI_GRPC.mdo new file mode 100644 index 0000000000..858cb82d9c --- /dev/null +++ b/src/ru/OPI/src/CommonTemplates/OPI_GRPC/OPI_GRPC.mdo @@ -0,0 +1,9 @@ + + + OPI_GRPC + + ru + Компонента gRPC (ОПИ) + + BinaryData + diff --git a/src/ru/OPI/src/Configuration/Configuration.mdo b/src/ru/OPI/src/Configuration/Configuration.mdo index 380ac4f4d6..f205843894 100644 --- a/src/ru/OPI/src/Configuration/Configuration.mdo +++ b/src/ru/OPI/src/Configuration/Configuration.mdo @@ -46,6 +46,7 @@ Subsystem.OPI_Интеграция CommonTemplate.OPI_Cryptography CommonTemplate.OPI_FTP + CommonTemplate.OPI_GRPC CommonTemplate.OPI_MongoDB CommonTemplate.OPI_MSSQL CommonTemplate.OPI_MySQL @@ -65,6 +66,7 @@ CommonModule.OPI_GoogleWorkspace CommonModule.OPI_GreenAPI CommonModule.OPI_GreenMax + CommonModule.OPI_GRPC CommonModule.OPI_MongoDB CommonModule.OPI_MSSQL CommonModule.OPI_MySQL