summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-12-08 16:28:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-08 16:28:21 +0000
commit56c11ebfcb986fb634f0b35104c5dabcd90a7aaa (patch)
treeffc9ba7802c2e5c5f6d250f0d95ffb19940b56d6 /usecaseui-portal/src/app/mock
parent1509c71a7a690e4e5a80bd2fe21eb3eaf87df677 (diff)
parent3a68f27fb4a3d8a02442ad9a98ffd46d055368bb (diff)
Merge "feat:add mockjson data of slicing page"
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