Add Export/Import Data functionality for column classifications#24
Draft
Add Export/Import Data functionality for column classifications#24
Conversation
Co-authored-by: stevehansen <2143488+stevehansen@users.noreply.github.com>
… testing Co-authored-by: stevehansen <2143488+stevehansen@users.noreply.github.com>
Co-authored-by: stevehansen <2143488+stevehansen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Export/Import data
Add Export/Import Data functionality for column classifications
Jun 5, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements comprehensive export and import functionality for SQL Server column classification data, allowing users to backup, restore, and migrate their data classification configurations.
Features Added
Export Data
ExportDataavailable on Database entitiesClassifyData_Export_{DatabaseName}_{Timestamp}.jsonImport Data
ImportDataavailable on Database entitiesTest Export
TestExportDatafor validation and testingTechnical Implementation
ClassificationDataandColumnClassificationDTOs for structured data transferDatabaseActionsclass with three new action methodsmodel.jsonto register actions in the Vidyano UI frameworkJSON Export Format
{ "ExportedAt": "2024-01-15T14:30:00Z", "DatabaseName": "SampleDatabase", "Columns": [ { "Schema": "dbo", "Table": "Users", "Column": "Email", "Type": "varchar", "InformationTypeId": "5C503E21-22C6-81FA-620B-F369B8EC38D1", "InformationTypeName": "Contact Info", "SensitivityLabelId": "684a0db2-d514-49d8-8c0c-df84a7b083eb", "SensitivityLabelName": "General", "Description": "User email address" } ] }Documentation
EXPORT_IMPORT.mdwith usage instructions and technical detailsREADME.mdto highlight the new functionalityUse Cases
Safety Features
The implementation follows existing code patterns and integrates seamlessly with the current Vidyano-based application architecture while providing robust new capabilities for classification data management.
Fixes #8.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.