diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-09-03 17:28:59 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-09-03 17:29:07 +0800 |
commit | efa362157f4cfce894670772f2aec077dc794f7a (patch) | |
tree | dedd47ec3bbdbf1496db742ffc3063d378acf434 /usecaseui-portal | |
parent | 3602cdf0c287459e907e8ce3dc63d271bf1e712b (diff) |
feat: add home service mock data
Change-Id: I3d63e5a2fd4a221beaddd7ce709e59d92a6991b5
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
14 files changed, 1034 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/mock/json/alarm_diagram.json b/usecaseui-portal/src/app/mock/json/alarm_diagram.json new file mode 100755 index 00000000..decb859d --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/alarm_diagram.json @@ -0,0 +1,8 @@ +{ + "dataList":["2018-09-10 ","2018-09-11","2018-09-12","2018-09-13","2018-09-14", + "2018-09-15","2018-09-16","2018-09-17","2018-09-18","2018-09-19", + "2018-09-20","2018-09-21","2018-09-22"], + "allList":[30,45,34,35,43,56,36,53,42,45,44,35,32], + "closedList":[20,23,14,12,34,25,22,42,52,35,34,13,13], + "ActiveList":[10,23,24,22,14,15,32,12,12,32,14,23,23] +}
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/alarm_getSourceNames.json b/usecaseui-portal/src/app/mock/json/alarm_getSourceNames.json new file mode 100755 index 00000000..34b0a9e2 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/alarm_getSourceNames.json @@ -0,0 +1 @@ +["SBC_SDU_0","vSBC03","vSBC03","vSBC03","vSBC03","vSBC03","vSBC03"]
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/alarm_statusCount.json b/usecaseui-portal/src/app/mock/json/alarm_statusCount.json new file mode 100755 index 00000000..d0996f5d --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/alarm_statusCount.json @@ -0,0 +1 @@ +[100,80]
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/api_portal-auxapi_languageSetting_user.json b/usecaseui-portal/src/app/mock/json/api_portal-auxapi_languageSetting_user.json new file mode 100755 index 00000000..b48db74a --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/api_portal-auxapi_languageSetting_user.json @@ -0,0 +1,5 @@ +{ + "languageAlias":"", + "languageName":"EN", + "languageId":2 +}
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/listSortMasters.json b/usecaseui-portal/src/app/mock/json/listSortMasters.json new file mode 100755 index 00000000..f1d3fc21 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/listSortMasters.json @@ -0,0 +1,102 @@ +{ + "operationResults": [ + { + "sortType": "operationResult", + "sortCode": "2001", + "sortValue": "Successful", + "language": "en" + }, + { + "sortType": "operationResult", + "sortCode": "2002", + "sortValue": "Failed", + "language": "en" + }, + { + "sortType": "operationResult", + "sortCode": "2003", + "sortValue": "In Progress", + "language": "en" + }, + { + "sortType": "operationResult", + "sortCode": "2001", + "sortValue": "成功", + "language": "cn" + }, + { + "sortType": "operationResult", + "sortCode": "2002", + "sortValue": "失败", + "language": "cn" + }, + { + "sortType": "operationResult", + "sortCode": "2003", + "sortValue": "执行中", + "language": "cn" + } + ], + "operationTypes": [ + { + "sortType": "operationType", + "sortCode": "1001", + "sortValue": "Creating", + "language": "en" + }, + { + "sortType": "operationType", + "sortCode": "1002", + "sortValue": "Deleting", + "language": "en" + }, + { + "sortType": "operationType", + "sortCode": "1003", + "sortValue": "Scaling", + "language": "en" + }, + { + "sortType": "operationType", + "sortCode": "1004", + "sortValue": "Healing", + "language": "en" + }, + { + "sortType": "operationType", + "sortCode": "1005", + "sortValue": "Updating", + "language": "en" + }, + { + "sortType": "operationType", + "sortCode": "1001", + "sortValue": "创建", + "language": "cn" + }, + { + "sortType": "operationType", + "sortCode": "1002", + "sortValue": "删除", + "language": "cn" + }, + { + "sortType": "operationType", + "sortCode": "1003", + "sortValue": "缩扩容", + "language": "cn" + }, + { + "sortType": "operationType", + "sortCode": "1004", + "sortValue": "自愈", + "language": "cn" + }, + { + "sortType": "operationType", + "sortCode": "1005", + "sortValue": "更新", + "language": "cn" + } + ] +}
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/status.json b/usecaseui-portal/src/app/mock/json/status.json index eeff6f35..eeff6f35 100644..100755 --- a/usecaseui-portal/src/app/mock/json/status.json +++ b/usecaseui-portal/src/app/mock/json/status.json diff --git a/usecaseui-portal/src/app/mock/json/user_login.json b/usecaseui-portal/src/app/mock/json/user_login.json index 1e6321b1..1e6321b1 100644..100755 --- a/usecaseui-portal/src/app/mock/json/user_login.json +++ b/usecaseui-portal/src/app/mock/json/user_login.json diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_customers.json b/usecaseui-portal/src/app/mock/json/uui-lcm_customers.json new file mode 100755 index 00000000..9c66eff4 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-lcm_customers.json @@ -0,0 +1,82 @@ + + +[ + { + "global-customer-id": "Democcy", + "subscriber-name": "Democcy", + "subscriber-type": "INFRA", + "resource-version": "1535601196964" + }, + { + "global-customer-id": "support", + "subscriber-name": "testccccccccsssssssssseeeeeeeeeee", + "subscriber-type": "CUST", + "resource-version": "1536069070995" + }, + { + "global-customer-id": "Demonstration", + "subscriber-name": "Demonstration", + "subscriber-type": "INFRA", + "resource-version": "1535080521665" + }, + { + "global-customer-id": "Orange", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1535865156826" + }, + { + "global-customer-id": "Orange5", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1529978907607" + }, + { + "global-customer-id": "wale", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1536058660948" + }, + { + "global-customer-id": "kiwi", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1536042103511" + }, + { + "global-customer-id": "Apple", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1535971300786" + }, + { + "global-customer-id": "Tiger", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1535977578133" + }, + { + "global-customer-id": "Deer", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1535988232470" + }, + { + "global-customer-id": "Bear", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1536041229105" + }, + { + "global-customer-id": "Panda", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1536038628045" + }, + { + "global-customer-id": "Lion", + "subscriber-name": "test", + "subscriber-type": "CUST", + "resource-version": "1535986050695" + } +] diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_ns-packages.json b/usecaseui-portal/src/app/mock/json/uui-lcm_ns-packages.json new file mode 100755 index 00000000..89e57242 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-lcm_ns-packages.json @@ -0,0 +1,178 @@ +[ + { + "id": "01", + "nsdId": "ns01", + "nsdName": "nsPa", + "nsdVersion": "nsV01", + "nsdDesigner": "wd", + "nsdInvariantId": "001", + "vnfPkgIds": [ + "01" + ], + "pnfdInfoIds": [ + "string" + ], + "nestedNsdInfoIds": [ + "string" + ], + "nsdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "ns", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "nsdOperationalState": "ENABLED", + "nsdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "02", + "nsdId": "ns02", + "nsdName": "nsPa", + "nsdVersion": "nsV02", + "nsdDesigner": "wd", + "nsdInvariantId": "002", + "vnfPkgIds": [ + "02" + ], + "pnfdInfoIds": [ + "string" + ], + "nestedNsdInfoIds": [ + "string" + ], + "nsdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "ns", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "nsdOperationalState": "ENABLED", + "nsdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "03", + "nsdId": "ns03", + "nsdName": "nsPa", + "nsdVersion": "nsV03", + "nsdDesigner": "wd", + "nsdInvariantId": "003", + "vnfPkgIds": [ + "03" + ], + "pnfdInfoIds": [ + "string" + ], + "nestedNsdInfoIds": [ + "string" + ], + "nsdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "ns", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "nsdOperationalState": "ENABLED", + "nsdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "u01", + "nsdId": "ns01", + "nsdName": "nsPa", + "nsdVersion": "nsV01", + "nsdDesigner": "wd", + "nsdInvariantId": "001", + "vnfPkgIds": [ + "01" + ], + "pnfdInfoIds": [ + "string" + ], + "nestedNsdInfoIds": [ + "string" + ], + "nsdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "ns", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "nsdOperationalState": "ENABLED", + "nsdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + } +]
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_pnf-packages.json b/usecaseui-portal/src/app/mock/json/uui-lcm_pnf-packages.json new file mode 100755 index 00000000..72443bda --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-lcm_pnf-packages.json @@ -0,0 +1,240 @@ +[ + { + "id": "01", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "02", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "03", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "04", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "05", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "06", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "07", + "pnfdId": "string", + "pnfdName": "PNF", + "pnfdVersion": "1.0", + "pnfdProvider": "string", + "pnfdInvariantId": "string", + "pnfdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "pnfdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + } +]
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_serviceNumByCustomer.json b/usecaseui-portal/src/app/mock/json/uui-lcm_serviceNumByCustomer.json new file mode 100755 index 00000000..d6e48e62 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-lcm_serviceNumByCustomer.json @@ -0,0 +1,8 @@ +{ + "serviceTotalNum":200, + "customerServiceList":[ + {"value":125, "name":"user1"}, + {"value":290, "name":"user2"}, + {"value":220, "name":"user3"} + ] +} diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_vnf-packages.json b/usecaseui-portal/src/app/mock/json/uui-lcm_vnf-packages.json new file mode 100755 index 00000000..8922cff8 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-lcm_vnf-packages.json @@ -0,0 +1,398 @@ +[ + { + "id": "001", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "002", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "003", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "004", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "vnf01", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + }, + { + "id": "vnf02", + "vnfdId": "string", + "vnfProvider": "string", + "vnfProductName": "VNF", + "vnfSoftwareVersion": "string", + "vnfdVersion": "1.0", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "softwareImages": [ + { + "id": "string", + "name": "string", + "provider": "string", + "version": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "containerFormat": "AKI", + "diskFormat": "AKI", + "createdAt": "2018-10-18T07:44:13.948Z", + "minDisk": 0, + "minRam": 0, + "size": 0, + "userMetadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "imagePath": "string" + } + ], + "additionalArtifacts": [ + { + "artifactPath": "string", + "checksum": { + "algorithm": "string", + "hash": "string" + }, + "metadata": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + ], + "onboardingState": "CREATED", + "operationalState": "ENABLED", + "usageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } + } +] diff --git a/usecaseui-portal/src/app/mock/json/xuran_test_data.json b/usecaseui-portal/src/app/mock/json/xuran_test_data.json index 1e6321b1..1e6321b1 100644..100755 --- a/usecaseui-portal/src/app/mock/json/xuran_test_data.json +++ b/usecaseui-portal/src/app/mock/json/xuran_test_data.json diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js index 97283fca..70db2ff9 100644 --- a/usecaseui-portal/src/app/mock/routes.js +++ b/usecaseui-portal/src/app/mock/routes.js @@ -24,9 +24,19 @@ module.exports = "/alarm/form/data": "/alarm_form_data", "/upload/:url_upId": "/status", /////////////// + ///////<-------------home services--------->///// - "/portal-auxapi/languageSetting/user/:currentloginId": "/language", + "/usecaseui-server/v1/uui-lcm/serviceNumByCustomer": "/uui-lcm_serviceNumByCustomer", + "/usecaseui-server/v1/alarm/statusCount": "/alarm_statusCount", + "/usecaseui-server/v1/alarm/diagram?:param": "/alarm_diagram", + "/usecaseui-server/v1/uui-lcm/ns-packages": "/uui-lcm_ns-packages", + "/usecaseui-server/v1/uui-lcm/vnf-packages": "/uui-lcm_vnf-packages", + "/usecaseui-server/v1/uui-lcm/pnf-packages": "/uui-lcm_pnf-packages", + "/usecaseui-server/v1/alarm/getSourceNames": "/alarm_getSourceNames", + "/usecaseui-server/v1/listSortMasters": "/listSortMasters", + "/usecaseui-server/v1/portal-auxapi/languageSetting/user/:currentloginId": "/language", ///////////////////////// + ///////<-------------managemence services--------->///// ///////////////////////// |