You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-20 09:19:27 +02:00
Начало ZeroMQ
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,58 @@
|
||||
// OneScript: ./OInt/api/ws/Modules/OPI_ZeroMQ.os
|
||||
// Lib: ZeroMQ
|
||||
// CLI: none
|
||||
// Keywords: zeromq
|
||||
|
||||
// DocsCategory: Exchange
|
||||
// DocsNameRU: ZeroMQ
|
||||
// DocsNameEN: ZeroMQ
|
||||
|
||||
// MIT License
|
||||
|
||||
// Copyright (c) 2023-2026 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:MagicNumber-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
|
||||
|
||||
// #Использовать "../../../tools/main"
|
||||
// #Использовать "../../../tools/http"
|
||||
|
||||
#Область ПрограммныйИнтерфейс
|
||||
|
||||
#Область Общие
|
||||
|
||||
#КонецОбласти
|
||||
|
||||
#КонецОбласти
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mdclass:CommonModule xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="24eea7a6-f36a-46d7-ac80-3665064f0dc6">
|
||||
<name>OPI_ZeroMQ</name>
|
||||
<synonym>
|
||||
<key>ru</key>
|
||||
<value>ZeroMQ (ОПИ)</value>
|
||||
</synonym>
|
||||
<server>true</server>
|
||||
<externalConnection>true</externalConnection>
|
||||
<clientOrdinaryApplication>true</clientOrdinaryApplication>
|
||||
</mdclass:CommonModule>
|
||||
@@ -102,6 +102,7 @@
|
||||
<commonModules>CommonModule.OPI_YandexDisk</commonModules>
|
||||
<commonModules>CommonModule.OPI_YandexID</commonModules>
|
||||
<commonModules>CommonModule.OPI_YandexMetrika</commonModules>
|
||||
<commonModules>CommonModule.OPI_ZeroMQ</commonModules>
|
||||
<commonModules>CommonModule.OPI_Инструменты</commonModules>
|
||||
<commonModules>CommonModule.OPI_ЗапросыHTTP</commonModules>
|
||||
<commonModules>CommonModule.OPI_ЗапросыSQL</commonModules>
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
Разделы.Вставить("S3" , 5);
|
||||
Разделы.Вставить("TCP" , 5);
|
||||
Разделы.Вставить("WebSocket" , 5);
|
||||
Разделы.Вставить("ZeroMQ" , 5);
|
||||
Разделы.Вставить("GreenAPI" , 5);
|
||||
Разделы.Вставить("GreenMax" , 5);
|
||||
Разделы.Вставить("Ollama" , 5);
|
||||
@@ -209,6 +210,7 @@
|
||||
GRPC = "GRPC";
|
||||
CHouse = "ClickHouse";
|
||||
RSS = "RSS";
|
||||
ZMQ = "ZeroMQ";
|
||||
|
||||
ТаблицаТестов = Новый ТаблицаЗначений;
|
||||
ТаблицаТестов.Колонки.Добавить("Метод");
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
// OneScript: ./OInt/tests/Modules/OPIt_ZeroMQ.os
|
||||
|
||||
// MIT License
|
||||
|
||||
// Copyright (c) 2023-2026 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:UsingServiceTag-off
|
||||
// BSLLS:UnusedParameters-off
|
||||
// BSLLS:DuplicateStringLiteral-off
|
||||
// BSLLS:UsingHardcodePath-off
|
||||
// BSLLS:UnusedLocalVariable-off
|
||||
// BSLLS:DeprecatedMessage-off
|
||||
// BSLLS:LineLength-off
|
||||
// BSLLS:MagicNumber-off
|
||||
// BSLLS:CommentedCode-off
|
||||
// BSLLS:AssignAliasFieldsInQuery-off
|
||||
// BSLLS:UsingHardcodeNetworkAddress-off
|
||||
// BSLLS:UnreachableCode-off
|
||||
// BSLLS:UnusedLocalMethod-off
|
||||
// BSLLS:NestedFunctionInParameters-off
|
||||
// BSLLS:MissingTemporaryFileDeletion-off
|
||||
// BSLLS:UsingSynchronousCalls-off
|
||||
// BSLLS:MagicNumber-off
|
||||
// BSLLS:MagicDate-off
|
||||
// BSLLS:MissingParameterDescription-off
|
||||
// BSLLS:NumberOfOptionalParams-off
|
||||
// BSLLS:MethodSize-off
|
||||
// BSLLS:NestedConstructorsInStructureDeclaration-off
|
||||
// BSLLS:NumberOfValuesInStructureConstructor-off
|
||||
// BSLLS:UsingHardcodeSecretInformation-off
|
||||
// BSLLS:SpaceAtStartComment-off
|
||||
|
||||
//@skip-check undefined-variable
|
||||
//@skip-check wrong-string-literal-content
|
||||
//@skip-check module-structure-top-region
|
||||
//@skip-check module-structure-method-in-regions
|
||||
//@skip-check undefined-function-or-procedure
|
||||
//@skip-check wrong-string-literal-content
|
||||
//@skip-check module-unused-local-variable
|
||||
//@skip-check bsl-legacy-check-string-literal
|
||||
//@skip-check bsl-legacy-check-method-for-statements-after-return
|
||||
//@skip-check missing-temporary-file-deletion
|
||||
//@skip-check module-unused-method
|
||||
//@skip-check use-non-recommended-method
|
||||
|
||||
// #Использовать oint
|
||||
// #Использовать asserts
|
||||
// #Использовать "internal"
|
||||
|
||||
// Для YaxUnit
|
||||
|
||||
Процедура ИсполняемыеСценарии() Экспорт
|
||||
|
||||
OPI_ПолучениеДанныхТестов.СформироватьТестыЯкс("ZeroMQ");
|
||||
|
||||
КонецПроцедуры
|
||||
|
||||
// Для Asserts
|
||||
|
||||
Функция ПолучитьСписокТестов(ЮнитТестирование) Экспорт
|
||||
|
||||
Возврат OPI_ПолучениеДанныхТестов.СформироватьТестыАссертс("ZeroMQ");
|
||||
|
||||
КонецФункции
|
||||
|
||||
#Область СлужебныйПрограммныйИнтерфейс
|
||||
|
||||
#Область ЗапускаемыеТесты
|
||||
|
||||
#Область ZeroMQ
|
||||
|
||||
#КонецОбласти // ZeroMQ
|
||||
|
||||
#КонецОбласти // ЗапускаемыеТесты
|
||||
|
||||
#КонецОбласти // СлужебныйПрограммныйИнтерфейс
|
||||
|
||||
#Область СлужебныеПроцедурыИФункции
|
||||
|
||||
#Область АтомарныеТесты
|
||||
|
||||
#Область ZeroMQ
|
||||
|
||||
#КонецОбласти // ZeroMQ
|
||||
|
||||
#КонецОбласти // АтомарныеТесты
|
||||
|
||||
#КонецОбласти // СлужебныеПроцедурыИФункции
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mdclass:CommonModule xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="e4fdeef2-4faf-40a3-b21b-83f979404a45">
|
||||
<name>OPIt_ZeroMQ</name>
|
||||
<synonym>
|
||||
<key>ru</key>
|
||||
<value>ZeroMQ</value>
|
||||
</synonym>
|
||||
<server>true</server>
|
||||
<externalConnection>true</externalConnection>
|
||||
<clientOrdinaryApplication>true</clientOrdinaryApplication>
|
||||
</mdclass:CommonModule>
|
||||
@@ -60,11 +60,13 @@
|
||||
<commonModules>CommonModule.OPIt_YandexDisk</commonModules>
|
||||
<commonModules>CommonModule.OPIt_YandexID</commonModules>
|
||||
<commonModules>CommonModule.OPIt_YandexMetrika</commonModules>
|
||||
<commonModules>CommonModule.OPIt_ZeroMQ</commonModules>
|
||||
<commonModules>CommonModule.OPItc_Airtable</commonModules>
|
||||
<commonModules>CommonModule.OPItc_Bitrix24</commonModules>
|
||||
<commonModules>CommonModule.OPItc_BuildHash</commonModules>
|
||||
<commonModules>CommonModule.OPItc_CDEK</commonModules>
|
||||
<commonModules>CommonModule.OPItc_ClickHouse</commonModules>
|
||||
<commonModules>CommonModule.OPItc_Core</commonModules>
|
||||
<commonModules>CommonModule.OPItc_Dropbox</commonModules>
|
||||
<commonModules>CommonModule.OPItc_FTP</commonModules>
|
||||
<commonModules>CommonModule.OPItc_GoogleCalendar</commonModules>
|
||||
@@ -100,5 +102,4 @@
|
||||
<commonModules>CommonModule.OPItc_YandexDisk</commonModules>
|
||||
<commonModules>CommonModule.OPItc_YandexID</commonModules>
|
||||
<commonModules>CommonModule.OPItc_YandexMetrika</commonModules>
|
||||
<commonModules>CommonModule.OPItc_Core</commonModules>
|
||||
</mdclass:Configuration>
|
||||
|
||||
Reference in New Issue
Block a user