How skylinecommunications/skyline.dataminer.dev.utils.solutions.documenthub works
DocumentHub is a DataMiner-facing API for managing files through configured buckets and local, SharePoint, or DOM attachment storage. Its principal workflow is a custom solution calling the client’s file API, which validates and dispatches operations to a storage backend; file results are represented through backend-neutral adapters and paging data. SDM models and repositories describe buckets and storage configuration, while installer and Automation, Protocol, and GQI extensions provide deployment and integration capabilities. Several dispatch links are documented at a high level but their implementation was not sampled, so those links are marked unverified.
Main entry points: Files.cs File Operations · DocumentBucket.cs Document Buckets · DocHubClient.cs DocumentHub Client · IDocumentHubApiHelper.cs SDM Repositories
Components 22
Client API
- DocumentHub Client
DevPack/API/DocHubClient/DocHubClient.cs - File Operations
DevPack/API/DocHubClient/Files.cs - File Validation
DevPack/API/DocHubClient/FileValidator.cs
Storage Backends
- File Abstraction
DevPack/API/StorageHandlers/FileAdapters/IDocHubFile.cs - Paged Results
DevPack/API/StorageHandlers/Paging/DocHubPageData.cs - Local Storage
DevPack/API/StorageHandlers/LocalHandler.cs - Local File Adapter
DevPack/API/StorageHandlers/FileAdapters/FileInfoAdapter.cs - DOM Attachments
DevPack/API/StorageHandlers/DOMAttachmentsHandler.cs - DOM File Adapter
DevPack/API/StorageHandlers/FileAdapters/DomFileAdapter.cs - SharePoint Storage
DevPack/API/StorageHandlers/SharePointHandler.cs - Drive Item Adapter
DevPack/API/StorageHandlers/FileAdapters/DriveItemAdapter.cs
Configuration and Setup
- Document Buckets
DevPack/SDM/Models/DocumentBucket.cs - Storage Types
DevPack/SDM/Models/StorageType.cs - DOM Source Config
DevPack/SDM/Models/DomSource.cs - SharePoint Config
DevPack/SDM/Models/SharePointConfiguration.cs - SDM Repositories
DevPack/SDM/Helpers/IDocumentHubApiHelper.cs - DOM Installer
DevPack.Installer/DOM/DomInstaller.cs
DataMiner Integrations
- Automation Extension
DevPack.Automation/Extensions/EngineExtensions.cs - Protocol Extension
DevPack.Protocol/Extensions/SLProtocolExtensions.cs - GQI Extension
DevPack.GQI/Extensions/GqiDmsExtensions.cs
Other components
- Custom Solution
- Microsoft Graph
Connections 22
- Custom Solution → DocumentHub Client: uses API
README.md - DocumentHub Client → File Operations: creates
DevPack/API/DocHubClient/DocHubClient.cs - File Operations → File Validation: validates with
DevPack/API/DocHubClient/Files.cs - File Operations → Local Storage: dispatches to
- File Operations → DOM Attachments: dispatches to
- File Operations → SharePoint Storage: dispatches to
- Local Storage → Local File Adapter: creates
DevPack/API/StorageHandlers/LocalHandler.cs - Local Storage → File Abstraction: returns
DevPack/API/StorageHandlers/LocalHandler.cs - DOM Attachments → DOM File Adapter: uses
DevPack/API/StorageHandlers/DOMAttachmentsHandler.cs - DOM Attachments → File Abstraction: returns
DevPack/API/StorageHandlers/DOMAttachmentsHandler.cs - SharePoint Storage → Drive Item Adapter: uses
DevPack/API/StorageHandlers/SharePointHandler.cs - SharePoint Storage → Microsoft Graph: requests files
DevPack/API/StorageHandlers/SharePointHandler.cs - File Operations → Paged Results: uses pages
DevPack/API/DocHubClient/Files.cs - Document Buckets → Storage Types: specifies
DevPack/SDM/Models/DocumentBucket.cs - Document Buckets → DOM Source Config: references
DevPack/SDM/Models/DocumentBucket.cs - Document Buckets → SharePoint Config: references
DevPack/SDM/Models/DocumentBucket.cs - SDM Repositories → Document Buckets: exposes repository
DevPack/SDM/Helpers/IDocumentHubApiHelper.cs - SDM Repositories → DOM Source Config: exposes repository
DevPack/SDM/Helpers/IDocumentHubApiHelper.cs - SDM Repositories → SharePoint Config: exposes repository
DevPack/SDM/Helpers/IDocumentHubApiHelper.cs - DOM Installer → Document Buckets: installs schema
- Automation Extension → DocumentHub Client: extends access
DevPack.Automation/Extensions/EngineExtensions.cs - Protocol Extension → DocumentHub Client: extends access
DevPack.Protocol/Extensions/SLProtocolExtensions.cs