diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-06 09:36:55 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-06 09:57:57 +0800 |
commit | 39aa34b0431e6dc2946b95ae40df5466a3c19d72 (patch) | |
tree | ab840886657601bc201323f280d2daaa37847296 /usecaseui-portal/src/app/mock/json | |
parent | e2e2bcf625b3fa8edffa3e7ed81452448f3912d8 (diff) |
feat: add slicing nsi basic business code of nsi page
Change-Id: I85ceaad153cf4dd9b9c3d4e6db9d9ce4cf6af4bf
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock/json')
4 files changed, 173 insertions, 33 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_business_list.json b/usecaseui-portal/src/app/mock/json/slicing_business_list.json index 8291efbf..46201850 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_business_list.json +++ b/usecaseui-portal/src/app/mock/json/slicing_business_list.json @@ -4,7 +4,7 @@ "result_message": "5G slicing service instances query result." }, "result_body": { - "record_number": 2, + "record_number": 14, "slicing_business_list": [ { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9265", @@ -31,7 +31,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 100 + "last_operation_progress": 10 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9270", @@ -58,7 +58,7 @@ "service_snssai": "1-010101", "orchestration_status": "deactivated", "last_operation_type": "deactivate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9273", @@ -67,7 +67,7 @@ "service_snssai": "1-010101", "orchestration_status": "deactivated", "last_operation_type": "deactivate", - "last_operation_progress": 50 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9274", @@ -76,7 +76,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9275", @@ -94,7 +94,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9277", @@ -103,7 +103,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9278", @@ -112,7 +112,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9279", @@ -121,7 +121,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9280", @@ -130,7 +130,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 }, { "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9281", @@ -139,7 +139,7 @@ "service_snssai": "1-010101", "orchestration_status": "activated", "last_operation_type": "activate", - "last_operation_progress": 70 + "last_operation_progress": 100 } ] } diff --git a/usecaseui-portal/src/app/mock/json/slicing_instance.json b/usecaseui-portal/src/app/mock/json/slicing_instance.json deleted file mode 100644 index 11c7f7bf..00000000 --- a/usecaseui-portal/src/app/mock/json/slicing_instance.json +++ /dev/null @@ -1,22 +0,0 @@ -{
- "result_header": {
- "result_code": "200",
- "result_message": "5G slicing NSI service instances result."
- },
- "result_body": {
- "record_number": 2,
- "nsi_service_instances": [
- {
- "service_instance_order": "1",
- "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
- "service_instance_name": "eMBB instancel"
- },
- {
- "service_instance_order": "2",
- "service_instance_id": "46da8cf8-0878-48bc-bea3-f2200959411a",
- "service_instance_name": "eMBB instance2"
- }
- ]
- }
-}
-
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json new file mode 100644 index 00000000..63a26f5c --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json @@ -0,0 +1,95 @@ +{ + "result_header": { + "result_code": "200", + "result_message": "5G slicing NSI service instances result." + }, + "result_body": { + "record_number": 12, + "nsi_service_instances": [ + { + "service_instance_order": "1", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959411a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "2", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959412a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + }, + { + "service_instance_order": "3", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959413a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "4", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959414a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + }, + { + "service_instance_order": "5", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959415a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "6", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959416a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + }, + { + "service_instance_order": "7", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959417a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "8", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959418a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + }, + { + "service_instance_order": "9", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959419a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "10", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959420a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + }, + { + "service_instance_order": "11", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959421a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "activated" + }, + { + "service_instance_order": "12", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959422a", + "service_instance_name": "eMBB instancel", + "service_type":"eMBB", + "orchestration_status": "deactivated" + } + ] + } +}
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json b/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json new file mode 100644 index 00000000..327352c8 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json @@ -0,0 +1,67 @@ +{ + "result_header": { + "result_code": "200", + "result_message": "5G slicing NSI service instances result." + }, + "result_body": { + "record_number":8, + "nsi_service_instances": [ + { + "service_instance_order": "1", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959411a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "2", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959413a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "3", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959415a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "4", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959415a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "5", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959415a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "6", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959417a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "7", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959419a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + }, + { + "service_instance_order": "8", + "service_instance_id": "46da8cf8-0878-48ac-bea3-f2200959421a", + "service_instance_name": "eMBB instancel", + "nsi_type":"eMBB", + "nsi_orchestration-status": "activated" + } + ] + } +}
\ No newline at end of file |