Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AWS S3 test workflow to support delete:Bucket #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 57 additions & 40 deletions snapshots/155-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"runData": {
"Start": [
{
"startTime": 1622630055403,
"startTime": 1626690596055,
"executionTime": 1,
"data": {
"main": [
Expand All @@ -20,14 +20,14 @@
],
"Set": [
{
"startTime": 1622630055405,
"executionTime": 1,
"startTime": 1626690596057,
"executionTime": 3,
"data": {
"main": [
[
{
"json": {
"bucketName": "Bucket1622630055406"
"bucketName": "Bucket1626690596060"
}
}
]
Expand All @@ -37,8 +37,8 @@
],
"AWS S3": [
{
"startTime": 1622630055406,
"executionTime": 815,
"startTime": 1626690596060,
"executionTime": 1172,
"data": {
"main": [
[
Expand All @@ -54,15 +54,15 @@
],
"AWS S": [
{
"startTime": 1622630056222,
"executionTime": 588,
"startTime": 1626690597233,
"executionTime": 917,
"data": {
"main": [
[
{
"json": {
"Name": "bucket1616668166780",
"CreationDate": "2021-03-25T10:29:28.000Z"
"Name": "bucket1623148483233",
"CreationDate": "2021-06-08T10:34:44.000Z"
}
}
]
Expand All @@ -72,14 +72,14 @@
],
"Set1": [
{
"startTime": 1622630056810,
"startTime": 1626690598150,
"executionTime": 1,
"data": {
"main": [
[
{
"json": {
"folderName": "Folder1622630056811"
"folderName": "Folder1626690598151"
}
}
]
Expand All @@ -89,8 +89,8 @@
],
"Function": [
{
"startTime": 1622630056811,
"executionTime": 4,
"startTime": 1626690598151,
"executionTime": 6,
"data": {
"main": [
[
Expand All @@ -112,8 +112,8 @@
],
"AWS S8": [
{
"startTime": 1622630056815,
"executionTime": 974,
"startTime": 1626690598157,
"executionTime": 1317,
"data": {
"main": [
[
Expand All @@ -129,8 +129,8 @@
],
"AWS S2": [
{
"startTime": 1622630057789,
"executionTime": 1043,
"startTime": 1626690599475,
"executionTime": 1534,
"data": {
"main": [
[
Expand All @@ -146,15 +146,15 @@
],
"AWS S9": [
{
"startTime": 1622630058833,
"executionTime": 978,
"startTime": 1626690601010,
"executionTime": 1642,
"data": {
"main": [
[
{
"json": {
"Key": "Folder1622630056811/",
"LastModified": "2021-06-02T10:34:18.000Z",
"Key": "Folder1626690598151/",
"LastModified": "2021-07-19T10:30:00.000Z",
"ETag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
"Size": "0",
"StorageClass": "STANDARD"
Expand All @@ -167,15 +167,15 @@
],
"AWS S4": [
{
"startTime": 1622630059811,
"executionTime": 953,
"startTime": 1626690602654,
"executionTime": 1636,
"data": {
"main": [
[
{
"json": {
"Key": "n8n-logo.png",
"LastModified": "2021-06-02T10:34:19.000Z",
"LastModified": "2021-07-19T10:30:01.000Z",
"ETag": "\"174dbbfbcabb9dc0c2e82002e5ce289e\"",
"Size": "2675",
"StorageClass": "STANDARD"
Expand All @@ -196,8 +196,8 @@
],
"AWS S10": [
{
"startTime": 1622630060765,
"executionTime": 1460,
"startTime": 1626690604291,
"executionTime": 2147,
"data": {
"main": [
[
Expand All @@ -215,15 +215,15 @@
],
"AWS S5": [
{
"startTime": 1622630062226,
"executionTime": 945,
"startTime": 1626690606438,
"executionTime": 1434,
"data": {
"main": [
[
{
"json": {
"Key": "n8n-logo.png",
"LastModified": "2021-06-02T10:34:19.000Z",
"LastModified": "2021-07-19T10:30:01.000Z",
"ETag": "\"174dbbfbcabb9dc0c2e82002e5ce289e\"",
"Size": "2675",
"StorageClass": "STANDARD"
Expand All @@ -244,15 +244,15 @@
],
"AWS S6": [
{
"startTime": 1622630063172,
"startTime": 1626690607873,
"executionTime": 1,
"data": {
"main": [
[
{
"json": {
"Key": "n8n-logo.png",
"LastModified": "2021-06-02T10:34:19.000Z",
"LastModified": "2021-07-19T10:30:01.000Z",
"ETag": "\"174dbbfbcabb9dc0c2e82002e5ce289e\"",
"Size": "2675",
"StorageClass": "STANDARD"
Expand All @@ -273,15 +273,15 @@
],
"AWS S1": [
{
"startTime": 1622630063173,
"executionTime": 950,
"startTime": 1626690607875,
"executionTime": 1604,
"data": {
"main": [
[
{
"json": {
"Key": "n8n-logo.png",
"LastModified": "2021-06-02T10:34:19.000Z",
"LastModified": "2021-07-19T10:30:01.000Z",
"ETag": "\"174dbbfbcabb9dc0c2e82002e5ce289e\"",
"Size": "2675",
"StorageClass": "STANDARD"
Expand All @@ -294,8 +294,25 @@
],
"AWS S7": [
{
"startTime": 1622630064123,
"executionTime": 977,
"startTime": 1626690609479,
"executionTime": 1668,
"data": {
"main": [
[
{
"json": {
"success": true
}
}
]
]
}
}
],
"AWS S11": [
{
"startTime": 1626690611148,
"executionTime": 750,
"data": {
"main": [
[
Expand All @@ -310,7 +327,7 @@
}
]
},
"lastNodeExecuted": "AWS S7"
"lastNodeExecuted": "AWS S11"
},
"executionData": {
"contextData": {},
Expand All @@ -319,7 +336,7 @@
}
},
"mode": "cli",
"startedAt": "2021-06-02T10:34:15.401Z",
"stoppedAt": "2021-06-02T10:34:25.101Z",
"startedAt": "2021-07-19T10:29:56.050Z",
"stoppedAt": "2021-07-19T10:30:11.899Z",
"finished": true
}
32 changes: 30 additions & 2 deletions workflows/155.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": 155,
"name": "AWSS3:Bucket:create getAll search:File:upload getAll download delete:Folder:create getAll delete",
"name": "AWSS3:Bucket:create getAll search delete:File:upload getAll download delete:Folder:create getAll delete",
"active": false,
"nodes": [
{
Expand Down Expand Up @@ -263,6 +263,23 @@
750,
150
]
},
{
"parameters": {
"resource": "bucket",
"operation": "delete",
"name": "={{$node[\"Set\"].json[\"bucketName\"]}}"
},
"name": "AWS S11",
"type": "n8n-nodes-base.awsS3",
"typeVersion": 1,
"position": [
1950,
310
],
"credentials": {
"aws": "AWS creds"
}
}
],
"connections": {
Expand Down Expand Up @@ -413,10 +430,21 @@
}
]
]
},
"AWS S7": {
"main": [
[
{
"node": "AWS S11",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2021-03-25T10:06:21.916Z",
"updatedAt": "2021-03-25T10:38:29.121Z",
"updatedAt": "2021-07-19T10:29:05.371Z",
"settings": {},
"staticData": null
}