summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-20 16:32:12 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-20 16:32:20 +0800
commit2df65a7f82faf11f0f0a6e16c9864902a9388c89 (patch)
tree5b57665c1f1a729f8cafeea06322218a0035513d
parent8b1ee1f7fd52781df7af5e17c77521f39ae1d2ac (diff)
docs: add user guide
Change-Id: I1dff40c8c1bb98da5729c753ce015e48d673912c Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--docs/platform/images/usecaseui-architecture-customer.pngbin0 -> 610322 bytes
-rw-r--r--docs/platform/installation/user-guide/uui-guide.rst6
-rw-r--r--usecaseui-portal/src/app/mock/routes.js60
3 files changed, 36 insertions, 30 deletions
diff --git a/docs/platform/images/usecaseui-architecture-customer.png b/docs/platform/images/usecaseui-architecture-customer.png
new file mode 100644
index 00000000..19c0ae56
--- /dev/null
+++ b/docs/platform/images/usecaseui-architecture-customer.png
Binary files differ
diff --git a/docs/platform/installation/user-guide/uui-guide.rst b/docs/platform/installation/user-guide/uui-guide.rst
index 64755c7c..3a998b90 100644
--- a/docs/platform/installation/user-guide/uui-guide.rst
+++ b/docs/platform/installation/user-guide/uui-guide.rst
@@ -41,6 +41,12 @@ Usecase-UI project consists of 5 modules which are *Home*, *Cusomer*, *Monitor*,
*4.2. Cusomer Module*
+|customer|
+
+.. |customer| image:: ../../images/usecaseui-architecture-customer.png
+ :width: 5.97047in
+ :height: 3.63208in
+
*4.3. Monitor Module*
*4.4. Services Module*
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index a13f2eb3..d7219249 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -36,42 +36,42 @@ module.exports =
///////<-------------managemence services--------->/////
"/uui-lcm/customers/:customer/service-subscriptions": "/serviceType",
- "/uui-lcm/serviceNumByServiceType/:customer":"/CustomersColumn",
+ "/uui-lcm/serviceNumByServiceType/:customer": "/CustomersColumn",
"/PUT/uui-lcm/customers/:customer": "/PUT_uui-lcm_customers",
"/PUT/uui-lcm/customers/:name/service-subscriptions/:id": "/PUT_uui-lcm_customers_service-subscriptions",
- "/uui-lcm/customers/:customer":"/getCustomerresourceVersion",
- "/DELETE/uui-lcm/customers?customerId=:customerId&resourceVersion=:resourceVersion":"/DELETE_uui-lcm_customers",
- "/uui-lcm/customers/:customer/service-subscriptions/:id":"/getServiceTypeResourceVersion",
+ "/uui-lcm/customers/:customer": "/getCustomerresourceVersion",
+ "/DELETE/uui-lcm/customers?customerId=:customerId&resourceVersion=:resourceVersion": "/DELETE_uui-lcm_customers",
+ "/uui-lcm/customers/:customer/service-subscriptions/:id": "/getServiceTypeResourceVersion",
"/DELETE/uui-lcm/customers/:customer/service-subscriptions/:id": "/DELETE_uui-lcm_customers_service-subscriptions",
/////////////////////////
///////<-------------myhttp services--------->/////
- "/uui-lcm/services/:serviceId/operations/:operations":"/uui-lcm_services_progress",
- "/uui-lcm/fetchCCVPNTemplateData/:uuid":"/uui-lcm_fetchCCVPNTemplateData",
- "/uui-lcm/service-templates/:uuid":"/uui-lcm_e2e_service-templates",
- "/DELETE/uui-lcm/services/:serviceInstanceId":"/uui-lcm_delete_services",
- "/uui-lcm/VnfInfo/:id":"/uui-lcm_VnfInfo",
- "/uui-lcm/jobs/getNsLcmJobStatus/:jobId":"/uui-lcm_jobs_getNsLcmJobStatus",
- "/services/scaleServices/:id":"/services_scaleServices",
- "/PUT/uui-lcm/services/updateService/:id":"/uui-lcm_services_updateService",
- "/uui-sotn/getPnfInfo/:name":"/uui-sotn_getPnfInfo",
- "/uui-sotn/getConnectivityInfo/:id":"/uui-sotn_getConnectivityInfo",
- "/uui-sotn/getPinterfaceByVpnId/:id":"/uui-sotn_getPinterfaceByVpnId",
- "/POST/uui-lcm/terminateNetworkServiceInstance?ns_instance_id=:ns_instance_id":"/uui-lcm_terminateNetworkServiceInstance",
- "/DELETE/uui-lcm/deleteNetworkServiceInstance?ns_instance_id=:ns_instance_id":"/uui-lcm_deleteNetworkServiceInstance",
+ "/uui-lcm/services/:serviceId/operations/:operations": "/uui-lcm_services_progress",
+ "/uui-lcm/fetchCCVPNTemplateData/:uuid": "/uui-lcm_fetchCCVPNTemplateData",
+ "/uui-lcm/service-templates/:uuid": "/uui-lcm_e2e_service-templates",
+ "/DELETE/uui-lcm/services/:serviceInstanceId": "/uui-lcm_delete_services",
+ "/uui-lcm/VnfInfo/:id": "/uui-lcm_VnfInfo",
+ "/uui-lcm/jobs/getNsLcmJobStatus/:jobId": "/uui-lcm_jobs_getNsLcmJobStatus",
+ "/services/scaleServices/:id": "/services_scaleServices",
+ "/PUT/uui-lcm/services/updateService/:id": "/uui-lcm_services_updateService",
+ "/uui-sotn/getPnfInfo/:name": "/uui-sotn_getPnfInfo",
+ "/uui-sotn/getConnectivityInfo/:id": "/uui-sotn_getConnectivityInfo",
+ "/uui-sotn/getPinterfaceByVpnId/:id": "/uui-sotn_getPinterfaceByVpnId",
+ "/POST/uui-lcm/terminateNetworkServiceInstance?ns_instance_id=:ns_instance_id": "/uui-lcm_terminateNetworkServiceInstance",
+ "/DELETE/uui-lcm/deleteNetworkServiceInstance?ns_instance_id=:ns_instance_id": "/uui-lcm_deleteNetworkServiceInstance",
/////////////////////////
///////<-------------networkhttp services--------->/////
- "/DELETE/uui-sotn/deleteExtNetWork":"/status",
- "/uui-sotn/getPinterfaceByPnfName/:pnfName":"/uui-sotn_getPinterfaceByPnfName",
- "/PUT/uui-sotn/createLink/:linkName":"/status",
- "/uui-sotn/getSpecificLogicalLink/:linkName":"/uui-sotn_getSpecificLogicalLink",
- "/uui-sotn/getHostUrl/:aaiId":"/uui-sotn_getHostUrl",
- "/uui-sotn/getExtAaiId/:aaiId":"/uui-sotn_getExtAaiId",
- "/PUT/uui-sotn/createTopoNetwork/:networkId":"/status",
- "/PUT/uui-sotn/createPnf/:nodeName":"/status",
- "/PUT/uui-sotn/pnf/:nodeName/p-interfaces/p-interface/:interfaceName/createTerminationPoint":"/status",
- "/PUT/uui-sotn/createHostUrl/:aaiId":"/status",
+ "/DELETE/uui-sotn/deleteExtNetWork": "/status",
+ "/uui-sotn/getPinterfaceByPnfName/:pnfName": "/uui-sotn_getPinterfaceByPnfName",
+ "/PUT/uui-sotn/createLink/:linkName": "/status",
+ "/uui-sotn/getSpecificLogicalLink/:linkName": "/uui-sotn_getSpecificLogicalLink",
+ "/uui-sotn/getHostUrl/:aaiId": "/uui-sotn_getHostUrl",
+ "/uui-sotn/getExtAaiId/:aaiId": "/uui-sotn_getExtAaiId",
+ "/PUT/uui-sotn/createTopoNetwork/:networkId": "/status",
+ "/PUT/uui-sotn/createPnf/:nodeName": "/status",
+ "/PUT/uui-sotn/pnf/:nodeName/p-interfaces/p-interface/:interfaceName/createTerminationPoint": "/status",
+ "/PUT/uui-sotn/createHostUrl/:aaiId": "/status",
/////////////////////////
///////<-------------onboard services--------->/////
@@ -79,9 +79,9 @@ module.exports =
"/vnfpkgm/v1/vnf_packages/:vnfPkgId/package_content": "/nsd_content",
"/nsd/v1/pnf_descriptors/:pnfdInfoId/pnfd_content": "/nsd_content",
"/uui-lcm/jobs/:_jobId": "/uui-lcm_jobs_progress",
- "/DELETE/uui-lcm/deleteNsdPackage?nsdInfoId:id": "/DELETE_uui-lcm_deleteNsdPackage",
-        "/DELETE/uui-lcm/deleteVnfPackage?vnfPkgId:id": "/DELETE_uui-lcm_deleteVnfPackage",
-        "/DELETE/uui-lcm/deletePnfPackage?pnfdInfoId:id": "/DELETE_uui-lcm_deletePnfPackage",
+ "/DELETE/uui-lcm/deleteNsdPackage?nsdInfoId:id": "/DELETE_uui-lcm_deleteNsdPackage",
+ "/DELETE/uui-lcm/deleteVnfPackage?vnfPkgId:id": "/DELETE_uui-lcm_deleteVnfPackage",
+ "/DELETE/uui-lcm/deletePnfPackage?pnfdInfoId:id": "/DELETE_uui-lcm_deletePnfPackage",
"/POST/uui-lcm/ns-packages": "/uui-lcm/ns-packages",
"/POST/uui-lcm/vf-packages": "/uui-lcm/vf-packages",