1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-21 21:27:27 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-12-12 22:37:54 +03:00
parent 401517061d
commit cba967e2a0
45 changed files with 5839 additions and 6050 deletions

View File

@ -1,5 +1,5 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Image_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary Data or Path to file
Image = New Map;

View File

@ -1,4 +1,4 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Block = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Block = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Result = OPI_Notion.DeleteBlock(Token, Block);

View File

@ -1,5 +1,5 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Title = "TestTitle";
Description = "TestDescription";

View File

@ -1,5 +1,5 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Page = "15982aa7-fc4e-8127-b912-f6096392796b";
Icon = "https://api.athenaeum.digital/test_data/picture.jpg";
Cover = "https://api.athenaeum.digital/test_data/picture2.jpg";
Archive = False;

View File

@ -1,4 +1,4 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Result = OPI_Notion.GetDatabase(Token, Base);

View File

@ -1,4 +1,4 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Page = "15982aa7-fc4e-8127-b912-f6096392796b";
Result = OPI_Notion.GetPage(Token, Page);

View File

@ -1,4 +1,4 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Block = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Block = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Result = OPI_Notion.ReturnChildBlocks(Token, Block);

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Block = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Block = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Result = OPI_Notion.DeleteBlock(Token, Block);
```

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Block = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Block = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Result = OPI_Notion.ReturnChildBlocks(Token, Block);
```

View File

@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Title = "TestTitle";
Description = "TestDescription";

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Result = OPI_Notion.GetDatabase(Token, Base);
```

View File

@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
Base = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Image_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary Data or Path to file
Image = New Map;

View File

@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Page = "15982aa7-fc4e-8127-b912-f6096392796b";
Icon = "https://api.athenaeum.digital/test_data/picture.jpg";
Cover = "https://api.athenaeum.digital/test_data/picture2.jpg";
Archive = False;

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Page = "15982aa7-fc4e-8127-b912-f6096392796b";
Result = OPI_Notion.GetPage(Token, Page);
```

View File

@ -1,4 +1,4 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Блок = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Блок = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Результат = OPI_Notion.ВернутьДочерниеБлоки(Токен, Блок);

View File

@ -1,5 +1,5 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Заголовок = "Тестовый заголовок";
Описание = "Тестовое описание";

View File

@ -1,5 +1,5 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Страница = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Страница = "15982aa7-fc4e-8127-b912-f6096392796b";
Иконка = "https://api.athenaeum.digital/test_data/picture.jpg";
Обложка = "https://api.athenaeum.digital/test_data/picture2.jpg";
Архивировать = Ложь;

View File

@ -1,4 +1,4 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Результат = OPI_Notion.ПолучитьБазуДанных(Токен, База);

View File

@ -1,4 +1,4 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Страница = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Страница = "15982aa7-fc4e-8127-b912-f6096392796b";
Результат = OPI_Notion.ПолучитьСтраницу(Токен, Страница);

View File

@ -1,5 +1,5 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Картинка_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Двоичные данные или Путь к файлу
Картинка = Новый Соответствие;

View File

@ -1,4 +1,4 @@
 Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Блок = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Блок = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Результат = OPI_Notion.УдалитьБлок(Токен, Блок);

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Блок = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Блок = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Результат = OPI_Notion.УдалитьБлок(Токен, Блок);
```

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Блок = "15782aa7-fc4e-8150-959d-f60f43eaa2d5";
Блок = "15982aa7-fc4e-81d2-b0e2-debc8c088ff5";
Результат = OPI_Notion.ВернутьДочерниеБлоки(Токен, Блок);
```

View File

@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Заголовок = "Тестовый заголовок";
Описание = "Тестовое описание";

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Результат = OPI_Notion.ПолучитьБазуДанных(Токен, База);
```

View File

@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
База = "15782aa7-fc4e-81a6-a494-ef2c0fce96ab";
База = "15982aa7-fc4e-81f6-a0b8-fe9d90ac5dd0";
Картинка_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Двоичные данные или Путь к файлу
Картинка = Новый Соответствие;

View File

@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Страница = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Страница = "15982aa7-fc4e-8127-b912-f6096392796b";
Иконка = "https://api.athenaeum.digital/test_data/picture.jpg";
Обложка = "https://api.athenaeum.digital/test_data/picture2.jpg";
Архивировать = Ложь;

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "secret_9RsfMrRMqZwqp0Zl0B...";
Страница = "15782aa7-fc4e-81f3-b070-cc8fd5782b77";
Страница = "15982aa7-fc4e-8127-b912-f6096392796b";
Результат = OPI_Notion.ПолучитьСтраницу(Токен, Страница);
```

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,6 @@
<module name="OPI_GoogleDrive" file="core/Modules/OPI_GoogleDrive.os"/>
<module name="OPI_GoogleSheets" file="core/Modules/OPI_GoogleSheets.os"/>
<module name="OPI_GoogleWorkspace" file="core/Modules/OPI_GoogleWorkspace.os"/>
<module name="OPI_MongoDB" file="core/Modules/OPI_MongoDB.os"/>
<module name="OPI_Neocities" file="core/Modules/OPI_Neocities.os"/>
<module name="OPI_Notion" file="core/Modules/OPI_Notion.os"/>
<module name="OPI_Ozon" file="core/Modules/OPI_Ozon.os"/>

View File

@ -2172,19 +2172,6 @@ EndProcedure
#EndRegion
#Region MongoDB
Procedure Mongo_DatabaseManagement() Export
TestParameters = New Structure;
OPI_TestDataRetrieval.ParameterToCollection("MDB_CString", TestParameters);
MongoDB_GetListOfBases(TestParameters);
EndProcedure
#EndRegion
#EndRegion
#EndRegion
@ -15663,22 +15650,6 @@ EndProcedure
#EndRegion
#Region MongoDB
Procedure MongoDB_GetListOfBases(FunctionParameters)
ConnectionString = FunctionParameters["MDB_CString"];
Result = OPI_MongoDB.GetListOfBases(ConnectionString);
// END
OPI_TestDataRetrieval.WriteLog(Result, "GetListOfBases", "MongoDB");
EndProcedure
#EndRegion
#EndRegion
#EndRegion

View File

@ -69,7 +69,6 @@ Function GetTestingSectionMapping() Export
Sections.Insert("CDEK" , 5);
Sections.Insert("YandexMetrika" , 5);
Sections.Insert("S3" , 5);
Sections.Insert("MongoDB" , 5);
Return Sections;
@ -101,7 +100,6 @@ Function GetTestingSectionMappingGA() Export
Sections.Insert("CDEK" , StandardDependencies);
Sections.Insert("YandexMetrika" , StandardDependencies);
Sections.Insert("S3" , StandardDependencies);
Sections.Insert("MongoDB" , StandardDependencies);
Return Sections;
@ -129,7 +127,6 @@ Function GetTestTable() Export
Cdek = "CDEK";
Metrika = "YandexMetrika";
S3_ = "S3";
Mongo = "MongoDB";
TestTable = New ValueTable;
TestTable.Columns.Add("Method");
@ -261,7 +258,6 @@ Function GetTestTable() Export
NewTest(TestTable, "AWS_CommonMethods" , "Common methods" , S3_);
NewTest(TestTable, "AWS_BucketsManagement" , "Buckets management" , S3_);
NewTest(TestTable, "AWS_ObjectsManagement" , "Objects management" , S3_);
NewTest(TestTable, "Mongo_DatabaseManagement" , "Database management" , Mongo);
Return TestTable;

View File

@ -1,88 +0,0 @@
// OneScript: ./OInt/core/Modules/OPI_MongoDB.os
// Lib: MongoDB
// CLI: mongodb
// MIT License
// Copyright (c) 2023 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
//@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
// Uncomment if OneScript is executed
// #Use "../../tools"
#Region Public
#Region DatabaseManagement
// Get list of bases
// Gets a list of bases
//
// Note
// Method in MongoDB documentation: [listDatabases](@mongodb.com/docs/manual/reference/command/listDatabases/)
//
// Parameters:
// ConnectionString - String - Connection string to MongoDB server - connect
//
// Returns:
// Structure of KeyAndValue - serialized JSON response from MongoDB server
Function GetListOfBases(Val ConnectionString) Export
Client = MongoDBClient(ConnectionString);
Response = Client.ListDatabases();
Response = OPI_Tools.JsonToStructure(Response, False);
Return Response;
EndFunction
#EndRegion
#EndRegion
#Region Private
Function MongoDBClient(Val ConnectionString)
OPI_TypeConversion.GetLine(ConnectionString);
Client = OPI_Tools.GetAddIn("MongoDB");
Client.ConnectionString = ConnectionString;
Return Client;
EndFunction
#EndRegion

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<mdclass:CommonModule xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="cb8b083f-acaa-4881-ac1f-669b0eebd1ab">
<name>OPI_MongoDB</name>
<synonym>
<key></key>
<value>OPI mongo DB</value>
</synonym>
<server>true</server>
<externalConnection>true</externalConnection>
<clientOrdinaryApplication>true</clientOrdinaryApplication>
</mdclass:CommonModule>

View File

@ -69,7 +69,6 @@ Function GetTestingSectionMapping() Export
Sections.Insert("CDEK" , 5);
Sections.Insert("YandexMetrika" , 5);
Sections.Insert("S3" , 5);
Sections.Insert("MongoDB" , 5);
Return Sections;
@ -101,7 +100,6 @@ Function GetTestingSectionMappingGA() Export
Sections.Insert("CDEK" , StandardDependencies);
Sections.Insert("YandexMetrika" , StandardDependencies);
Sections.Insert("S3" , StandardDependencies);
Sections.Insert("MongoDB" , StandardDependencies);
Return Sections;
@ -129,7 +127,6 @@ Function GetTestTable() Export
Cdek = "CDEK";
Metrika = "YandexMetrika";
S3_ = "S3";
Mongo = "MongoDB";
TestTable = New ValueTable;
TestTable.Columns.Add("Method");
@ -261,7 +258,6 @@ Function GetTestTable() Export
NewTest(TestTable, "AWS_CommonMethods" , "Common methods" , S3_);
NewTest(TestTable, "AWS_BucketsManagement" , "Buckets management" , S3_);
NewTest(TestTable, "AWS_ObjectsManagement" , "Objects management" , S3_);
NewTest(TestTable, "Mongo_DatabaseManagement" , "Database management" , Mongo);
Return TestTable;

View File

@ -2172,19 +2172,6 @@ EndProcedure
#EndRegion
#Region MongoDB
Procedure Mongo_DatabaseManagement() Export
TestParameters = New Structure;
OPI_TestDataRetrieval.ParameterToCollection("MDB_CString", TestParameters);
MongoDB_GetListOfBases(TestParameters);
EndProcedure
#EndRegion
#EndRegion
#EndRegion
@ -15663,22 +15650,6 @@ EndProcedure
#EndRegion
#Region MongoDB
Procedure MongoDB_GetListOfBases(FunctionParameters)
ConnectionString = FunctionParameters["MDB_CString"];
Result = OPI_MongoDB.GetListOfBases(ConnectionString);
// END
OPI_TestDataRetrieval.WriteLog(Result, "GetListOfBases", "MongoDB");
EndProcedure
#EndRegion
#EndRegion
#EndRegion

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<mdclass:CommonTemplate xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="42f54cff-0a7f-4441-9d1b-72b9f85fac65">
<name>OPI_MongoDB_L</name>
<synonym>
<key></key>
<value>OPI mongo d b L</value>
</synonym>
<templateType>AddIn</templateType>
</mdclass:CommonTemplate>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<mdclass:CommonTemplate xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="70143739-b2c8-46d9-a320-c523b7cba689">
<name>OPI_MongoDB_W</name>
<mdclass:CommonTemplate xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="4c9ebab6-8e20-4690-b509-2e32b293ad75">
<name>OPI_TCPClient</name>
<synonym>
<key></key>
<value>OPI mongo d b W</value>
<key>en</key>
<value>TCPClient</value>
</synonym>
<templateType>AddIn</templateType>
</mdclass:CommonTemplate>

View File

@ -39,8 +39,7 @@
<value>https://github.com/Bayselonarrend/OpenIntegrations</value>
</configurationInformationAddress>
<subsystems>Subsystem.OPI_Integrations</subsystems>
<commonTemplates>CommonTemplate.OPI_MongoDB_W</commonTemplates>
<commonTemplates>CommonTemplate.OPI_MongoDB_L</commonTemplates>
<commonTemplates>CommonTemplate.OPI_TCPClient</commonTemplates>
<commonModules>CommonModule.OPI_Tools</commonModules>
<commonModules>CommonModule.OPI_Cryptography</commonModules>
<commonModules>CommonModule.OPI_TypeConversion</commonModules>
@ -54,7 +53,6 @@
<commonModules>CommonModule.OPI_GoogleWorkspace</commonModules>
<commonModules>CommonModule.OPI_Neocities</commonModules>
<commonModules>CommonModule.OPI_Ozon</commonModules>
<commonModules>CommonModule.OPI_MongoDB</commonModules>
<commonModules>CommonModule.OPI_Notion</commonModules>
<commonModules>CommonModule.OPI_Slack</commonModules>
<commonModules>CommonModule.OPI_S3</commonModules>

View File

@ -7,7 +7,6 @@
<module name="OPI_GoogleDrive" file="core/Modules/OPI_GoogleDrive.os"/>
<module name="OPI_GoogleSheets" file="core/Modules/OPI_GoogleSheets.os"/>
<module name="OPI_GoogleWorkspace" file="core/Modules/OPI_GoogleWorkspace.os"/>
<module name="OPI_MongoDB" file="core/Modules/OPI_MongoDB.os"/>
<module name="OPI_Neocities" file="core/Modules/OPI_Neocities.os"/>
<module name="OPI_Notion" file="core/Modules/OPI_Notion.os"/>
<module name="OPI_Ozon" file="core/Modules/OPI_Ozon.os"/>

View File

@ -2172,19 +2172,6 @@
#КонецОбласти
#Область MongoDB
Процедура Mongo_УправлениеБазамиДанных() Экспорт
ПараметрыТеста = Новый Структура;
OPI_ПолучениеДанныхТестов.ПараметрВКоллекцию("MDB_CString", ПараметрыТеста);
MongoDB_ПолучитьСписокБаз(ПараметрыТеста);
КонецПроцедуры
#КонецОбласти
#КонецОбласти
#КонецОбласти
@ -15663,22 +15650,6 @@
#КонецОбласти
#Область MongoDB
Процедура MongoDB_ПолучитьСписокБаз(ПараметрыФункции)
СтрокаПодключения = ПараметрыФункции["MDB_CString"];
Результат = OPI_MongoDB.ПолучитьСписокБаз(СтрокаПодключения);
// END
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ПолучитьСписокБаз", "MongoDB");
КонецПроцедуры
#КонецОбласти
#КонецОбласти
#КонецОбласти

View File

@ -69,7 +69,6 @@
Разделы.Вставить("CDEK" , 5);
Разделы.Вставить("YandexMetrika" , 5);
Разделы.Вставить("S3" , 5);
Разделы.Вставить("MongoDB" , 5);
Возврат Разделы;
@ -101,7 +100,6 @@
Разделы.Вставить("CDEK" , СтандартныеЗависимости);
Разделы.Вставить("YandexMetrika" , СтандартныеЗависимости);
Разделы.Вставить("S3" , СтандартныеЗависимости);
Разделы.Вставить("MongoDB" , СтандартныеЗависимости);
Возврат Разделы;
@ -129,7 +127,6 @@
Сдэк = "CDEK";
Метрика = "YandexMetrika";
S3_ = "S3";
Монго = "MongoDB";
ТаблицаТестов = Новый ТаблицаЗначений;
ТаблицаТестов.Колонки.Добавить("Метод");
@ -261,7 +258,6 @@
НовыйТест(ТаблицаТестов, "AWS_ОбщиеМетоды" , "Общие методы" , S3_);
НовыйТест(ТаблицаТестов, "AWS_РаботаСБакетами" , "Работа с бакетами" , S3_);
НовыйТест(ТаблицаТестов, "AWS_РаботаСОбъектами" , "Работа с объектами" , S3_);
НовыйТест(ТаблицаТестов, "Mongo_УправлениеБазамиДанных" , "Управление базами данных" , Монго);
Возврат ТаблицаТестов;