diff options
author | rv871f <richard.vondadelszen@amdocs.com> | 2018-08-21 17:28:34 -0400 |
---|---|---|
committer | rv871f <richard.vondadelszen@amdocs.com> | 2018-08-22 11:20:12 -0400 |
commit | 6530692958399a5b180c69b40714cce97aea68c9 (patch) | |
tree | 06a1fb985dec53b3209d7eefba623403f47af811 /sparkybe-onap-service/src/test/resources | |
parent | cc699c2d6769d28a520ee3c1fd47251a165b4b39 (diff) |
ES to SDS conversion
Issue-ID: AAI-1530
Change-Id: Ic2f40c608a80109af1feafe42bad1f78d38647a1
Signed-off-by: rv871f <richard.vondadelszen@amdocs.com>
Diffstat (limited to 'sparkybe-onap-service/src/test/resources')
-rw-r--r-- | sparkybe-onap-service/src/test/resources/filters/aaiui_filters.json | 107 | ||||
-rw-r--r-- | sparkybe-onap-service/src/test/resources/filters/aaiui_views.json | 51 |
2 files changed, 72 insertions, 86 deletions
diff --git a/sparkybe-onap-service/src/test/resources/filters/aaiui_filters.json b/sparkybe-onap-service/src/test/resources/filters/aaiui_filters.json index 31716ed..e053442 100644 --- a/sparkybe-onap-service/src/test/resources/filters/aaiui_filters.json +++ b/sparkybe-onap-service/src/test/resources/filters/aaiui_filters.json @@ -1,10 +1,12 @@ { - "filters": [ - { + "filters": [{ "filterId": "1", "filterName": "Orchestration-Status", "displayName": "Orchestration Status", - "dataType": "list", + "dataType": "dropDown", + "multiSelect": "false", + "watermark": "Any Orchestration Status", + "optionsType": "options", "dataSource": { "indexName": "aggregate_generic-vnf_index", "docType": "default", @@ -15,7 +17,10 @@ "filterId": "2", "filterName": "Prov-Status", "displayName": "Provisioning Status", - "dataType": "list", + "dataType": "dropDown", + "multiSelect": "false", + "watermark": "Any Provisioning Status", + "optionsType": "options", "dataSource": { "indexName": "aggregate_generic-vnf_index", "docType": "default", @@ -23,66 +28,68 @@ } }, { - "filterId": "3", - "filterName": "Severity", - "displayName": "Severity", - "dataType": "list", - "dataSource": { - "indexName": "di-violations", - "docType": "default", - "fieldName": "severity" - } - }, - { - "filterId": "4", - "filterName": "Category", - "displayName": "Category", - "dataType": "list", - "dataSource": { - "indexName": "di-violations", - "docType": "default", - "fieldName": "category" - } - }, - { "filterId": "5", "filterName": "Date", "displayName": "Date", - "dataType": "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": "6", - "filterName": "EntityType", - "displayName": "Object Type", - "dataType": "list", - "dataSource": { - "indexName": "di-violations", - "docType": "default", - "fieldName": "entityType" - } - }, - { - "filterId": "7", - "filterName": "NF-Type", + "filterId": "7", + "filterName": "nf-type", "displayName": "Network Function Type", - "dataType": "list", + "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", + { + "filterId": "8", + "filterName": "nf-role", "displayName": "Network Function Role", - "dataType": "list", + "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 diff --git a/sparkybe-onap-service/src/test/resources/filters/aaiui_views.json b/sparkybe-onap-service/src/test/resources/filters/aaiui_views.json index e6ece9f..dce8926 100644 --- a/sparkybe-onap-service/src/test/resources/filters/aaiui_views.json +++ b/sparkybe-onap-service/src/test/resources/filters/aaiui_views.json @@ -1,38 +1,17 @@ { - "views": [ - { - "viewName" : "vnfSearch", - "filters" : [ - { - "filterId": "1" - }, - { - "filterId": "2" - }, - { - "filterId": "7" - }, - { - "filterId": "8" - } - ] - }, - { - "viewName" : "dataIntegrity", - "filters" : [ - { - "filterId": "3" - }, - { - "filterId": "4" - }, - { - "filterId": "5" - }, - { - "filterId": "6" - } - ] - } - ] + "views": [{ + "viewName": "vnfSearch", + "filters": [{ + "filterId": "1" + }, + { + "filterId": "2" + }, + { + "filterId": "7" + }, + { + "filterId": "8" + }] + }] }
\ No newline at end of file |