1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-21 17:56:56 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-11-19 16:38:20 +03:00
parent 8f76a74001
commit 716dee887d
13 changed files with 5842 additions and 5762 deletions

View File

@ -61,4 +61,6 @@ Method at AWS documentation: [GetObjectAttributes](https://docs.aws.amazon.com/A
```json title="Result"
NOT JSON: FF D8 FF E1 54 C1 45 78 69 66 00 00 49 49 2A 00 08 00 00 00 0B 00 0E 01 02 00 20 00 00 00 92 00 00 00 0F 01 02 00 05 00 00 00 B2 00 00 00 10 01 02 00 07 00 00 00 B8 00 00 00 12 01 03 00 01 00…
```

View File

@ -47,4 +47,45 @@ Method at AWS documentation: [ListObjectVersions](https://docs.aws.amazon.com/Am
```json title="Result"
{
"status": 200,
"response": {
"ListVersionsResult": {
"Name": "opi-gpbucket3",
"Prefix": "pic",
"KeyMarker": {},
"NextVersionIdMarker": {},
"VersionIdMarker": {},
"MaxKeys": "250",
"IsTruncated": "false",
"Version": {
"Key": "picture.jpg",
"LastModified": "2024-11-19T13:16:43.870Z",
"ETag": "\"9e0176f87f6565a22f78e0f9b39a4d78\"",
"Size": "2114023",
"Owner": {
"ID": "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4",
"DisplayName": "minio"
},
"StorageClass": "STANDARD",
"IsLatest": "true",
"VersionId": "null"
}
}
},
"headers": {
"Accept-Ranges": "bytes",
"Content-Length": "707",
"Content-Type": "application/xml",
"Date": "Tue, 19 Nov 2024 13:16:47 GMT",
"Server": "MinIO",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Vary": "Origin,Accept-Encoding",
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
"X-Amz-Request-Id": "180961057A336175",
"X-Content-Type-Options": "nosniff",
"X-Xss-Protection": "1; mode=block"
}
}
```

View File

@ -46,4 +46,37 @@ Method at AWS documentation: [ListObjectsV2](https://docs.aws.amazon.com/AmazonS
```json title="Result"
{
"status": 200,
"response": {
"ListBucketResult": {
"Name": "opi-gpbucket3",
"Prefix": {},
"KeyCount": "1",
"MaxKeys": "250",
"IsTruncated": "false",
"Contents": {
"Key": "picture.jpg",
"LastModified": "2024-11-19T13:16:43.870Z",
"ETag": "\"9e0176f87f6565a22f78e0f9b39a4d78\"",
"Size": "2114023",
"StorageClass": "STANDARD"
}
}
},
"headers": {
"Accept-Ranges": "bytes",
"Content-Length": "451",
"Content-Type": "application/xml",
"Date": "Tue, 19 Nov 2024 13:16:47 GMT",
"Server": "MinIO",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Vary": "Origin,Accept-Encoding",
"X-Amz-Id-2": "93c576aa54c960b355da9e2934476635fe3243f5df9dbb4db8b7c0d94bec7cd1",
"X-Amz-Request-Id": "18096105796DE4F2",
"X-Content-Type-Options": "nosniff",
"X-Xss-Protection": "1; mode=block"
}
}
```

File diff suppressed because it is too large Load Diff

View File

@ -1271,7 +1271,7 @@ Function GetObjectInChunks(Val BasicData
EndStr = OPI_Tools.NumberToString(ChunkEnd);
Title = StrTemplate(HeaderTemplate, StartStr, EndStr);
HeadersArray.Add(New Structure("Header,Position", Title, EndStr));
HeadersArray.Add(New Structure("Title,Item", Title, EndStr));
ChunkStart = ChunkEnd + 1;
@ -1281,7 +1281,7 @@ Function GetObjectInChunks(Val BasicData
Title = "bytes=" + OPI_Tools.NumberToString(ChunkStart) + "-";
DataStructure = New Structure("Header,Position", Title, TotalSize);
DataStructure = New Structure("Title,Item", Title, TotalSize);
HeadersArray.Add(DataStructure);
EndIf;
@ -1322,8 +1322,10 @@ Function GetObjectInChunks(Val BasicData
Except
If N = 3 Then
Message(ErrorDescription());
Break;
Raise "Failed to retrieve the file!";
Else
Message("Chunk upload error " + String(N) + "/3");
Continue;

View File

@ -353,7 +353,7 @@ Function SplitURL(Val URL) Export
ReturnStructure = New Structure;
ReturnStructure.Insert("Host" , Host);
ReturnStructure.Insert("Address", Address);
ReturnStructure.Insert("Address" , Address);
ReturnStructure.Insert("Safe" , SecureConnection);
Return ReturnStructure;

View File

@ -1271,7 +1271,7 @@ Function GetObjectInChunks(Val BasicData
EndStr = OPI_Tools.NumberToString(ChunkEnd);
Title = StrTemplate(HeaderTemplate, StartStr, EndStr);
HeadersArray.Add(New Structure("Header,Position", Title, EndStr));
HeadersArray.Add(New Structure("Title,Item", Title, EndStr));
ChunkStart = ChunkEnd + 1;
@ -1281,7 +1281,7 @@ Function GetObjectInChunks(Val BasicData
Title = "bytes=" + OPI_Tools.NumberToString(ChunkStart) + "-";
DataStructure = New Structure("Header,Position", Title, TotalSize);
DataStructure = New Structure("Title,Item", Title, TotalSize);
HeadersArray.Add(DataStructure);
EndIf;
@ -1322,8 +1322,10 @@ Function GetObjectInChunks(Val BasicData
Except
If N = 3 Then
// !OInt Message(ErrorDescription());
Break;
Raise "Failed to retrieve the file!";
Else
// !OInt Message("Chunk upload error " + String(N) + "/3");
Continue;

View File

@ -353,7 +353,7 @@ Function SplitURL(Val URL) Export
ReturnStructure = New Structure;
ReturnStructure.Insert("Host" , Host);
ReturnStructure.Insert("Address", Address);
ReturnStructure.Insert("Address" , Address);
ReturnStructure.Insert("Safe" , SecureConnection);
Return ReturnStructure;