Update test-config for sparky-be
[aai/test-config.git] / sparky / appconfig / filters / aaiui_filters.json
1 {
2         "filters": [
3         {
4                 "filterId": "1",
5                 "filterName": "Orchestration-Status",
6                 "displayName": "Orchestration Status",
7                 "dataType": "dropDown",
8         "multiSelect": "false",
9         "watermark": "Any Orchestration Status",
10         "optionsType": "options",
11                 "dataSource": {
12                         "indexName": "aggregate_generic-vnf_index",
13                         "docType": "default",
14                         "fieldName": "orchestration-status"
15                 }
16         },
17         {
18                 "filterId": "2",
19                 "filterName": "Prov-Status",
20                 "displayName": "Provisioning Status",
21                 "dataType": "dropDown",
22         "multiSelect": "false",
23         "watermark": "Any Provisioning Status",
24         "optionsType": "options",
25                 "dataSource": {
26                         "indexName": "aggregate_generic-vnf_index",
27                         "docType": "default",
28                         "fieldName": "prov-status"
29                 }
30         },
31         {
32                 "filterId": "5",
33                 "filterName": "Date",
34                 "displayName": "Date",
35                 "dataType": "date",
36         "multiSelect": "false",
37         "watermark": "Choose Date Range",
38         "defaultValue" : {"decode": "Today", "code": "last_0_hours"},
39         "optionsType": "dynamicOptions",
40         "optionsValues": [
41                 {"decode": "Today", "code": "last_0_hours"},
42                 {"decode": "Since Yesterday", "code": "last_1_days"},
43                 {"decode": "Since Last Week", "code": "last_1_weeks"},
44                 {"decode": "Since Last Month", "code": "last_1_months"},
45                 {"decode": "Since Last Year", "code": "last_1_years"},
46                 {"decode": "Custom Range", "code": "custom_range"}
47         ]
48         },
49     {
50         "filterId": "7",
51                 "filterName": "NF-Type",
52                 "displayName": "Network Function Type",
53                 "dataType": "dropDown",
54         "multiSelect": "false",
55         "watermark": "Any Network Function Type",
56         "optionsType": "options",
57                 "dataSource": {
58                         "indexName": "aggregate_generic-vnf_index",
59                         "docType": "default",
60                         "fieldName": "nf-type"
61                 }    
62         },
63     {
64         "filterId": "8",
65                 "filterName": "NF-Role",
66                 "displayName": "Network Function Role",
67                 "dataType": "dropDown",
68         "multiSelect": "false",
69         "watermark": "Any Network Function Role",
70         "optionsType": "options",
71                 "dataSource": {
72                         "indexName": "aggregate_generic-vnf_index",
73                         "docType": "default",
74                         "fieldName": "nf-role"
75                 }    
76         }       
77         
78   ]
79 }