You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-16 04:03:20 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1 +1 @@
|
||||
E1DBBCD955FCE94A3C2EB94CBE2AF9F50096B5DC54CA6F1A01B52923FA7E0DDC
|
||||
B35EFA8958CF925F8BCFB64BEEA71B0D9EBB1A55BA536B16ADB1DA87267E2356
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"Address":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"Address":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"Address":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"Address":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
Connection = OPI_GRPC.CreateConnection(Parameters, Tls);
|
||||
Result = OPI_GRPC.CloseConnection(Connection);
|
||||
@@ -0,0 +1,11 @@
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Result = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
+1
@@ -0,0 +1 @@
|
||||
Result = OPI_GRPC.GetTlsSettings(True);
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
Connection = OPI_GRPC.CreateConnection(Parameters, Tls);
|
||||
Result = OPI_GRPC.IsConnector(Connection);
|
||||
@@ -0,0 +1,36 @@
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
StingsArray = New Array;
|
||||
StingsArray.Add("one");
|
||||
StingsArray.Add("two");
|
||||
StingsArray.Add("three");
|
||||
|
||||
Data = New Map;
|
||||
Data.Insert("f_string" , "Test message");
|
||||
Data.Insert("f_bool" , True);
|
||||
Data.Insert("f_strings", StingsArray);
|
||||
Data.Insert("f_sub" , New Structure("f_string", "Nested value"));
|
||||
|
||||
Service = "grpcbin.GRPCBin";
|
||||
Method = "DummyBidirectionalStreamStream";
|
||||
|
||||
ExchangeOrder = New Array;
|
||||
|
||||
For N = 1 To 10 Do
|
||||
|
||||
ExchangeOrder.Add(Data); // Single send
|
||||
ExchangeOrder.Add(Undefined); // Single get
|
||||
|
||||
EndDo;
|
||||
|
||||
Result = OPI_GRPC.ProcessBidirectionalStream(Parameters, Service, Method, ExchangeOrder, , Tls);
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
Result = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by" + "/opi-newbucket2";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev" + "/opi-newbucket2";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -28,7 +28,23 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
Connection = OPI_GRPC.CreateConnection(Parameters, Tls);
|
||||
Result = OPI_GRPC.CloseConnection(Connection);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,12 +26,24 @@ import TabItem from '@theme/TabItem';
|
||||
:::tip
|
||||
Proto file name is used to allow further specification of this Proto in the import of another Proto It does not have to be a real file path. Proto files that are not involved in the import of other Protos can have arbitrary file names
|
||||
|
||||
If the Proto value is not an object (a key value collection), it will be interpreted as `{"main.proto": <passed value>}`
|
||||
If the Proto value is not an object (a key value collection), it will be interpreted as `{"main.proto": passed value}`
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Result = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ Tls settings can only be set when a connection is created: explicitly, by using
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Result = OPI_GRPC.GetTlsSettings(True);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
+16
@@ -28,7 +28,23 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Meta = New Structure("somekey", "somevalue");
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme, Meta);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
Connection = OPI_GRPC.CreateConnection(Parameters, Tls);
|
||||
Result = OPI_GRPC.IsConnector(Connection);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
sidebar_position: 10
|
||||
description: Process bidirectional stream and other functions to work with GRPC in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, GRPC]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Process bidirectional stream
|
||||
Initializes a bidirectional stream, then passes and sends messages in the specified order
|
||||
|
||||
|
||||
|
||||
`Function ProcessBidirectionalStream(Val Connection, Val Service, Val Method, Val ExchangeOrder, Val Timeout = 10000, Val Tls = Undefined, Val ContinueReceiving = True) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Connection | --conn | Arbitrary | ✔ | Existing connection or connection parameters |
|
||||
| Service | --service | String | ✔ | Service name |
|
||||
| Method | --method | String | ✔ | Method name |
|
||||
| ExchangeOrder | --exch | Array Of Arbitrary | ✔ | Array of request data and Undefined where retrieval is needed |
|
||||
| Timeout | --tout | Number | ✖ | Timeout for individual operation (in ms)) |
|
||||
| Tls | --tls | Structure Of KeyAndValue | ✖ | TLS settings, if necessary. See GetTlsSettings |
|
||||
| ContinueReceiving | --cnt | Boolean | ✖ | Continue receiving after processing the exchange order |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - Processing result
|
||||
|
||||
:::tip
|
||||
Example: Retrieving a message after every two sent messages and three more at the end (null in 1C = Undefined))<br/>ExchangeOrder: `[{Message1}, {Message2}, null, {Message3}, ... {MessageN}, null, null, null, null, null]`
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // String, path to file or URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // String, path to file or URL
|
||||
|
||||
Scheme = New Map;
|
||||
Scheme.Insert("main.proto" , Proto1); // Primary
|
||||
Scheme.Insert("my_types.proto", Proto2); // For import in primary
|
||||
|
||||
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme);
|
||||
Tls = OPI_GRPC.GetTlsSettings(True);
|
||||
|
||||
StingsArray = New Array;
|
||||
StingsArray.Add("one");
|
||||
StingsArray.Add("two");
|
||||
StingsArray.Add("three");
|
||||
|
||||
Data = New Map;
|
||||
Data.Insert("f_string" , "Test message");
|
||||
Data.Insert("f_bool" , True);
|
||||
Data.Insert("f_strings", StingsArray);
|
||||
Data.Insert("f_sub" , New Structure("f_string", "Nested value"));
|
||||
|
||||
Service = "grpcbin.GRPCBin";
|
||||
Method = "DummyBidirectionalStreamStream";
|
||||
|
||||
ExchangeOrder = New Array;
|
||||
|
||||
For N = 1 To 10 Do
|
||||
|
||||
ExchangeOrder.Add(Data); // Single send
|
||||
ExchangeOrder.Add(Undefined); // Single get
|
||||
|
||||
EndDo;
|
||||
|
||||
Result = OPI_GRPC.ProcessBidirectionalStream(Parameters, Service, Method, ExchangeOrder, , Tls);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -31,9 +31,9 @@ Method at AWS documentation: [CreateBucket](https://docs.aws.amazon.com/AmazonS3
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -31,9 +31,9 @@ Method at AWS documentation: [DeleteBucketEncryption](https://docs.aws.amazon.co
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -31,9 +31,9 @@ Method at AWS documentation: [DeleteBucketTagging](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -31,9 +31,9 @@ Method at AWS documentation: [DeleteBucket](https://docs.aws.amazon.com/AmazonS3
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -31,9 +31,9 @@ Method at AWS documentation: [GetBucketEncryption](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -31,9 +31,9 @@ Method at AWS documentation: [GetBucketTagging](https://docs.aws.amazon.com/Amaz
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -31,9 +31,9 @@ Method at AWS documentation: [GetBucketVersioning](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -32,9 +32,9 @@ Method at AWS documentation: [HeadBucket](https://docs.aws.amazon.com/AmazonS3/l
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -32,9 +32,9 @@ Method at AWS documentation: [ListBuckets](https://docs.aws.amazon.com/AmazonS3/
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -32,9 +32,9 @@ Method at AWS documentation: [PutBucketEncryption](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -34,9 +34,9 @@ Method at AWS documentation: [PutBucketTagging](https://docs.aws.amazon.com/Amaz
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -33,9 +33,9 @@ Method at AWS documentation: [PutBucketVersioning](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -28,9 +28,9 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
Result = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -32,9 +32,9 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -27,9 +27,9 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by" + "/opi-newbucket2";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev" + "/opi-newbucket2";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -35,9 +35,9 @@ This is a service method. A `PutObject` method is intended for the common scenar
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -34,9 +34,9 @@ Method at AWS documentation: [CopyObject](https://docs.aws.amazon.com/AmazonS3/l
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -33,9 +33,9 @@ Method at AWS documentation: [DeleteObjectTagging](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -33,9 +33,9 @@ Method at AWS documentation: [DeleteObject](https://docs.aws.amazon.com/AmazonS3
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -36,9 +36,9 @@ This is a service method. A `PutObject` method is intended for the common scenar
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -35,9 +35,9 @@ Process at AWS documentation: [Download and upload objects with presigned URLs](
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -33,9 +33,9 @@ Method at AWS documentation: [GetObjectTagging](https://docs.aws.amazon.com/Amaz
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -35,9 +35,9 @@ Process at AWS documentation: [Download and upload objects with presigned URLs](
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -36,9 +36,9 @@ You can use the `ChunkSize` field in the basic data to specify the minimum file
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -35,9 +35,9 @@ Method at AWS documentation: [GetObjectAttributes](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -34,9 +34,9 @@ This is a service method. A `PutObject` method is intended for the common scenar
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -33,9 +33,9 @@ Method at AWS documentation: [ListObjectVersions](https://docs.aws.amazon.com/Am
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -33,9 +33,9 @@ Method at AWS documentation: [ListObjectsV2](https://docs.aws.amazon.com/AmazonS
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -35,9 +35,9 @@ Method at AWS documentation: [PutObjectTagging](https://docs.aws.amazon.com/Amaz
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -37,9 +37,9 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -37,9 +37,9 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -38,9 +38,9 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"Адрес":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"Адрес":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"Адрес":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"Адрес":"https://grpcb.in:9001","Proto1":"https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto","Proto2":"https://hut.openintegrations.dev/test_data/mt.proto"}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
Адрес = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // Строка, путь к файлу или URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // Строка, путь к файлу или URL
|
||||
|
||||
Схемы = Новый Соответствие;
|
||||
Схемы.Вставить("main.proto" , Proto1); // Основной
|
||||
Схемы.Вставить("my_types.proto", Proto2); // Для импорта в основной
|
||||
|
||||
Мета = Новый Структура("somekey", "somevalue");
|
||||
Параметры = OPI_GRPC.ПолучитьПараметрыСоединения(Адрес, Схемы, Мета);
|
||||
Tls = OPI_GRPC.ПолучитьНастройкиTls(Истина);
|
||||
|
||||
Соединение = OPI_GRPC.ОткрытьСоединение(Параметры, Tls);
|
||||
Результат = OPI_GRPC.ЗакрытьСоединение(Соединение);
|
||||
@@ -0,0 +1,36 @@
|
||||
Адрес = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // Строка, путь к файлу или URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // Строка, путь к файлу или URL
|
||||
|
||||
Схемы = Новый Соответствие;
|
||||
Схемы.Вставить("main.proto" , Proto1); // Основной
|
||||
Схемы.Вставить("my_types.proto", Proto2); // Для импорта в основной
|
||||
|
||||
Параметры = OPI_GRPC.ПолучитьПараметрыСоединения(Адрес, Схемы);
|
||||
Tls = OPI_GRPC.ПолучитьНастройкиTls(Истина);
|
||||
|
||||
МассивСтрок = Новый Массив;
|
||||
МассивСтрок.Добавить("one");
|
||||
МассивСтрок.Добавить("two");
|
||||
МассивСтрок.Добавить("three");
|
||||
|
||||
Данные = Новый Соответствие;
|
||||
Данные.Вставить("f_string" , "Test message");
|
||||
Данные.Вставить("f_bool" , Истина);
|
||||
Данные.Вставить("f_strings", МассивСтрок);
|
||||
Данные.Вставить("f_sub" , Новый Структура("f_string", "Nested value"));
|
||||
|
||||
Сервис = "grpcbin.GRPCBin";
|
||||
Метод = "DummyBidirectionalStreamStream";
|
||||
|
||||
ПорядокОбмена = Новый Массив;
|
||||
|
||||
Для Н = 1 По 10 Цикл
|
||||
|
||||
ПорядокОбмена.Добавить(Данные); // Одно отправляем
|
||||
ПорядокОбмена.Добавить(Неопределено); // Одно получаем
|
||||
|
||||
КонецЦикла;
|
||||
|
||||
Результат = OPI_GRPC.ОбработатьДвунаправленныйПоток(Параметры, Сервис, Метод, ПорядокОбмена, , Tls);
|
||||
@@ -0,0 +1 @@
|
||||
Результат = OPI_GRPC.ПолучитьНастройкиTls(Истина);
|
||||
@@ -0,0 +1,11 @@
|
||||
Адрес = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // Строка, путь к файлу или URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // Строка, путь к файлу или URL
|
||||
|
||||
Схемы = Новый Соответствие;
|
||||
Схемы.Вставить("main.proto" , Proto1); // Основной
|
||||
Схемы.Вставить("my_types.proto", Proto2); // Для импорта в основной
|
||||
|
||||
Мета = Новый Структура("somekey", "somevalue");
|
||||
Результат = OPI_GRPC.ПолучитьПараметрыСоединения(Адрес, Схемы, Мета);
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
Адрес = "https://grpcb.in:9001";
|
||||
|
||||
Proto1 = "https://hut.openintegrations.dev/test_data/grpcbin_with_import.proto"; // Строка, путь к файлу или URL
|
||||
Proto2 = "https://hut.openintegrations.dev/test_data/mt.proto"; // Строка, путь к файлу или URL
|
||||
|
||||
Схемы = Новый Соответствие;
|
||||
Схемы.Вставить("main.proto" , Proto1); // Основной
|
||||
Схемы.Вставить("my_types.proto", Proto2); // Для импорта в основной
|
||||
|
||||
Мета = Новый Структура("somekey", "somevalue");
|
||||
Параметры = OPI_GRPC.ПолучитьПараметрыСоединения(Адрес, Схемы, Мета);
|
||||
Tls = OPI_GRPC.ПолучитьНастройкиTls(Истина);
|
||||
|
||||
Соединение = OPI_GRPC.ОткрытьСоединение(Параметры, Tls);
|
||||
Результат = OPI_GRPC.ЭтоКоннектор(Соединение);
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by" + "/opi-newbucket2";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev" + "/opi-newbucket2";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
URL = "storage-564.s3hoster.by";
|
||||
AccessKey = "H71HC7EBMR...";
|
||||
SecretKey = "KnpGDaC3vCOkWuGSmpVn...";
|
||||
URL = "s3.openintegrations.dev";
|
||||
AccessKey = "bayselo...";
|
||||
SecretKey = "12we34...";
|
||||
Region = "BTC";
|
||||
|
||||
ОсновныеДанные = OPI_S3.ПолучитьСтруктуруДанных(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user