25 lines
980 B
Markdown
25 lines
980 B
Markdown
# Data Model: Migration Dashboard Grid
|
|
|
|
## Entities
|
|
|
|
### DashboardMetadata
|
|
**Source**: Superset API (`/api/v1/dashboard/`)
|
|
**Purpose**: Represents a dashboard available for migration.
|
|
|
|
| Field | Type | Description | Source Mapping |
|
|
|-------|------|-------------|----------------|
|
|
| `id` | Integer | Unique identifier | `id` |
|
|
| `title` | String | Display name of the dashboard | `dashboard_title` |
|
|
| `last_modified` | String (ISO 8601) | Timestamp of last modification | `changed_on_utc` |
|
|
| `status` | Enum ('published', 'draft') | Publication status | `published` (boolean) -> 'published'/'draft' |
|
|
|
|
## Value Objects
|
|
|
|
### DashboardSelection
|
|
**Purpose**: Represents the user's selection of dashboards to migrate.
|
|
|
|
| Field | Type | Description |
|
|
|-------|------|-------------|
|
|
| `selected_ids` | List[Integer] | List of dashboard IDs selected for migration |
|
|
| `source_env_id` | String | ID of the source environment |
|
|
| `target_env_id` | String | ID of the target environment | |