Commit 699044bb authored by Niina Helistö's avatar Niina Helistö
Browse files

Testing new mappings for grid-node boundary parameters

parent b2061c2b
...@@ -1400,7 +1400,8 @@ ...@@ -1400,7 +1400,8 @@
}, },
{ {
"map_type": "ParameterDefinition", "map_type": "ParameterDefinition",
"position": 2 "position": 2,
"filter_re": "^((?!(Slack)).)*$"
}, },
{ {
"map_type": "Alternative", "map_type": "Alternative",
...@@ -1430,6 +1431,93 @@ ...@@ -1430,6 +1431,93 @@
} }
] ]
} }
},
{
"Mapping 2": {
"mapping": [
{
"map_type": "RelationshipClass",
"position": "hidden",
"value": "grid__node",
"skip_columns": [
0,
1,
2,
3,
4
]
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "grid"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "node"
},
{
"map_type": "Relationship",
"position": "hidden",
"value": "relationship"
},
{
"map_type": "RelationshipObject",
"position": 0,
"import_objects": true
},
{
"map_type": "RelationshipObject",
"position": 1,
"import_objects": true
},
{
"map_type": "RelationshipMetadata",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"value": "slack"
},
{
"map_type": "Alternative",
"position": "hidden",
"value": "Base"
},
{
"map_type": "ParameterValueMetadata",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden",
"value": "map"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 2,
"filter_re": "Slack"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 3
},
{
"map_type": "ExpandedValue",
"position": 4
}
]
}
} }
], ],
"flowUnit": [ "flowUnit": [
...@@ -1909,7 +1997,103 @@ ...@@ -1909,7 +1997,103 @@
}, },
{ {
"map_type": "ParameterDefinition", "map_type": "ParameterDefinition",
"position": 2 "position": 2,
"filter_re": "^((?!(Slack)).)*$"
},
{
"map_type": "Alternative",
"position": "hidden",
"value": "Base_ts"
},
{
"map_type": "ParameterValueMetadata",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden",
"value": "map"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": "hidden",
"value": "timeseries"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 3
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 4
},
{
"map_type": "ExpandedValue",
"position": 5
}
]
}
},
{
"Mapping 2": {
"mapping": [
{
"map_type": "RelationshipClass",
"position": "hidden",
"value": "grid__node",
"skip_columns": [
0,
1,
2,
3,
4
]
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "grid"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden",
"value": "node"
},
{
"map_type": "Relationship",
"position": "hidden",
"value": "relationship"
},
{
"map_type": "RelationshipObject",
"position": 0,
"import_objects": true
},
{
"map_type": "RelationshipObject",
"position": 1,
"import_objects": true
},
{
"map_type": "RelationshipMetadata",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"value": "slack"
}, },
{ {
"map_type": "Alternative", "map_type": "Alternative",
...@@ -1929,6 +2113,24 @@ ...@@ -1929,6 +2113,24 @@
"map_type": "IndexName", "map_type": "IndexName",
"position": "hidden" "position": "hidden"
}, },
{
"map_type": "ParameterValueIndex",
"position": "hidden",
"value": "timeseries"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 2,
"filter_re": "Slack"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{ {
"map_type": "ParameterValueIndex", "map_type": "ParameterValueIndex",
"position": 3 "position": 3
...@@ -3250,16 +3452,16 @@ ...@@ -3250,16 +3452,16 @@
"uss_bound": {} "uss_bound": {}
}, },
"table_types": { "table_types": {
"p_gn": { "restype": {
"0": "string", "0": "string"
"1": "string",
"2": "string",
"3": "string"
}, },
"p_unit": { "ts_node": {
"0": "string", "0": "string",
"1": "string", "1": "string",
"2": "float" "2": "string",
"3": "string",
"4": "string",
"5": "string"
} }
}, },
"table_row_types": {}, "table_row_types": {},
......
...@@ -2041,7 +2041,7 @@ ...@@ -2041,7 +2041,7 @@
{ {
"map_type": "ParameterDefinition", "map_type": "ParameterDefinition",
"position": 2, "position": 2,
"filter_re": "^((?!(influx|storageValue|boundSamples)).)*$", "filter_re": "^((?!(influx|storageValue|boundSamples|slack)).)*$",
"header": "*" "header": "*"
}, },
{ {
...@@ -2070,7 +2070,16 @@ ...@@ -2070,7 +2070,16 @@
{ {
"map_type": "ParameterValueType", "map_type": "ParameterValueType",
"position": "hidden", "position": "hidden",
"filter_re": "2d_map" "filter_re": "3d_map"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": "hidden",
"header": "*"
}, },
{ {
"map_type": "IndexName", "map_type": "IndexName",
...@@ -2644,6 +2653,187 @@ ...@@ -2644,6 +2653,187 @@
"always_export_header": true, "always_export_header": true,
"group_fn": "no_group", "group_fn": "no_group",
"use_fixed_table_name": true "use_fixed_table_name": true
},
"p_gnBoundaryPropertiesForStates2": {
"type": "relationship_parameter_values",
"mapping": [
{
"map_type": "FixedValue",
"position": "table_name",
"value": "p_gnBoundaryPropertiesForStates"
},
{
"map_type": "RelationshipClass",
"position": "hidden",
"filter_re": "^grid__node$"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"filter_re": "^slack$"
},
{
"map_type": "ParameterValueList",
"position": "hidden",
"ignorable": true
},
{
"map_type": "Relationship",
"position": "hidden"
},
{
"map_type": "RelationshipObject",
"position": 0,
"header": "*"
},
{
"map_type": "RelationshipObject",
"position": 1,
"header": "*"
},
{
"map_type": "Alternative",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden",
"filter_re": "2d_map"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 2,
"header": "*"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 3,
"header": "*"
},
{
"map_type": "ExpandedValue",
"position": 4
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
},
"ts_node2": {
"type": "relationship_parameter_values",
"mapping": [
{
"map_type": "FixedValue",
"position": "table_name",
"value": "ts_node"
},
{
"map_type": "RelationshipClass",
"position": "hidden",
"filter_re": "^grid__node$"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden"
},
{
"map_type": "RelationshipClassObjectClass",
"position": "hidden"
},
{
"map_type": "ParameterDefinition",
"position": "hidden",
"filter_re": "^slack$"
},
{
"map_type": "ParameterValueList",
"position": "hidden",
"ignorable": true
},
{
"map_type": "Relationship",
"position": "hidden"
},
{
"map_type": "RelationshipObject",
"position": 0,
"header": "*"
},
{
"map_type": "RelationshipObject",
"position": 1,
"header": "*"
},
{
"map_type": "Alternative",
"position": "hidden"
},
{
"map_type": "ParameterValueType",
"position": "hidden",
"filter_re": "4d_map"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": "hidden"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 2,
"header": "*"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 3,
"header": "*"
},
{
"map_type": "IndexName",
"position": "hidden"
},
{
"map_type": "ParameterValueIndex",
"position": 4,
"header": "*"
},
{
"map_type": "ExpandedValue",
"position": 5
}
],
"enabled": true,
"always_export_header": true,
"group_fn": "no_group",
"use_fixed_table_name": true
} }
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment