diff options
author | wangyuerg <wangyuerg@chinamobile.com> | 2021-02-03 18:15:46 +0800 |
---|---|---|
committer | wangyuerg <wangyuerg@chinamobile.com> | 2021-02-03 18:15:59 +0800 |
commit | af2965a8484ce0893ef1d1ce5ef6085cf76b0d3e (patch) | |
tree | 8f4f4cd0d465af67b2a54609029da6ebc3682e17 /usecaseui-portal/src/app/mock | |
parent | fed183f5f6868b523ebdd841378daa16426b1bd7 (diff) |
Modify the code for the updated table interface, fix the bug of submitting an and cn
Signed-off-by: wangyuerg <wangyuerg@chinamobile.com>
Change-Id: I6ff3c3f36979459ea60a0ee0da1caeea7f3a0465
Issue-ID: USECASEUI-527
Diffstat (limited to 'usecaseui-portal/src/app/mock')
3 files changed, 73 insertions, 23 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json index 216a5497..03f3aed5 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json +++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json @@ -70,29 +70,7 @@ "sliceProfile_TN_BH_sST": "test_sliceProfile_TN_BH _sST",
"sliceProfile_TN_BH_sNSSAI": "test_tn_service_snssai_01",
"sliceProfile_TN_resourceSharingLevel": "shared",
- "tn_connection_links": "123213",
- "tn_connection_links_option": [{
- "id": "123213",
- "AN": "1an",
- "CN": "1cn",
- "TN": "1tn",
- "properties": "1pp"
- },
- {
- "id": "123214",
- "AN": "2an",
- "CN": "2cn",
- "TN": "2tn",
- "properties": "2pp"
- },
- {
- "id": "123215",
- "AN": "3an",
- "CN": "3cn",
- "TN": "3tn",
- "properties": "3pp"
- }
- ],
+ "tn_connection_links": "233errt4545",
"tn_bh_enableNSSISelection": false,
"cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411c",
"cn_suggest_nssi_name": "eMBB CNinstance3",
diff --git a/usecaseui-portal/src/app/mock/json/tn_connectionLinkTable.json b/usecaseui-portal/src/app/mock/json/tn_connectionLinkTable.json new file mode 100644 index 00000000..613b8072 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/tn_connectionLinkTable.json @@ -0,0 +1,71 @@ +{ + "result_header": { + "result_code": "200", + "result_message": "5Gslicingorderqueryresult." + }, + "result_body": { + "record_number": 2, + "connection_links_list": [{ + "linkId": "233errt4545", + "anInfo": { + "ipAddress": "1.1.1.1", + "logicId": "dff34444", + "nextHop": "sddsweedffsdsssss" + }, + "cnInfo": { + "ipAddress": "1.1.1.1", + "logicId": "dff34444", + "nextHop": "sddsweedffsdsssss" + }, + "properties": { + "latency": "20", + "jitter": "dffd", + "maxBandwidth": "200", + "resourceSharingLevel": "shared" + }, + "test": { + "test1": "1111", + "test2": "2222" + } + }, + { + "linkId": "233errt4546", + "anInfo": { + "ipAddress": "2.2.2.2", + "logicId": "dff344442", + "nextHop": "sddsweedffsdsssss2" + }, + "cnInfo": { + "ipAddress": "1.1.1.12", + "logicId": "dff344442", + "nextHop": "sddsweedffsdsssss2" + }, + "properties": { + "latency": "202", + "jitter": "dffd2", + "maxBandwidth": "2002", + "resourceSharingLevel": "shared2" + } + }, + { + "linkId": "233errt4547", + "anInfo": { + "ipAddress": "2.2.2.23", + "logicId": "dff3444423", + "nextHop": "sddsweedffsdsssss23" + }, + "cnInfo": { + "ipAddress": "1.1.1.123", + "logicId": "dff3444423", + "nextHop": "sddsweedffsdsssss23" + }, + "properties": { + "latency": "2023", + "jitter": "", + "maxBandwidth": "20023", + "resourceSharingLevel": "shared23" + } + } + ] + } +}
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js index e25beea3..cc8ab96f 100644 --- a/usecaseui-portal/src/app/mock/routes.js +++ b/usecaseui-portal/src/app/mock/routes.js @@ -117,6 +117,7 @@ module.exports = "/uui-slicing/nsmf/resource/nssi/instances/pageNo/:pageNo/pageSize/:pageSize": "/slicing_nssi_list", "/uui-slicing/nsmf/resource/nssi/instanceStatus/:instanceStatus/instances/pageNo/:pageNo/pageSize/:pageSize": "/slicing_nssi_list_activated", "/uui-slicing/nsmf/resource/nssi/:nssiId/details":"/getSlicingNssiDetail", + "/uui-slicing/nsmf/connectionlinktable": "/tn_connectionLinkTable", // :todo ///////<-------------CSMF slicing_business--------->///// "/uui-slicing/csmf/5gSlicing/orders/status/:status/pageNo/:pageNo/pageSize/:pageSize": "/csmf_slicing_businessData", "/POST/uui-slicing/csmf/5gSlicing": "/csmf_slicing_purchase", |