From b74f1453b2c309b7395b909762a3d3543dab6406 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Tue, 11 Jun 2019 15:35:08 +0800 Subject: add usecase-ui user guide Change-Id: I97155072f9cf212ce6a2155bd07a6c57546222e5 Issue-ID: USECASEUI-194 Signed-off-by: guochuyicmri --- docs/platform/installation/user-guide/index.rst | 7 ++++++ .../platform/installation/user-guide/uui-guide.rst | 28 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs/platform/installation/user-guide/index.rst create mode 100644 docs/platform/installation/user-guide/uui-guide.rst (limited to 'docs/platform/installation/user-guide') diff --git a/docs/platform/installation/user-guide/index.rst b/docs/platform/installation/user-guide/index.rst new file mode 100644 index 00000000..311833da --- /dev/null +++ b/docs/platform/installation/user-guide/index.rst @@ -0,0 +1,7 @@ +Usecase-UI Using Guide +---------------------- + +.. toctree:: + :titlesonly: + + uui-guide diff --git a/docs/platform/installation/user-guide/uui-guide.rst b/docs/platform/installation/user-guide/uui-guide.rst new file mode 100644 index 00000000..d0a7f644 --- /dev/null +++ b/docs/platform/installation/user-guide/uui-guide.rst @@ -0,0 +1,28 @@ +.. contents:: + :depth: 3 +.. + + +**1. Confirm Usecase-UI MicroService** +====================================== + +Confirm that the Usecase-UI microservice has been successfully registered in MSB with OOM. + +**2. Register Usecase-UI MicroService** +======================================= + +If Usecase-UI microservice does not exist in MSB, please register them manually. +:: + + curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-server", "version": "v1", "url": "/api/usecaseui-server/v1","protocol": "REST", "nodes": [{"ip": "${UUI_SERVER_IP}","port": "8082"}]}' "http://${MSB_IP}:30280/api/microservices/v1/services" + curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-ui", "version": "v1", "url": "/usecase-ui","path": "/iui/usecaseui","protocol": "UI", "nodes": [{"ip": "${UUI_IP}","port": "8080"}]}' "http://${MSB_IP}:30280/api/microservices/v1/services" + +**3. Open Usecase-UI Home** +=========================== + +Please open Usecase-UI dashboard page through your browser. + +:: + + http://${MSB_IP}:30280/iui/usecaseui/ + -- cgit 1.2.3-korg