Added *variable to LoaderS template

This commit is contained in:
Trial97
2019-08-01 11:28:19 +03:00
committed by Dan Christian Bogos
parent 53018880b8
commit eec3bbe70c
11 changed files with 553 additions and 452 deletions

View File

@@ -191,6 +191,7 @@
// "synchronous": false, // block processing until export has a result
// "attempts": 1, // export attempts
// "field_separator": ",", // used field separator in some export formats, eg: *file_csv
// "attributes_context": "", // attributes context - empty disables attributes processing
// "header_fields": [], // template of the exported header fields
// "content_fields": [ // template of the exported content fields
// {"tag": "CGRID", "type": "*composed", "value": "~CGRID"},
@@ -294,6 +295,7 @@
// "session_indexes": [], // index sessions based on these fields for GetActiveSessions API
// "client_protocol": 1.0, // version of protocol to use when acting as JSON-PRC client <"0","1.0">
// "channel_sync_interval": "0", // sync channels to detect stale sessions (0 to disable)
// "terminate_attempts": 5 // attempts to get the session before terminating it
// },
@@ -522,145 +524,147 @@
// "type": "*attributes", // data source type
// "file_name": "Attributes.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "TenantID", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ProfileID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"},
// {"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*composed", "value": "~5"},
// {"tag": "FieldName", "field_id": "FieldName", "type": "*composed", "value": "~6"},
// {"tag": "Type", "field_id": "Type", "type": "*composed", "value": "~7"},
// {"tag": "Value", "field_id": "Value", "type": "*composed", "value": "~8"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~9"},
// {"tag": "TenantID", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ProfileID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"},
// {"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*variable", "value": "~5"},
// {"tag": "FieldName", "field_id": "FieldName", "type": "*variable", "value": "~6"},
// {"tag": "Type", "field_id": "Type", "type": "*variable", "value": "~7"},
// {"tag": "Value", "field_id": "Value", "type": "*variable", "value": "~8"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~10"},
// ],
// },
// {
// "type": "*filters", // data source type
// "file_name": "Filters.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterType", "field_id": "FilterType", "type": "*composed", "value": "~2"},
// {"tag": "FilterFieldName", "field_id": "FilterFieldName", "type": "*composed", "value": "~3"},
// {"tag": "FilterFieldValues", "field_id": "FilterFieldValues", "type": "*composed", "value": "~4"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~5"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterType", "field_id": "FilterType", "type": "*variable", "value": "~2"},
// {"tag": "FilterFieldName", "field_id": "FilterFieldName", "type": "*variable", "value": "~3"},
// {"tag": "FilterFieldValues", "field_id": "FilterFieldValues", "type": "*variable", "value": "~4"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~5"},
// ],
// },
// {
// "type": "*resources", // data source type
// "file_name": "Resources.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
// {"tag": "TTL", "field_id": "UsageTTL", "type": "*composed", "value": "~4"},
// {"tag": "Limit", "field_id": "Limit", "type": "*composed", "value": "~5"},
// {"tag": "AllocationMessage", "field_id": "AllocationMessage", "type": "*composed", "value": "~6"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~7"},
// {"tag": "Stored", "field_id": "Stored", "type": "*composed", "value": "~8"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~9"},
// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*composed", "value": "~10"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
// {"tag": "TTL", "field_id": "UsageTTL", "type": "*variable", "value": "~4"},
// {"tag": "Limit", "field_id": "Limit", "type": "*variable", "value": "~5"},
// {"tag": "AllocationMessage", "field_id": "AllocationMessage", "type": "*variable", "value": "~6"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"},
// {"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~8"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~9"},
// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~10"},
// ],
// },
// {
// "type": "*stats", // data source type
// "file_name": "Stats.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
// {"tag": "QueueLength", "field_id": "QueueLength", "type": "*composed", "value": "~4"},
// {"tag": "TTL", "field_id": "TTL", "type": "*composed", "value": "~5"},
// {"tag": "Metrics", "field_id": "Metrics", "type": "*composed", "value": "~6"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~7"},
// {"tag": "Stored", "field_id": "Stored", "type": "*composed", "value": "~8"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~9"},
// {"tag": "MinItems", "field_id": "MinItems", "type": "*composed", "value": "~10"},
// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*composed", "value": "~11"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
// {"tag": "QueueLength", "field_id": "QueueLength", "type": "*variable", "value": "~4"},
// {"tag": "TTL", "field_id": "TTL", "type": "*variable", "value": "~5"},
// {"tag": "MinItems", "field_id": "MinItems", "type": "*variable", "value": "~6"},
// {"tag": "MetricIDs", "field_id": "MetricIDs", "type": "*variable", "value": "~7"},
// {"tag": "MetricFilterIDs", "field_id": "MetricFilterIDs", "type": "*variable", "value": "~8"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"},
// {"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~10"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~11"},
// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~12"},
// ],
// },
// {
// "type": "*thresholds", // data source type
// "file_name": "Thresholds.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
// {"tag": "MaxHits", "field_id": "MaxHits", "type": "*composed", "value": "~4"},
// {"tag": "MinHits", "field_id": "MinHits", "type": "*composed", "value": "~5"},
// {"tag": "MinSleep", "field_id": "MinSleep", "type": "*composed", "value": "~6"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~7"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~8"},
// {"tag": "ActionIDs", "field_id": "ActionIDs", "type": "*composed", "value": "~9"},
// {"tag": "Async", "field_id": "Async", "type": "*composed", "value": "~10"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
// {"tag": "MaxHits", "field_id": "MaxHits", "type": "*variable", "value": "~4"},
// {"tag": "MinHits", "field_id": "MinHits", "type": "*variable", "value": "~5"},
// {"tag": "MinSleep", "field_id": "MinSleep", "type": "*variable", "value": "~6"},
// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~8"},
// {"tag": "ActionIDs", "field_id": "ActionIDs", "type": "*variable", "value": "~9"},
// {"tag": "Async", "field_id": "Async", "type": "*variable", "value": "~10"},
// ],
// },
// {
// "type": "*suppliers", // data source type
// "file_name": "Suppliers.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
// {"tag": "Sorting", "field_id": "Sorting", "type": "*composed", "value": "~4"},
// {"tag": "SortingParamameters", "field_id": "SortingParamameters", "type": "*composed", "value": "~5"},
// {"tag": "SupplierID", "field_id": "SupplierID", "type": "*composed", "value": "~6"},
// {"tag": "SupplierFilterIDs", "field_id": "SupplierFilterIDs", "type": "*composed", "value": "~7"},
// {"tag": "SupplierAccountIDs", "field_id": "SupplierAccountIDs", "type": "*composed", "value": "~8"},
// {"tag": "SupplierRatingPlanIDs", "field_id": "SupplierRatingPlanIDs", "type": "*composed", "value": "~9"},
// {"tag": "SupplierResourceIDs", "field_id": "SupplierResourceIDs", "type": "*composed", "value": "~10"},
// {"tag": "SupplierStatIDs", "field_id": "SupplierStatIDs", "type": "*composed", "value": "~11"},
// {"tag": "SupplierWeight", "field_id": "SupplierWeight", "type": "*composed", "value": "~12"},
// {"tag": "SupplierBlocker", "field_id": "SupplierBlocker", "type": "*composed", "value": "~13"},
// {"tag": "SupplierParameters", "field_id": "SupplierParameters", "type": "*composed", "value": "~14"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~15"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
// {"tag": "Sorting", "field_id": "Sorting", "type": "*variable", "value": "~4"},
// {"tag": "SortingParamameters", "field_id": "SortingParamameters", "type": "*variable", "value": "~5"},
// {"tag": "SupplierID", "field_id": "SupplierID", "type": "*variable", "value": "~6"},
// {"tag": "SupplierFilterIDs", "field_id": "SupplierFilterIDs", "type": "*variable", "value": "~7"},
// {"tag": "SupplierAccountIDs", "field_id": "SupplierAccountIDs", "type": "*variable", "value": "~8"},
// {"tag": "SupplierRatingPlanIDs", "field_id": "SupplierRatingPlanIDs", "type": "*variable", "value": "~9"},
// {"tag": "SupplierResourceIDs", "field_id": "SupplierResourceIDs", "type": "*variable", "value": "~10"},
// {"tag": "SupplierStatIDs", "field_id": "SupplierStatIDs", "type": "*variable", "value": "~11"},
// {"tag": "SupplierWeight", "field_id": "SupplierWeight", "type": "*variable", "value": "~12"},
// {"tag": "SupplierBlocker", "field_id": "SupplierBlocker", "type": "*variable", "value": "~13"},
// {"tag": "SupplierParameters", "field_id": "SupplierParameters", "type": "*variable", "value": "~14"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~15"},
// ],
// },
// {
// "type": "*chargers", // data source type
// "file_name": "Chargers.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
// {"tag": "RunID", "field_id": "RunID", "type": "*composed", "value": "~4"},
// {"tag": "AttributeIDs", "field_id": "AttributeIDs", "type": "*composed", "value": "~5"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~6"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
// {"tag": "RunID", "field_id": "RunID", "type": "*variable", "value": "~4"},
// {"tag": "AttributeIDs", "field_id": "AttributeIDs", "type": "*variable", "value": "~5"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~6"},
// ],
// },
// {
// "type": "*dispatchers", // data source type
// "file_name": "DispatcherProfiles.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"},
// {"tag": "Strategy", "field_id": "Strategy", "type": "*composed", "value": "~5"},
// {"tag": "StrategyParameters", "field_id": "StrategyParameters", "type": "*composed", "value": "~6"},
// {"tag": "ConnID", "field_id": "ConnID", "type": "*composed", "value": "~7"},
// {"tag": "ConnFilterIDs", "field_id": "ConnFilterIDs", "type": "*composed", "value": "~8"},
// {"tag": "ConnWeight", "field_id": "ConnWeight", "type": "*composed", "value": "~9"},
// {"tag": "ConnBlocker", "field_id": "ConnBlocker", "type": "*composed", "value": "~10"},
// {"tag": "ConnParameters", "field_id": "ConnParameters", "type": "*composed", "value": "~11"},
// {"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~12"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"},
// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"},
// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"},
// {"tag": "Strategy", "field_id": "Strategy", "type": "*variable", "value": "~5"},
// {"tag": "StrategyParameters", "field_id": "StrategyParameters", "type": "*variable", "value": "~6"},
// {"tag": "ConnID", "field_id": "ConnID", "type": "*variable", "value": "~7"},
// {"tag": "ConnFilterIDs", "field_id": "ConnFilterIDs", "type": "*variable", "value": "~8"},
// {"tag": "ConnWeight", "field_id": "ConnWeight", "type": "*variable", "value": "~9"},
// {"tag": "ConnBlocker", "field_id": "ConnBlocker", "type": "*variable", "value": "~10"},
// {"tag": "ConnParameters", "field_id": "ConnParameters", "type": "*variable", "value": "~11"},
// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~12"},
// ],
// },
// {
// "type": "*dispatcher_hosts", // data source type
// "file_name": "DispatcherHosts.csv", // file name in the tp_in_dir
// "fields": [
// {"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
// {"tag": "Address", "field_id": "Address", "type": "*composed", "value": "~2"},
// {"tag": "Transport", "field_id": "Transport", "type": "*composed", "value": "~3"},
// {"tag": "TLS", "field_id": "TLS", "type": "*composed", "value": "~4"},
// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
// {"tag": "Address", "field_id": "Address", "type": "*variable", "value": "~2"},
// {"tag": "Transport", "field_id": "Transport", "type": "*variable", "value": "~3"},
// {"tag": "TLS", "field_id": "TLS", "type": "*variable", "value": "~4"},
// ],
// },
// ],
@@ -759,6 +763,7 @@
// "scheduler_conns": [ // connections to SchedulerS for reloads
// {"address": "*internal"}
// ],
// "attributes_conns": [], // connections to AttributeS for CDRExporter
// },
}

View File

@@ -136,17 +136,17 @@
"type": "*attributes", // data source type
"file_name": "Attributes.csv", // file name in the tp_in_dir
"fields": [
{"tag": "TenantID", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ProfileID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"},
{"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*composed", "value": "~5"},
{"tag": "FieldName", "field_id": "FieldName", "type": "*composed", "value": "~6"},
{"tag": "Type", "field_id": "Type", "type": "*composed", "value": "~7"},
{"tag": "Value", "field_id": "Value", "type": "*composed", "value": "~8"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~10"},
{"tag": "TenantID", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ProfileID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"},
{"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*variable", "value": "~5"},
{"tag": "FieldName", "field_id": "FieldName", "type": "*variable", "value": "~6"},
{"tag": "Type", "field_id": "Type", "type": "*variable", "value": "~7"},
{"tag": "Value", "field_id": "Value", "type": "*variable", "value": "~8"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~10"},
],
},
],

View File

@@ -87,17 +87,17 @@
"type": "*attributes", // data source type
"file_name": "Attributes.csv", // file name in the tp_in_dir
"fields": [
{"tag": "TenantID", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ProfileID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "Contexts", "field_id": "Contexts", "type": "*composed", "value": "~2"},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~3"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~4"},
{"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*composed", "value": "~5"},
{"tag": "FieldName", "field_id": "FieldName", "type": "*composed", "value": "~6"},
{"tag": "Type", "field_id": "Type", "type": "*composed", "value": "~7"},
{"tag": "Value", "field_id": "Value", "type": "*composed", "value": "~8"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~10"},
{"tag": "TenantID", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ProfileID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"},
{"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*variable", "value": "~5"},
{"tag": "FieldName", "field_id": "FieldName", "type": "*variable", "value": "~6"},
{"tag": "Type", "field_id": "Type", "type": "*variable", "value": "~7"},
{"tag": "Value", "field_id": "Value", "type": "*variable", "value": "~8"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~10"},
],
},
],

View File

@@ -86,75 +86,75 @@
"type": "*resources", // data source type
"file_name": "Resources.csv", // file name in the tp_in_dir
"fields": [
{"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
{"tag": "TTL", "field_id": "UsageTTL", "type": "*composed", "value": "~4"},
{"tag": "Limit", "field_id": "Limit", "type": "*composed", "value": "~5"},
{"tag": "AllocationMessage", "field_id": "AllocationMessage", "type": "*composed", "value": "~6"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~7"},
{"tag": "Stored", "field_id": "Stored", "type": "*composed", "value": "~8"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~9"},
{"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*composed", "value": "~10"},
{"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
{"tag": "TTL", "field_id": "UsageTTL", "type": "*variable", "value": "~4"},
{"tag": "Limit", "field_id": "Limit", "type": "*variable", "value": "~5"},
{"tag": "AllocationMessage", "field_id": "AllocationMessage", "type": "*variable", "value": "~6"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"},
{"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~8"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~9"},
{"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~10"},
],
},
{
"type": "*stats", // data source type
"file_name": "Stats.csv", // file name in the tp_in_dir
"fields": [
{"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
{"tag": "QueueLength", "field_id": "QueueLength", "type": "*composed", "value": "~4"},
{"tag": "TTL", "field_id": "TTL", "type": "*composed", "value": "~5"},
{"tag": "Metrics", "field_id": "Metrics", "type": "*composed", "value": "~6"},
{"tag": "MetricParams", "field_id": "Parameters", "type": "*composed", "value": "~7"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~8"},
{"tag": "Stored", "field_id": "Stored", "type": "*composed", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~10"},
{"tag": "MinItems", "field_id": "MinItems", "type": "*composed", "value": "~11"},
{"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*composed", "value": "~12"},
{"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
{"tag": "QueueLength", "field_id": "QueueLength", "type": "*variable", "value": "~4"},
{"tag": "TTL", "field_id": "TTL", "type": "*variable", "value": "~5"},
{"tag": "Metrics", "field_id": "Metrics", "type": "*variable", "value": "~6"},
{"tag": "MetricParams", "field_id": "Parameters", "type": "*variable", "value": "~7"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~8"},
{"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~9"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~10"},
{"tag": "MinItems", "field_id": "MinItems", "type": "*variable", "value": "~11"},
{"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~12"},
],
},
{
"type": "*thresholds", // data source type
"file_name": "Thresholds.csv", // file name in the tp_in_dir
"fields": [
{"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
{"tag": "MaxHits", "field_id": "MaxHits", "type": "*composed", "value": "~4"},
{"tag": "MinHits", "field_id": "MinHits", "type": "*composed", "value": "~5"},
{"tag": "MinSleep", "field_id": "MinSleep", "type": "*composed", "value": "~6"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*composed", "value": "~7"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~8"},
{"tag": "ActionIDs", "field_id": "ActionIDs", "type": "*composed", "value": "~9"},
{"tag": "Async", "field_id": "Async", "type": "*composed", "value": "~10"},
{"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
{"tag": "MaxHits", "field_id": "MaxHits", "type": "*variable", "value": "~4"},
{"tag": "MinHits", "field_id": "MinHits", "type": "*variable", "value": "~5"},
{"tag": "MinSleep", "field_id": "MinSleep", "type": "*variable", "value": "~6"},
{"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~8"},
{"tag": "ActionIDs", "field_id": "ActionIDs", "type": "*variable", "value": "~9"},
{"tag": "Async", "field_id": "Async", "type": "*variable", "value": "~10"},
],
},
{
"type": "*suppliers", // data source type
"file_name": "Suppliers.csv", // file name in the tp_in_dir
"fields": [
{"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*composed", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~3"},
{"tag": "Sorting", "field_id": "Sorting", "type": "*composed", "value": "~4"},
{"tag": "SortingParamameters", "field_id": "SortingParamameters", "type": "*composed", "value": "~5"},
{"tag": "SupplierID", "field_id": "SupplierID", "type": "*composed", "value": "~6"},
{"tag": "SupplierFilterIDs", "field_id": "SupplierFilterIDs", "type": "*composed", "value": "~7"},
{"tag": "SupplierAccountIDs", "field_id": "SupplierAccountIDs", "type": "*composed", "value": "~8"},
{"tag": "SupplierRatingPlanIDs", "field_id": "SupplierRatingPlanIDs", "type": "*composed", "value": "~9"},
{"tag": "SupplierResourceIDs", "field_id": "SupplierResourceIDs", "type": "*composed", "value": "~10"},
{"tag": "SupplierStatIDs", "field_id": "SupplierStatIDs", "type": "*composed", "value": "~11"},
{"tag": "SupplierWeight", "field_id": "SupplierWeight", "type": "*composed", "value": "~12"},
{"tag": "SupplierBlocker", "field_id": "SupplierBlocker", "type": "*composed", "value": "~13"},
{"tag": "SupplierParameters", "field_id": "SupplierParameters", "type": "*composed", "value": "~14"},
{"tag": "Weight", "field_id": "Weight", "type": "*composed", "value": "~15"},
{"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"},
{"tag": "Sorting", "field_id": "Sorting", "type": "*variable", "value": "~4"},
{"tag": "SortingParamameters", "field_id": "SortingParamameters", "type": "*variable", "value": "~5"},
{"tag": "SupplierID", "field_id": "SupplierID", "type": "*variable", "value": "~6"},
{"tag": "SupplierFilterIDs", "field_id": "SupplierFilterIDs", "type": "*variable", "value": "~7"},
{"tag": "SupplierAccountIDs", "field_id": "SupplierAccountIDs", "type": "*variable", "value": "~8"},
{"tag": "SupplierRatingPlanIDs", "field_id": "SupplierRatingPlanIDs", "type": "*variable", "value": "~9"},
{"tag": "SupplierResourceIDs", "field_id": "SupplierResourceIDs", "type": "*variable", "value": "~10"},
{"tag": "SupplierStatIDs", "field_id": "SupplierStatIDs", "type": "*variable", "value": "~11"},
{"tag": "SupplierWeight", "field_id": "SupplierWeight", "type": "*variable", "value": "~12"},
{"tag": "SupplierBlocker", "field_id": "SupplierBlocker", "type": "*variable", "value": "~13"},
{"tag": "SupplierParameters", "field_id": "SupplierParameters", "type": "*variable", "value": "~14"},
{"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~15"},
],
},
],
@@ -176,12 +176,12 @@
"type": "*filters", // data source type
"file_name": "Filters.csv", // file name in the tp_in_dir
"fields": [
{"tag": "Tenant", "field_id": "Tenant", "type": "*composed", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*composed", "value": "~1", "mandatory": true},
{"tag": "FilterType", "field_id": "FilterType", "type": "*composed", "value": "~2"},
{"tag": "FilterFieldName", "field_id": "FilterFieldName", "type": "*composed", "value": "~3"},
{"tag": "FilterFieldValues", "field_id": "FilterFieldValues", "type": "*composed", "value": "~4"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*composed", "value": "~5"},
{"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true},
{"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true},
{"tag": "FilterType", "field_id": "FilterType", "type": "*variable", "value": "~2"},
{"tag": "FilterFieldName", "field_id": "FilterFieldName", "type": "*variable", "value": "~3"},
{"tag": "FilterFieldValues", "field_id": "FilterFieldValues", "type": "*variable", "value": "~4"},
{"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~5"},
],
},
],