Sriharsha Chintalapani 58cd7daf7e
Add drive as service (#22159)
* Fix #22157: Add Drive Service Support to OpenMetadata

* Fix #22157: Add Drive Service Support to OpenMetadata

* Update generated TypeScript types

* Fix tests

* Update generated TypeScript types

* Fix tests

* Tests are passing

* Tests are passing

* Update generated TypeScript types

* Address comments

* Update generated TypeScript types

* Add sample data and ingestion for drives, directories, spreadsheets, worksheets, files

* Fix postgres migrations

* Fix postgres tests, optimize queries

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-07-11 10:00:54 -07:00

416 lines
16 KiB
JSON

[
{
"name": "annual_budget_2024.xlsx",
"displayName": "Annual Budget 2024",
"description": "Company-wide annual budget for fiscal year 2024",
"directory": "Finance",
"fileType": "Spreadsheet",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileExtension": "xlsx",
"path": "/Finance/annual_budget_2024.xlsx",
"size": 2097152,
"checksum": "d41d8cd98f00b204e9800998ecf8427e",
"webViewLink": "https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"isShared": false,
"fileVersion": "42",
"createdTime": 1704067200000,
"modifiedTime": 1719878400000,
"lastModifiedBy": {
"id": "cfo123",
"type": "user",
"name": "finance_lead"
},
"tags": [],
"owners": []
},
{
"name": "marketing_strategy_2024.pdf",
"displayName": "Marketing Strategy 2024",
"description": "Comprehensive marketing strategy document for 2024",
"directory": "Marketing",
"fileType": "PDF",
"mimeType": "application/pdf",
"fileExtension": "pdf",
"path": "/Marketing/marketing_strategy_2024.pdf",
"size": 5242880,
"checksum": "098f6bcd4621d373cade4e832627b4f6",
"webViewLink": "https://drive.google.com/file/d/1aBcDeFgHiJkLmNoPqRsTuVwXyZ/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1aBcDeFgHiJkLmNoPqRsTuVwXyZ",
"isShared": true,
"fileVersion": "15",
"createdTime": 1704067200000,
"modifiedTime": 1717200000000,
"tags": []
},
{
"name": "employee_compensation_q4.xlsx",
"displayName": "Employee Compensation Q4",
"description": "Quarterly compensation report including bonuses",
"directory": "Finance.Q4_Reports",
"fileType": "Spreadsheet",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileExtension": "xlsx",
"path": "/Finance/Q4_Reports/employee_compensation_q4.xlsx",
"size": 1048576,
"checksum": "5d41402abc4b2a76b9719d911017c592",
"webViewLink": "https://docs.google.com/spreadsheets/d/2CxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=2CxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"isShared": false,
"fileVersion": "8",
"createdTime": 1719878400000,
"modifiedTime": 1720483200000,
"tags": [
{
"tagFQN": "PII.Sensitive",
"description": "Contains employee PII and compensation data",
"source": "Classification",
"labelType": "Manual",
"state": "Confirmed"
}
]
},
{
"name": "campaign_performance_tracker.xlsx",
"displayName": "Campaign Performance Tracker",
"description": "Tracks performance metrics for all 2024 campaigns",
"directory": "Marketing.Campaigns_2024",
"fileType": "Spreadsheet",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileExtension": "xlsx",
"path": "/Marketing/Campaigns_2024/campaign_performance_tracker.xlsx",
"size": 3145728,
"checksum": "hello5d41402abc4b2a76b9719d911017c592",
"webViewLink": "https://docs.google.com/spreadsheets/d/3DxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=3DxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"isShared": true,
"fileVersion": "127",
"createdTime": 1704067200000,
"modifiedTime": 1720569600000
},
{
"name": "instagram_banner_black_friday.png",
"displayName": "Instagram Black Friday Banner",
"description": "Black Friday promotional banner for Instagram",
"directory": "Marketing.Campaigns_2024.Social_Media",
"fileType": "Image",
"mimeType": "image/png",
"fileExtension": "png",
"path": "/Marketing/Campaigns_2024/Social_Media/instagram_banner_black_friday.png",
"size": 524288,
"checksum": "aello5d41402abc4b2a76b9719d911017c592",
"webViewLink": "https://drive.google.com/file/d/4ExiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=4ExiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"isShared": true,
"fileVersion": "3",
"createdTime": 1719878400000,
"modifiedTime": 1719964800000
},
{
"name": "product_launch_video.mp4",
"displayName": "Product Launch Video",
"description": "Video showcasing new product features",
"directory": "Marketing.Campaigns_2024.Social_Media",
"fileType": "Video",
"mimeType": "video/mp4",
"fileExtension": "mp4",
"path": "/Marketing/Campaigns_2024/Social_Media/product_launch_video.mp4",
"size": 104857600,
"checksum": "bello5d41402abc4b2a76b9719d911017c592",
"webViewLink": "https://drive.google.com/file/d/5FxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=5FxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"isShared": true,
"fileVersion": "1",
"createdTime": 1720051200000,
"modifiedTime": 1720051200000
},
{
"name": "board_presentation_q4.pptx",
"displayName": "Board Presentation Q4 2024",
"description": "Quarterly board presentation with financial results",
"directory": "Executive",
"fileType": "Presentation",
"mimeType": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"fileExtension": "pptx",
"path": "/Executive/board_presentation_q4.pptx",
"size": 8388608,
"checksum": "7d793037a0760186574b0282f2f435e7",
"webViewLink": "https://docs.google.com/presentation/d/1XYZ123456789/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1XYZ123456789",
"isShared": false,
"fileVersion": "8",
"tags": []
},
{
"name": "employee_handbook_2024.docx",
"displayName": "Employee Handbook 2024",
"description": "Updated employee handbook with company policies",
"directory": "HR",
"fileType": "Document",
"mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"fileExtension": "docx",
"path": "/HR/employee_handbook_2024.docx",
"size": 3145728,
"checksum": "5d41402abc4b2a76b9719d911017c592",
"webViewLink": "https://docs.google.com/document/d/1ABC987654321/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1ABC987654321",
"isShared": true,
"fileVersion": "23",
"tags": []
},
{
"name": "product_demo_video.mp4",
"displayName": "Product Demo Video",
"description": "Latest product demonstration video for sales team",
"directory": "Marketing",
"fileType": "Video",
"mimeType": "video/mp4",
"fileExtension": "mp4",
"path": "/Marketing/product_demo_video.mp4",
"size": 104857600,
"checksum": "a87ff679a2f3e71d9181a67b7542122c",
"webViewLink": "https://drive.google.com/file/d/1VID123456789/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1VID123456789",
"isShared": true,
"fileVersion": "3",
"tags": []
},
{
"name": "company_logo_2024.png",
"displayName": "Company Logo 2024",
"description": "Updated company logo with new branding",
"directory": "Marketing",
"fileType": "Image",
"mimeType": "image/png",
"fileExtension": "png",
"path": "/Marketing/company_logo_2024.png",
"size": 524288,
"checksum": "e4da3b7fbbce2345d7772b0674a318d5",
"webViewLink": "https://drive.google.com/file/d/1IMG987654321/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1IMG987654321",
"isShared": true,
"fileVersion": "5",
"tags": []
},
{
"name": "data_backup_2024.zip",
"displayName": "Data Backup 2024",
"description": "Compressed backup of critical business data",
"directory": "IT",
"fileType": "Archive",
"mimeType": "application/zip",
"fileExtension": "zip",
"path": "/IT/data_backup_2024.zip",
"size": 524288000,
"checksum": "1679091c5a880faf6fb5e6087eb1b2dc",
"webViewLink": "https://drive.google.com/file/d/1ZIP123456789/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1ZIP123456789",
"isShared": false,
"fileVersion": "1",
"tags": []
},
{
"name": "contract_template.docx",
"displayName": "Standard Contract Template",
"description": "Legal contract template for vendor agreements",
"directory": "Legal",
"fileType": "Document",
"mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"fileExtension": "docx",
"path": "/Legal/contract_template.docx",
"size": 1048576,
"checksum": "8f14e45fceea167a5a36dedd4bea2543",
"webViewLink": "https://docs.google.com/document/d/1LEG456789012/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1LEG456789012",
"isShared": false,
"fileVersion": "12",
"tags": []
},
{
"name": "training_materials.pptx",
"displayName": "New Employee Training",
"description": "Onboarding presentation for new hires",
"directory": "HR",
"fileType": "Presentation",
"mimeType": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"fileExtension": "pptx",
"path": "/HR/training_materials.pptx",
"size": 6291456,
"checksum": "c9f0f895fb98ab9159f51fd0297e236d",
"webViewLink": "https://docs.google.com/presentation/d/1TRN789012345/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1TRN789012345",
"isShared": true,
"fileVersion": "18",
"tags": []
},
{
"name": "office_floorplan.pdf",
"displayName": "Office Floor Plan",
"description": "Current office layout and seating arrangement",
"directory": "Facilities",
"fileType": "PDF",
"mimeType": "application/pdf",
"fileExtension": "pdf",
"path": "/Facilities/office_floorplan.pdf",
"size": 2621440,
"checksum": "45c48cce2e2d7fbdea1afc51c7c6ad26",
"webViewLink": "https://drive.google.com/file/d/1FLP234567890/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1FLP234567890",
"isShared": true,
"fileVersion": "4",
"tags": []
},
{
"name": "compliance_audit_2024.xlsx",
"displayName": "Compliance Audit 2024",
"description": "Annual compliance audit results and findings",
"directory": "Legal",
"fileType": "Spreadsheet",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileExtension": "xlsx",
"path": "/Legal/compliance_audit_2024.xlsx",
"size": 4194304,
"checksum": "d3d9446802a44259755d38e6d163e820",
"webViewLink": "https://docs.google.com/spreadsheets/d/1CMP345678901/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1CMP345678901",
"isShared": false,
"fileVersion": "7",
"tags": []
},
{
"name": "customer_testimonials.mp4",
"displayName": "Customer Testimonials",
"description": "Video compilation of customer success stories",
"directory": "Marketing",
"fileType": "Video",
"mimeType": "video/mp4",
"fileExtension": "mp4",
"path": "/Marketing/customer_testimonials.mp4",
"size": 209715200,
"checksum": "6512bd43d9caa6e02c990b0a82652dca",
"webViewLink": "https://drive.google.com/file/d/1TST456789012/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1TST456789012",
"isShared": true,
"fileVersion": "2",
"tags": []
},
{
"name": "security_policy.pdf",
"displayName": "IT Security Policy",
"description": "Company-wide information security policies",
"directory": "IT",
"fileType": "PDF",
"mimeType": "application/pdf",
"fileExtension": "pdf",
"path": "/IT/security_policy.pdf",
"size": 1572864,
"checksum": "b6d767d2f8ed5d21a44b0e5886680cb9",
"webViewLink": "https://drive.google.com/file/d/1SEC567890123/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1SEC567890123",
"isShared": false,
"fileVersion": "9",
"tags": []
},
{
"name": "project_timeline.mpp",
"displayName": "Master Project Timeline",
"description": "Microsoft Project file with all active projects",
"directory": "PMO",
"fileType": "Document",
"mimeType": "application/vnd.ms-project",
"fileExtension": "mpp",
"path": "/PMO/project_timeline.mpp",
"size": 8388608,
"checksum": "37693cfc748049e45d87b8c7d8b9aacd",
"webViewLink": "https://drive.google.com/file/d/1PRJ678901234/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1PRJ678901234",
"isShared": false,
"fileVersion": "14",
"tags": []
},
{
"name": "brand_guidelines.pdf",
"displayName": "Brand Guidelines 2024",
"description": "Complete brand identity and usage guidelines",
"directory": "Marketing",
"fileType": "PDF",
"mimeType": "application/pdf",
"fileExtension": "pdf",
"path": "/Marketing/brand_guidelines.pdf",
"size": 10485760,
"checksum": "23a8a4371a925a89a0fa2ce8c33fd8dc",
"webViewLink": "https://drive.google.com/file/d/1BRD789012345/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1BRD789012345",
"isShared": true,
"fileVersion": "6",
"tags": []
},
{
"name": "architecture_diagram.vsdx",
"displayName": "System Architecture Diagram",
"description": "Technical architecture overview in Visio format",
"directory": "IT",
"fileType": "Document",
"mimeType": "application/vnd.ms-visio.drawing",
"fileExtension": "vsdx",
"path": "/IT/architecture_diagram.vsdx",
"size": 3670016,
"checksum": "1ff1de774005f8da13f42943881c655f",
"webViewLink": "https://drive.google.com/file/d/1ARC890123456/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1ARC890123456",
"isShared": false,
"fileVersion": "11",
"tags": []
},
{
"name": "expense_report_template.xlsx",
"displayName": "Expense Report Template",
"description": "Standard template for employee expense reports",
"directory": "Finance",
"fileType": "Spreadsheet",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileExtension": "xlsx",
"path": "/Finance/expense_report_template.xlsx",
"size": 524288,
"checksum": "8e296a067a37563370ded05f5a3bf3ec",
"webViewLink": "https://docs.google.com/spreadsheets/d/1EXP901234567/edit",
"downloadLink": "https://drive.google.com/uc?export=download&id=1EXP901234567",
"isShared": true,
"fileVersion": "20",
"tags": []
},
{
"name": "newsletter_december.html",
"displayName": "December Newsletter",
"description": "Company newsletter HTML template",
"directory": "Marketing",
"fileType": "Document",
"mimeType": "text/html",
"fileExtension": "html",
"path": "/Marketing/newsletter_december.html",
"size": 262144,
"checksum": "4e732ced3463d06de0ca9a15b6153677",
"webViewLink": "https://drive.google.com/file/d/1NWS012345678/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1NWS012345678",
"isShared": true,
"fileVersion": "2",
"tags": []
},
{
"name": "meeting_recording_2024Q4.mp4",
"displayName": "Q4 All Hands Meeting",
"description": "Recording of quarterly all-hands meeting",
"directory": "Executive",
"fileType": "Video",
"mimeType": "video/mp4",
"fileExtension": "mp4",
"path": "/Executive/meeting_recording_2024Q4.mp4",
"size": 1073741824,
"checksum": "02e74f10e0327ad868d138f2b4fdd6f0",
"webViewLink": "https://drive.google.com/file/d/1MTG123456789/view",
"downloadLink": "https://drive.google.com/uc?export=download&id=1MTG123456789",
"isShared": false,
"fileVersion": "1",
"tags": []
}
]