summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/OOM User Guide/oom_user_guide.rst35
1 files changed, 12 insertions, 23 deletions
diff --git a/docs/OOM User Guide/oom_user_guide.rst b/docs/OOM User Guide/oom_user_guide.rst
index c55ccaa6cc..ee3b2f1430 100644
--- a/docs/OOM User Guide/oom_user_guide.rst
+++ b/docs/OOM User Guide/oom_user_guide.rst
@@ -882,11 +882,11 @@ Integration with MSB
====================
The \ `Microservices Bus
-Project <file:///C:\display\DW\Microservices+Bus+Project>`__ provides
+Project <https://wiki.onap.org/pages/viewpage.action?pageId=3246982>`__ provides
facilities to integrate micro-services into ONAP and therefore needs to
integrate into OOM - primarily through Consul which is the backend of
MSB service discovery. The following is a brief description of how this
-integration will be done (thanks Huabing):
+integration will be done:
A registrator to push the service endpoint info to MSB service
discovery. 
@@ -910,10 +910,10 @@ discovery. 
Details of the registration service API can be found at \ `Microservice
Bus API
-Documentation <file:///C:\display\DW\Microservice+Bus+API+Documentation>`__.
+Documentation <https://wiki.onap.org/display/DW/Microservice+Bus+API+Documentation>`__.
How to define the service endpoints using annotation \ `ONAP Services
-List#OOMIntegration <file:///C:\display\DW\ONAP+Services+List#ONAPServicesList-OOMIntegration>`__
+List#OOMIntegration <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-OOMIntegration>`__
A preliminary view of the OOM-MSB integration is as follows:
@@ -925,32 +925,21 @@ A message sequence chart of the registration process:
MSB Usage Instructions
----------------------
+MSB provides kubernetes charts in OOM, so it can be spun up by oom oneclick command.
-**Pull and run MSB docker containers** (Login the ONAP docker registry first:)::
+Please note that kubernetes authentication token must be set at *kubernetes/kube2msb/values.yaml* so the kube2msb registrator can get the access to watch the kubernetes events and get service annotation by kubernetes APIs. The token can be found in the kubectl configuration file *~/.kube/config*
- docker login -u docker -p docker nexus3.onap.org:10001
+MSB and kube2msb can be spun up with all the ONAP components together, or separately using the following commands.
- sudo docker run -d --net=host --name msb\_consul consul agent -dev
+**Start MSB services**::
- sudo docker run -d --net=host --name msb\_discovery nexus3.onap.org:10001/onap/msb/msb\_discovery
+ createAll.bash -n onap -a msb
- sudo docker run -d --net=host -e "ROUTE\_LABELS=visualRange:1" --name msb\_internal\_apigateway nexus3.onap.org:10001/onap/msb/msb\_apigateway
+**Start kube2msb registrator**::
-**Register a REST service to MSB via curl**::
+ createAll.bash -n onap -a kube2msb
- curl -X POST \\
-
- -H "Content-Type: application/json" \\
-
- -d '{"serviceName": "aai", "version": "v8", "url":
- "/aai/v8/","protocol": "REST", "path": "/aai/v8", "nodes": [ {"ip":
- "10.74.215.65","port": "8443"}]}' \\
-
- "http://127.0.0.1:10081/api/microservices/v1/services”
-
-**Test the REST Service via the internal API gateway**::
-
- curl http://127.0.0.1/aai/v8/cloud-infrastructure/cloud-regions
+More details can be found here `MSB installation <http://onap.readthedocs.io/en/latest/submodules/msb/apigateway.git/docs/platform/installation.html>`__.
FAQ (Frequently Asked Questions)
================================
='#n257'>257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436