-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
713 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
test/integration/connectors/expected_results/sharepoint/directory_structure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{ | ||
"directory_structure": [ | ||
"Folder1/Folder2/fake-email.txt", | ||
"Folder1/fake-memo.pdf", | ||
"book-war-and-peace-1p.txt", | ||
"list-item-example.pdf" | ||
"fake-memo.pdf" | ||
] | ||
} |
File renamed without changes.
34 changes: 0 additions & 34 deletions
34
.../connectors/expected_results/sharepoint/file_data/0153RHRSABDC6JJIUHKJF2C5ZFGJF3C6XJ.json
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
.../connectors/expected_results/sharepoint/file_data/0153RHRSAVBNSXPKVIBZC3ZD53KENINVGG.json
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
.../connectors/expected_results/sharepoint/file_data/0153RHRSEXY3G5U3B5GBFY7TZKAY236XAL.json
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
.../connectors/expected_results/sharepoint/file_data/0153RHRSFFVW43WTVG5ZFY5WL7ZH3GUOGT.json
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
.../connectors/expected_results/sharepoint/file_data/01QKP26QZL5KBVQTQ3IRDYF72MRH2QKKR3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"identifier": "01QKP26QZL5KBVQTQ3IRDYF72MRH2QKKR3", | ||
"connector_type": "sharepoint", | ||
"source_identifiers": { | ||
"filename": "fake-memo.pdf", | ||
"fullpath": "e2e-test-folder/fake-memo.pdf", | ||
"rel_path": "fake-memo.pdf" | ||
}, | ||
"metadata": { | ||
"url": "/drive/root:/e2e-test-folder/fake-memo.pdf", | ||
"version": "\"{5883EA2B-1B4E-4744-82FF-4C89F5052A3B},1\"", | ||
"record_locator": { | ||
"user_pname": "[email protected]", | ||
"server_relative_path": "e2e-test-folder/fake-memo.pdf" | ||
}, | ||
"date_created": "1738129296.0", | ||
"date_modified": "1738129296.0", | ||
"date_processed": "1739549929.526217", | ||
"permissions_data": null, | ||
"filesize_bytes": null | ||
}, | ||
"additional_metadata": { | ||
"eTag": "\"{5883EA2B-1B4E-4744-82FF-4C89F5052A3B},1\"", | ||
"id": "01QKP26QZL5KBVQTQ3IRDYF72MRH2QKKR3", | ||
"name": "fake-memo.pdf", | ||
"webUrl": "https://unstructuredio.sharepoint.com/Shared%20Documents/e2e-test-folder/fake-memo.pdf", | ||
"cTag": "\"c:{5883EA2B-1B4E-4744-82FF-4C89F5052A3B},1\"", | ||
"size": 13374 | ||
}, | ||
"reprocess": false, | ||
"local_download_path": "/private/var/folders/85/f389rtdn2c971nv4r3d31d740000gn/T/tmpxs1_nhhe/fake-memo.pdf", | ||
"display_name": null | ||
} |
8 changes: 8 additions & 0 deletions
8
test/integration/connectors/expected_results/sharepoint1/directory_structure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"directory_structure": [ | ||
"Folder1/Folder2/fake-email.txt", | ||
"Folder1/fake-memo.pdf", | ||
"book-war-and-peace-1p.txt", | ||
"list-item-example.pdf" | ||
] | ||
} |
File renamed without changes.
Binary file added
BIN
+13.1 KB
test/integration/connectors/expected_results/sharepoint1/downloads/Folder1/fake-memo.pdf
Binary file not shown.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions
33
...connectors/expected_results/sharepoint1/file_data/0153RHRSABDC6JJIUHKJF2C5ZFGJF3C6XJ.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"identifier": "0153RHRSABDC6JJIUHKJF2C5ZFGJF3C6XJ", | ||
"connector_type": "sharepoint", | ||
"source_identifiers": { | ||
"filename": "list-item-example.pdf", | ||
"fullpath": "/list-item-example.pdf", | ||
"rel_path": "list-item-example.pdf" | ||
}, | ||
"metadata": { | ||
"url": "/drive/root:/list-item-example.pdf", | ||
"version": "\"{94BC1801-87A2-4B52-A177-25324BB17AE9},1\"", | ||
"record_locator": { | ||
"user_pname": "[email protected]", | ||
"server_relative_path": "/list-item-example.pdf" | ||
}, | ||
"date_created": "1738364795.0", | ||
"date_modified": "1738364795.0", | ||
"date_processed": "1739552937.759603", | ||
"permissions_data": null, | ||
"filesize_bytes": null | ||
}, | ||
"additional_metadata": { | ||
"eTag": "\"{94BC1801-87A2-4B52-A177-25324BB17AE9},1\"", | ||
"id": "0153RHRSABDC6JJIUHKJF2C5ZFGJF3C6XJ", | ||
"name": "list-item-example.pdf", | ||
"webUrl": "https://unstructuredio.sharepoint.com/sites/utic-platform-test-source/Shared%20Documents/list-item-example.pdf", | ||
"cTag": "\"c:{94BC1801-87A2-4B52-A177-25324BB17AE9},1\"", | ||
"size": 48981 | ||
}, | ||
"reprocess": false, | ||
"local_download_path": "/private/var/folders/85/f389rtdn2c971nv4r3d31d740000gn/T/tmpf70nr_lt/list-item-example.pdf", | ||
"display_name": null | ||
} |
33 changes: 33 additions & 0 deletions
33
...connectors/expected_results/sharepoint1/file_data/0153RHRSAVBNSXPKVIBZC3ZD53KENINVGG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"identifier": "0153RHRSAVBNSXPKVIBZC3ZD53KENINVGG", | ||
"connector_type": "sharepoint", | ||
"source_identifiers": { | ||
"filename": "book-war-and-peace-1p.txt", | ||
"fullpath": "/book-war-and-peace-1p.txt", | ||
"rel_path": "book-war-and-peace-1p.txt" | ||
}, | ||
"metadata": { | ||
"url": "/drive/root:/book-war-and-peace-1p.txt", | ||
"version": "\"{77650B15-A8AA-450E-BC8F-BB511A86D4C6},1\"", | ||
"record_locator": { | ||
"user_pname": "[email protected]", | ||
"server_relative_path": "/book-war-and-peace-1p.txt" | ||
}, | ||
"date_created": "1738885678.0", | ||
"date_modified": "1738885678.0", | ||
"date_processed": "1739552932.2096388", | ||
"permissions_data": null, | ||
"filesize_bytes": null | ||
}, | ||
"additional_metadata": { | ||
"eTag": "\"{77650B15-A8AA-450E-BC8F-BB511A86D4C6},1\"", | ||
"id": "0153RHRSAVBNSXPKVIBZC3ZD53KENINVGG", | ||
"name": "book-war-and-peace-1p.txt", | ||
"webUrl": "https://unstructuredio.sharepoint.com/sites/utic-platform-test-source/Shared%20Documents/book-war-and-peace-1p.txt", | ||
"cTag": "\"c:{77650B15-A8AA-450E-BC8F-BB511A86D4C6},1\"", | ||
"size": 3045 | ||
}, | ||
"reprocess": false, | ||
"local_download_path": "/private/var/folders/85/f389rtdn2c971nv4r3d31d740000gn/T/tmpf70nr_lt/book-war-and-peace-1p.txt", | ||
"display_name": null | ||
} |
33 changes: 33 additions & 0 deletions
33
...connectors/expected_results/sharepoint1/file_data/0153RHRSEXY3G5U3B5GBFY7TZKAY236XAL.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"identifier": "0153RHRSEXY3G5U3B5GBFY7TZKAY236XAL", | ||
"connector_type": "sharepoint", | ||
"source_identifiers": { | ||
"filename": "fake-memo.pdf", | ||
"fullpath": "Folder1/fake-memo.pdf", | ||
"rel_path": "Folder1/fake-memo.pdf" | ||
}, | ||
"metadata": { | ||
"url": "/drive/root:/Folder1/fake-memo.pdf", | ||
"version": "\"{DACDC697-3D6C-4B30-8FCF-2A0635BF5C0B},1\"", | ||
"record_locator": { | ||
"user_pname": "[email protected]", | ||
"server_relative_path": "Folder1/fake-memo.pdf" | ||
}, | ||
"date_created": "1738364779.0", | ||
"date_modified": "1738364779.0", | ||
"date_processed": "1739552943.296567", | ||
"permissions_data": null, | ||
"filesize_bytes": null | ||
}, | ||
"additional_metadata": { | ||
"eTag": "\"{DACDC697-3D6C-4B30-8FCF-2A0635BF5C0B},1\"", | ||
"id": "0153RHRSEXY3G5U3B5GBFY7TZKAY236XAL", | ||
"name": "fake-memo.pdf", | ||
"webUrl": "https://unstructuredio.sharepoint.com/sites/utic-platform-test-source/Shared%20Documents/Folder1/fake-memo.pdf", | ||
"cTag": "\"c:{DACDC697-3D6C-4B30-8FCF-2A0635BF5C0B},1\"", | ||
"size": 13374 | ||
}, | ||
"reprocess": false, | ||
"local_download_path": "/private/var/folders/85/f389rtdn2c971nv4r3d31d740000gn/T/tmpf70nr_lt/Folder1/fake-memo.pdf", | ||
"display_name": null | ||
} |
33 changes: 33 additions & 0 deletions
33
...connectors/expected_results/sharepoint1/file_data/0153RHRSFFVW43WTVG5ZFY5WL7ZH3GUOGT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"identifier": "0153RHRSFFVW43WTVG5ZFY5WL7ZH3GUOGT", | ||
"connector_type": "sharepoint", | ||
"source_identifiers": { | ||
"filename": "fake-email.txt", | ||
"fullpath": "Folder1/Folder2/fake-email.txt", | ||
"rel_path": "Folder1/Folder2/fake-email.txt" | ||
}, | ||
"metadata": { | ||
"url": "/drive/root:/Folder1/Folder2/fake-email.txt", | ||
"version": "\"{BBB9ADA5-A64E-4BEE-8ED9-7FC9F66A38D3},1\"", | ||
"record_locator": { | ||
"user_pname": "[email protected]", | ||
"server_relative_path": "Folder1/Folder2/fake-email.txt" | ||
}, | ||
"date_created": "1738364377.0", | ||
"date_modified": "1738364377.0", | ||
"date_processed": "1739552950.261651", | ||
"permissions_data": null, | ||
"filesize_bytes": null | ||
}, | ||
"additional_metadata": { | ||
"eTag": "\"{BBB9ADA5-A64E-4BEE-8ED9-7FC9F66A38D3},1\"", | ||
"id": "0153RHRSFFVW43WTVG5ZFY5WL7ZH3GUOGT", | ||
"name": "fake-email.txt", | ||
"webUrl": "https://unstructuredio.sharepoint.com/sites/utic-platform-test-source/Shared%20Documents/Folder1/Folder2/fake-email.txt", | ||
"cTag": "\"c:{BBB9ADA5-A64E-4BEE-8ED9-7FC9F66A38D3},1\"", | ||
"size": 836 | ||
}, | ||
"reprocess": false, | ||
"local_download_path": "/private/var/folders/85/f389rtdn2c971nv4r3d31d740000gn/T/tmpf70nr_lt/Folder1/Folder2/fake-email.txt", | ||
"display_name": null | ||
} |
6 changes: 6 additions & 0 deletions
6
test/integration/connectors/expected_results/sharepoint2/directory_structure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"directory_structure": [ | ||
"Folder2/fake-email.txt", | ||
"fake-memo.pdf" | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
test/integration/connectors/expected_results/sharepoint2/downloads/Folder2/fake-email.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
MIME-Version: 1.0 | ||
Date: Fri, 16 Dec 2022 17:04:16 -0500 | ||
Message-ID: <CADc-_xaLB2FeVQ7mNsoX+NJb_7hAJhBKa_zet-rtgPGenj0uVw@mail.gmail.com> | ||
Subject: Test Email | ||
From: Matthew Robinson <[email protected]> | ||
To: Matthew Robinson <[email protected]> | ||
Content-Type: multipart/alternative; boundary="00000000000095c9b205eff92630" | ||
|
||
--00000000000095c9b205eff92630 | ||
Content-Type: text/plain; charset="UTF-8" | ||
|
||
This is a test email to use for unit tests. | ||
|
||
Important points: | ||
|
||
- Roses are red | ||
- Violets are blue | ||
- | ||
|
||
--00000000000095c9b205eff92630 | ||
Content-Type: text/html; charset="UTF-8" | ||
|
||
<div dir="ltr"><div>This is a test email to use for unit tests.</div><div><br></div><div>Important points:</div><div><ul><li>Roses are red</li><li>Violets are blue</li></ul></div></div> | ||
|
||
--00000000000095c9b205eff92630-- |
Binary file added
BIN
+13.1 KB
test/integration/connectors/expected_results/sharepoint2/downloads/fake-memo.pdf
Binary file not shown.
Oops, something went wrong.