forked from awslabs/mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasset_mapping_config_test_20251018_135035.json
More file actions
103 lines (103 loc) · 3.11 KB
/
Copy pathasset_mapping_config_test_20251018_135035.json
File metadata and controls
103 lines (103 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"environment": "test",
"export_timestamp": "2025-10-18T13:50:35.675237",
"mapping_rules": [
{
"rule_id": "datasphere_space_to_database",
"rule_type": "naming_convention",
"source_field": "technical_name",
"target_field": "database_name",
"transformation_logic": "datasphere_to_glue_name",
"conditions": {},
"priority": 100,
"is_active": true,
"description": "Map Datasphere space to Glue database with naming convention"
},
{
"rule_id": "analytical_model_to_table",
"rule_type": "field_mapping",
"source_field": "technical_name",
"target_field": "table_name",
"transformation_logic": "sanitize",
"conditions": {
"asset_type": "analytical_model"
},
"priority": 100,
"is_active": true,
"description": "Map analytical model name to Glue table name"
},
{
"rule_id": "business_name_preservation",
"rule_type": "business_rule",
"source_field": "business_name",
"target_field": "display_name",
"transformation_logic": "preserve_business_context",
"conditions": {},
"priority": 100,
"is_active": true,
"description": "Preserve business names and context"
},
{
"rule_id": "dimensions_to_parameters",
"rule_type": "value_transformation",
"source_field": "business_context.dimensions",
"target_field": "parameters.dimensions",
"transformation_logic": "join_with_comma",
"conditions": {},
"priority": 100,
"is_active": true,
"description": "Convert dimensions list to comma-separated parameter"
},
{
"rule_id": "measures_to_parameters",
"rule_type": "value_transformation",
"source_field": "business_context.measures",
"target_field": "parameters.measures",
"transformation_logic": "join_with_comma",
"conditions": {},
"priority": 100,
"is_active": true,
"description": "Convert measures list to comma-separated parameter"
}
],
"naming_conventions": [
{
"convention_id": "datasphere_space_naming",
"pattern": "^(.+)$",
"replacement": "datasphere_\\1_test",
"asset_types": [
"space"
],
"environment_prefix": true,
"description": "Add datasphere prefix and environment suffix to spaces"
},
{
"convention_id": "analytical_model_naming",
"pattern": "^(.+)$",
"replacement": "\\1_model",
"asset_types": [
"analytical_model"
],
"environment_prefix": true,
"description": "Add model suffix to analytical models"
}
],
"conflict_resolutions": [
{
"conflict_id": "schema_conflict",
"conflict_type": "schema_mismatch",
"strategy": "source_wins",
"custom_logic": null,
"priority_rules": {},
"description": "Source system wins for schema conflicts"
},
{
"conflict_id": "naming_conflict",
"conflict_type": "name_collision",
"strategy": "custom_rule",
"custom_logic": "append_timestamp",
"priority_rules": {},
"description": "Append timestamp for naming conflicts"
}
]
}