From d0f5347dc16b5aa9fc95eb520fbc9a1c7b672b09 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 22 Aug 2019 16:55:57 +0800 Subject: feat: change the project structure and add mock data function Change-Id: I381845bff5eb37d1fab3eba8cf1ae7838df523b7 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../src/assets/json/alarmFormData.json | 371 --------------------- 1 file changed, 371 deletions(-) delete mode 100644 usecaseui-portal/src/assets/json/alarmFormData.json (limited to 'usecaseui-portal/src/assets/json/alarmFormData.json') diff --git a/usecaseui-portal/src/assets/json/alarmFormData.json b/usecaseui-portal/src/assets/json/alarmFormData.json deleted file mode 100644 index fc97ae0c..00000000 --- a/usecaseui-portal/src/assets/json/alarmFormData.json +++ /dev/null @@ -1,371 +0,0 @@ -{ - "totalRecolds": 22, - "list": [ - { - "id": 11, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-1001", - "sourceName": "shentao-test-1001", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 12, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-1002", - "sourceName": "shentao-test-1002", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 13, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-1003", - "sourceName": "shentao-test-1003", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 14, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-2001", - "sourceName": "shentao-test-2001", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 15, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-2002", - "sourceName": "shentao-test-2002", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 16, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-2003", - "sourceName": "shentao-test-2003", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1513630880000000", - "lastEpochMicroSec": "1513630880000000", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 17, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-2004", - "sourceName": "vnf_a_1", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 18, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-2005", - "sourceName": "shentao-test-2005", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 19, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-3001", - "sourceName": "shentao-test-3001", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 20, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-3003", - "sourceName": "vnf_a_3", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 21, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailureCleared", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "shentao-test-3004", - "sourceName": "vnf_a_3", - "reportingEntityId": null, - "reportingEntityName": "Multi-Cloud", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "112", - "lastEpochMicroSecCleared": "112", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - }, - { - "id": 22, - "version": "3", - "eventName": "Fault_MultiCloud_VMFailure", - "domain": "fault", - "eventId": "ab305d54-85b4-a31b-7db2-fb6b9e546015", - "eventType": null, - "nfcNamingCode": null, - "nfNamingCode": null, - "sourceId": "vnf_a_20180205_2", - "sourceName": "vnf_b_3", - "reportingEntityId": null, - "reportingEntityName": "vnf_a_20180205_2", - "priority": "High", - "startEpochMicrosec": "1516784364860", - "lastEpochMicroSec": "1516784364860", - "startEpochMicrosecCleared": "", - "lastEpochMicroSecCleared": "", - "sequence": "0", - "faultFieldsVersion": "2", - "eventServrity": "CRITICAL", - "eventSourceType": "other", - "eventCategory": null, - "alarmCondition": "Guest_Os_Failure", - "specificProblem": "Fault_MultiCloud_VMFailure", - "vfStatus": "Active", - "alarmInterfaceA": "aaaa", - "status": "active" - } - ], - "countActive": 12, - "reportingEntityNameList": [ - "vnf_a_20180205_2", - "Multi-Cloud" - ], - "sourceNameList": [ - "shentao-test-2001", - "shentao-test-3001", - "shentao-test-1001", - "shentao-test-2002", - "vnf_a_3", - "shentao-test-1002", - "shentao-test-2003", - "vnf_b_3", - "shentao-test-1003", - "vnf_a_1", - "shentao-test-2005" - ] -} \ No newline at end of file -- cgit 1.2.3-korg