Update test-config for sparky-be
[aai/test-config.git] / sparky / appconfig / filters / aaiui_filters.json
diff --git a/sparky/appconfig/filters/aaiui_filters.json b/sparky/appconfig/filters/aaiui_filters.json
new file mode 100644 (file)
index 0000000..62b6811
--- /dev/null
@@ -0,0 +1,79 @@
+{
+       "filters": [
+       {
+               "filterId": "1",
+               "filterName": "Orchestration-Status",
+               "displayName": "Orchestration Status",
+               "dataType": "dropDown",
+        "multiSelect": "false",
+        "watermark": "Any Orchestration Status",
+        "optionsType": "options",
+               "dataSource": {
+                       "indexName": "aggregate_generic-vnf_index",
+                       "docType": "default",
+                       "fieldName": "orchestration-status"
+               }
+       },
+       {
+               "filterId": "2",
+               "filterName": "Prov-Status",
+               "displayName": "Provisioning Status",
+               "dataType": "dropDown",
+        "multiSelect": "false",
+        "watermark": "Any Provisioning Status",
+        "optionsType": "options",
+               "dataSource": {
+                       "indexName": "aggregate_generic-vnf_index",
+                       "docType": "default",
+                       "fieldName": "prov-status"
+               }
+       },
+       {
+               "filterId": "5",
+               "filterName": "Date",
+               "displayName": "Date",
+               "dataType": "date",
+        "multiSelect": "false",
+        "watermark": "Choose Date Range",
+        "defaultValue" : {"decode": "Today", "code": "last_0_hours"},
+        "optionsType": "dynamicOptions",
+        "optionsValues": [
+               {"decode": "Today", "code": "last_0_hours"},
+               {"decode": "Since Yesterday", "code": "last_1_days"},
+               {"decode": "Since Last Week", "code": "last_1_weeks"},
+               {"decode": "Since Last Month", "code": "last_1_months"},
+               {"decode": "Since Last Year", "code": "last_1_years"},
+               {"decode": "Custom Range", "code": "custom_range"}
+        ]
+       },
+    {
+        "filterId": "7",
+               "filterName": "NF-Type",
+               "displayName": "Network Function Type",
+               "dataType": "dropDown",
+        "multiSelect": "false",
+        "watermark": "Any Network Function Type",
+        "optionsType": "options",
+               "dataSource": {
+                       "indexName": "aggregate_generic-vnf_index",
+                       "docType": "default",
+                       "fieldName": "nf-type"
+               }    
+       },
+    {
+        "filterId": "8",
+               "filterName": "NF-Role",
+               "displayName": "Network Function Role",
+               "dataType": "dropDown",
+        "multiSelect": "false",
+        "watermark": "Any Network Function Role",
+        "optionsType": "options",
+               "dataSource": {
+                       "indexName": "aggregate_generic-vnf_index",
+                       "docType": "default",
+                       "fieldName": "nf-role"
+               }    
+       }       
+       
+  ]
+}
\ No newline at end of file