summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-08 23:24:09 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-08 23:24:27 +0800
commit3a68f27fb4a3d8a02442ad9a98ffd46d055368bb (patch)
treee6d64fb7a3417e2e6567d05fdbf1271e36ef353d /usecaseui-portal/src/app/mock
parentcf3ab1719db063b3312745175a8ca0b627be36c5 (diff)
feat:add mockjson data of slicing page
Change-Id: I2d398b00cbea4e33a212eaefa11a68650be229d9 Issue-ID: USECASEUI-369 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_business_list.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nsi_list.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json34
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nssi_list.json107
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json59
5 files changed, 185 insertions, 19 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 46201850..48145fdc 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": 14,
+ "record_number": 30,
"slicing_business_list": [
{
"service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9265",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
index 63a26f5c..418d8193 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing NSI service instances result."
},
"result_body": {
- "record_number": 12,
+ "record_number": 20,
"nsi_service_instances": [
{
"service_instance_order": "1",
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
index 327352c8..480d0694 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json
@@ -4,63 +4,63 @@
"result_message": "5G slicing NSI service instances result."
},
"result_body": {
- "record_number":8,
+ "record_number": 2,
"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_type":"eMBB",
+ "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_type":"eMBB",
+ "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_type":"eMBB",
+ "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_type":"eMBB",
+ "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_type":"eMBB",
+ "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_type":"eMBB",
+ "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_type":"eMBB",
+ "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"
+ "service_type":"eMBB",
+ "orchestration-status": "activated"
}
]
}
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json b/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json
new file mode 100644
index 00000000..315087b9
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json
@@ -0,0 +1,107 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing NSSI query result."
+ },
+ "result_body": {
+ "record_number": 12,
+ "nssi_service_instances": [
+ {
+ "service_instance_order": "1",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "2",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-02-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "3",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-03-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ },
+ {
+ "service_instance_order": "4",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-04-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ },
+ {
+ "service_instance_order": "5",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-05-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "6",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-06-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "7",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-07-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ },
+ {
+ "service_instance_order": "8",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-08-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ },
+ {
+ "service_instance_order": "9",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-09-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "10",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-10-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "11",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-11-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ },
+ {
+ "service_instance_order": "12",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-12-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "deactivated"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json b/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json
new file mode 100644
index 00000000..d40addba
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json
@@ -0,0 +1,59 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing NSSI query result."
+ },
+ "result_body": {
+ "record_number": 6,
+ "nssi_service_instances": [
+ {
+ "service_instance_order": "1",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "2",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-02-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "5",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-05-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "6",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-06-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "9",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-09-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "10",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-10-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ }
+ ]
+ }
+} \ No newline at end of file