You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -35,6 +35,11 @@ import TabItem from '@theme/TabItem';
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
|
||||
ConnectionParams = New Structure("authSource", "admin");
|
||||
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
||||
|
||||
Result = OPI_MongoDB.CreateConnection(ConnectionString);
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,16 @@ import TabItem from '@theme/TabItem';
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
|
||||
ConnectionParams = New Structure("authSource", "admin");
|
||||
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
||||
|
||||
Command = "listDatabases";
|
||||
Data = New Structure("nameOnly", True);
|
||||
|
||||
Connection = OPI_MongoDB.CreateConnection(ConnectionString);
|
||||
|
||||
Result = OPI_MongoDB.ExecuteCommand(Connection, Command, , , Data);
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -31,6 +31,14 @@ import TabItem from '@theme/TabItem';
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
|
||||
ConnectionParams = New Structure("authSource", "admin");
|
||||
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
||||
Connection = OPI_MongoDB.CreateConnection(ConnectionString);
|
||||
|
||||
Base = "test_db";
|
||||
|
||||
Result = OPI_MongoDB.GetDatabase(Connection, Base);
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user