summaryrefslogtreecommitdiffstats
path: root/docs/platform
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-09-04 02:20:41 +0000
committerBin Yang <bin.yang@windriver.com>2018-09-04 02:20:41 +0000
commit2df5674cb403f5dbda5c7fcb30e263b5d0d9947e (patch)
treedfb822ac14b4b825c3b8bea572996d8f00a2faba /docs/platform
parent0836ecdc1d78e7fb3c5c8c9be5bd48c4d70e234f (diff)
Refactor cloud region registration logic
Invoke the upgraded MultiCloud API for registration Change-Id: I1ec415b496bb6d5798db1388e4074b4bae76e278 Issue-ID: AAI-1560 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'docs/platform')
-rw-r--r--docs/platform/consumedapis.rst4
-rw-r--r--docs/platform/installation.rst13
2 files changed, 14 insertions, 3 deletions
diff --git a/docs/platform/consumedapis.rst b/docs/platform/consumedapis.rst
index 9d64a9b..24dce36 100644
--- a/docs/platform/consumedapis.rst
+++ b/docs/platform/consumedapis.rst
@@ -60,7 +60,7 @@ ESR will call the API from Multi-Cloud to update the cloud-region information af
#. Update VIM Info:
- ``POST /api/multicloud /v0/{cloud-owner}_{cloud-region}/registry``
+ ``POST /api/multicloud /v1/{cloud-owner}/{cloud-region}/registry``
More details could be found at `Multi-Cloud APIs <https://wiki.onap.org/download/attachments/13599038/MultiVIM-onap-draft-r1-0822.doc?version=1&modificationDate=1503406573000&api=v2>`_.
@@ -71,4 +71,4 @@ Both esr-server and esr-gui need to registered to MSB.
Service Registration: ``/api/microservices/v1/services``
-More details could be found at `MSB APIs <https://wiki.onap.org/display/DW/Microservice+Bus+API+Documentation>`_. \ No newline at end of file
+More details could be found at `MSB APIs <https://wiki.onap.org/display/DW/Microservice+Bus+API+Documentation>`_.
diff --git a/docs/platform/installation.rst b/docs/platform/installation.rst
index e9a1245..6282830 100644
--- a/docs/platform/installation.rst
+++ b/docs/platform/installation.rst
@@ -68,12 +68,23 @@ MultiCloud register to MSB
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v0", "url": "/api/multicloud/v0","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9001"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v1", "url": "/api/multicloud/v1","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9001"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-vio", "version": "v0", "url": "/api/multicloud-vio/v0","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9004"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-vio", "version": "v1", "url": "/api/multicloud-vio/v1","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9004"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-ocata", "version": "v0", "url": "/api/multicloud-ocata/v0","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9006"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-ocata", "version": "v1", "url": "/api/multicloud-ocata/v1","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9006"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+
+[Note: serviceName "multicloud-titanium_cloud" is depreciated from ONAP Casablanca Release]
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titanium_cloud", "version": "v0", "url": "/api/multicloud-titanium_cloud/v0","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9005"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titaniumcloud", "version": "v0", "url": "/api/multicloud-titaniumcloud/v0","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9005"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titaniumcloud", "version": "v1", "url": "/api/multicloud-titaniumcloud/v1","protocol": "REST", "nodes": [ {"ip": "'$MultiCloud_IP'","port": "9005"}]}' "http://$MSB_SERVER_IP:10081/api/microservices/v1/services"
+
ESR register to MSB
^^^^^^^^^^^^^^^^^^^^^^^
@@ -92,4 +103,4 @@ http://MSB_SERVER_IP:80/iui/aai-esr-gui/extsys/sdncontroller/sdncView.html
http://MSB_SERVER_IP:80/iui/aai-esr-gui/extsys/vim/vimView.html
-http://MSB_SERVER_IP:80/iui/aai-esr-gui/extsys/ems/emsView.html \ No newline at end of file
+http://MSB_SERVER_IP:80/iui/aai-esr-gui/extsys/ems/emsView.html