Fix links to new intersphinx format.
[doc.git] / docs / guides / onap-operator / onap-portal-admin / onap-portal-admin.rst
1 |image2017-10-27_15-56-53.png|
2
3 ONAP Portal for Administrators
4 ==============================
5
6 General
7 -------
8
9 The ONAP Portal platform integrates different ONAP applications into a
10 central core. The Portal platform provides common management services
11 and connectivity, while the applications run separately.
12
13 From the Portal, users access applications. Administrators onboard and
14 manage applications and widgets, and manage user access.
15
16 The Portal SDK for application developers includes bundled tools,
17 technologies, and built-in capabilities such as services, APIs, and UI
18 controls. Existing applications can migrate to the Portal with the
19 provided APIs and libraries. See `ONAP Portal SDK
20 :ref:`Documentation<onap-portal:master_index>`.
21
22 Access
23 ------
24
25 Access the ONAP Portal using Mozilla Firefox or Google Chrome(win/mac)
26 at the provided URL. For example: `https://<hostname:port>/ONAPPORTAL/login.html`.
27
28 :ref:`Access the ONAP portal via the 8989 LoadBalancer documented `here<onap-oom:onap-on-kubernetes-with-rancher>`
29
30 From the Portal, users access applications directly or by function using
31 the `Manage menu`.
32
33 See also:
34
35 -  `Applications in the Portal`
36
37 -  `Application Catalog`
38
39 Roles
40 -----
41
42 The Portal displays different menus for the following functions:
43
44 -  Users
45
46 -  Portal Admins
47
48 -  Application Admins
49
50 -  Governor
51
52 -  Operator
53
54 Each application also defines a distinct set of user roles. See *Users* .
55
56
57 Admin Tasks
58 -----------
59
60 From the ONAP Portal, administrators:
61
62 -  access the same functionality accessible to users (see `ONAP Portal
63    for users <onap-#PAGE_1018759>`__)
64
65 -  manage users and application admins
66
67 -  onboard applications and widgets
68
69 -  edit the functional menu
70
71 Administrators see the following menu when accessing the ONAP Portal:
72
73 |image2017-10-27_14-14-37.png|
74
75 Left menu descriptions:
76
77 .. _PAGE_1018764:
78
79 Admins Menu
80 -----------
81
82 Use the Admins section to:
83
84 |image2017-10-27_14-17-0.png|
85
86 View or search for application admins
87 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88
89 #. From the ONAP Portal Home, click Admins in the left menu.
90
91 #. View or search for admins:
92
93 -  The Admins table shows all admins in alphabetical order by first
94    name. Select an application from the dropdown list to view admins for
95    a single application.
96
97 -  Search for an admin by entering a full or partial search term in the
98    search box. Search by first name, last name, or user ID. Searches are
99    not case-sensitive.
100
101 -  Filter further using a combination of the applications dropdown and
102    the search box.
103
104 Add an application admin
105 ~~~~~~~~~~~~~~~~~~~~~~~~
106
107 #. From the ONAP Portal Home, click Admins in the left menu.
108
109 #. Click Add Admin.The New Admin window displays.
110
111 #. Enter any combination of the user's first name, last name in the
112    search field and click Search.Note: A minimum of three characters is
113    required to search.
114
115 #. Select the user from the results and click Next.
116
117 |image2017-10-27_14-23-38.png|
118
119 #. Select an application from the dropdown list.
120
121 |image2017-10-27_14-26-38.png|
122
123 #. Click Save.
124
125 The user can administer and manage users for the applications listed in
126 the Admins table.
127
128 Modify application admin privileges
129 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130
131 #. From the ONAP Portal Home, click Admins in the left menu.
132
133 #. Search for an admin and then select one by clicking the row in the
134    Admins table (see `View or search for application admins`.
135
136 #. Modify the admin's application privileges:
137
138 -  Add an application to the Administrates list by selecting it from the
139    dropdown list
140
141 -  Delete an application from the Administrates list by clicking the
142    trash icon
143
144 |image2017-10-27_14-30-33.png| .
145
146 #. Click Save.
147
148 Delete an application admin
149 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
150
151 To delete an application admin completely, first remove access for each
152 application.
153
154 #. From the ONAP Portal Home, click Admins in the left menu.
155
156 #. Search for a name and then select one by clicking the row in the
157    Admins table (see `View or search for application admins`.
158
159 #. Click the trash icon
160
161 |image2017-10-27_14-30-51.png|  and click OK to confirm for each
162 application in the Administrates list.
163
164 #. Click Save.
165
166 The application Admin is removed from the table. The Admin is only
167 removed from the Admins table when they have no application access.
168
169
170 Users Menu
171 ----------
172
173 Use the Users section to:
174
175 |image2017-10-27_14-35-46.png|
176
177 View or search for users
178 ~~~~~~~~~~~~~~~~~~~~~~~~
179
180 #. From ONAP Portal Home, click Users in the left menu.
181
182 #. Select an application from the dropdown list.
183
184 #. Enter a full or partial first name, last, name, user ID, or role in
185    the search box; or click the column header to sort that column in
186    alphabetical or reverse alphabetical order.
187
188 Add a user
189 ~~~~~~~~~~
190
191 Portal admins can add or manage users for any application. Application
192 admins can only add and manage users for their specific applications.
193
194 #. From ONAP Portal Home, click Users in the left menu.
195
196 #. Click Add User.
197
198 #. The New User window displays.
199
200 #. Search for or add a new user:
201
202 -  To search for a user, enter the user's complete first name, last
203    name, or user ID and click search.
204
205 -  To add a new user, click New User, fill in the user details, and
206    click Add New User. The new user appears in the results list.
207
208 #. Select the user from the results and click Next.
209
210 |image2017-10-27_14-41-13.png|
211
212 #. Select a role from the dropdown lists for each application required
213    by the user.
214
215 #. Click Save.
216
217 The user can access the applications with the roles listed in the Users
218 table.
219
220 Modify users and roles
221 ~~~~~~~~~~~~~~~~~~~~~~
222
223 #. From ONAP Portal Home, click Users in the left menu.
224
225 #. Select an application from the dropdown, search for a user, and
226    select one by clicking the row in the Users table. The user's access
227    and roles display.
228
229 |image2017-10-27_15-21-13.png|
230
231 #. Modify the user's role for each application:
232
233 -  Add or change a user role by selecting or clearing the role from the
234    dropdown list.
235
236 -  Remove all the user's roles for an application by clicking the trash
237    icon
238
239 |ep_trash_icon.png| .
240
241 #. Click Save.
242
243 Delete a user
244 ~~~~~~~~~~~~~
245
246 To delete a user completely, remove access for each application.
247
248 #. From the ONAP Portal Home, click Users in the left menu.
249
250 #. Select an application from the dropdown, search for a user, then
251    click the row in the Users table to select (see `View or search for
252    users`.
253    The user's access and roles display.
254
255 #. Click the trash icon
256
257 |ep_trash_icon.png|  beside an application and click OK to confirm.
258
259 #. Click Save.
260
261 The User is removed from the applications. The User is only removed from
262 the Users table when they have no application access.
263
264 Portal Admins
265 -------------
266
267 Use the Portal Admins section to:
268
269 |image2017-10-27_15-24-5.png|
270
271 View or search for Portal Admins
272 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273
274 #. From ONAP Portal Home, click Portal Admins in the left menu.
275
276 #. Enter a full or partial first name, last, name, or ATTUID in the
277    search box, or click the sorting arrows in any column to sort that
278    column in alphabetical or reverse alphabetical order.
279
280 Add a Portal Admin
281 ~~~~~~~~~~~~~~~~~~
282
283 Only Portal Admins can add or delete other Portal Admins.
284
285 #. From the ONAP Portal Home, click Portal Admins in the left menu.
286
287 #. Click Add Portal Admin. The Add New Portal Admin window displays.
288
289 #. Search for or add a new user:
290
291 -  To search for a user, enter the user's complete first name, last
292    name, or user ID and click search.
293
294 -  To add a new user, click New User, fill in the user details, and
295    click Add New User. The new user appears in the results list.
296
297 #. Select the user from the results and click Save.
298
299 The user is listed in the Portal Admins table and can manage users and
300 admins.
301
302 Delete a Portal Admin
303 ~~~~~~~~~~~~~~~~~~~~~
304
305 Only Portal Admins can add or delete other Portal Admins.
306
307 #. From ONAP Portal Home, click Portal Admins in the left menu.
308
309 #. Search for or scroll to a name in the Portal Admins table and click
310    the trash icon in the Delete column.
311
312 #. Click OK to confirm.
313
314 The Portal Admin is removed from the table.
315
316 Application Onboarding
317 ----------------------
318
319 Use the Application Onboarding section to:
320
321 |image2017-10-27_15-27-1.png|
322
323 Add an application to the Portal
324 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325
326 #. From the ONAP Portal Home, click Application Onboarding in the left
327    menu.
328
329 #. Click Add App.
330
331 #. The Application Details window displays.
332
333 |image2017-10-27_15-28-31.png|
334
335 4. Fill out the fields as described in the table:
336
337 +---------------------------+------------------------------------------+
338 | **Hyperlink only          | Select to add an application with a URL  |
339 | application**             | only.                                    |
340 +===========================+==========================================+
341 | **Application name**      | Application name to display in the       |
342 |                           | Portal.                                  |
343 +---------------------------+------------------------------------------+
344 | **URL**                   | Application landing page for             |
345 |                           | hyperlink-only applications.             |
346 +---------------------------+------------------------------------------+
347 | **REST API URL**          | [Optional] The endpoint for RESTful API  |
348 |                           | calls.                                   |
349 +---------------------------+------------------------------------------+
350 | **Username**              | The username for the RESTful API calls.  |
351 |                           | Default = Default                        |
352 +---------------------------+------------------------------------------+
353 | **Password**              | Password for the RESTful API call.       |
354 |                           | Default = AppPassword!1                  |
355 +---------------------------+------------------------------------------+
356 | **Name Space**            | Namespace value when Application         |
357 |                           | registered in AAF.                       |
358 +---------------------------+------------------------------------------+
359 | **Communication Inbox**   | Do not fill out. Populated by the        |
360 |                           | application.                             |
361 +---------------------------+------------------------------------------+
362 | **Communication Key**     | Do not fill out. Populated by the        |
363 |                           | application.                             |
364 +---------------------------+------------------------------------------+
365 | **Communication Secret**  | Do not fill out. Populated by the        |
366 |                           | application.                             |
367 +---------------------------+------------------------------------------+
368 | **Upload image**          | Click Browse to select the application   |
369 |                           | image to display in the ONAP Portal.     |
370 +---------------------------+------------------------------------------+
371 | **Allow guest access**    | Select to allow access for users not     |
372 |                           | listed as Users or Admins.               |
373 +---------------------------+------------------------------------------+
374 | **Active**                | Select to make the application active.   |
375 +---------------------------+------------------------------------------+
376 | **Centralized**           | Indicate this application is using AAF   |
377 |                           | for centralized role management.         |
378 +---------------------------+------------------------------------------+
379
380 5. Click Save.
381
382 The application appears in the Applications section and in the
383 Application Onboarding table. The Portal Admin receives an email with
384 Communications details.
385
386 6. Add the application URL to the appropriate Manage menu items:
387
388 #. Click Edit Functional Menu in the left menu.
389
390 #. Expand the Manage menu to find the correct items.
391
392 #. Right-click an item and select Edit.
393
394 |ep_editmenu_edit.png|
395
396 #. In the URL field, enter the server URL of the new application and
397    click Save.
398
399 Collect and forward application communication details
400 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
401
402 The Portal administrator forwards communications details and a list of
403 servers to the application developer. The application developer adds the
404 details to the portal-properties file located in \\<app web
405 directory>/WEB-INF/classes.
406
407 **Prerequisites:** *Add an application to the Portal*
408
409 #. Collect the following details and send them to the application
410    developer.
411
412 +----------------------------------------+-----------------------------+
413 | Key-value pair                         | Obtain from                 |
414 +========================================+=============================+
415 | redirect_url = ** /**                  | The redirect URL defined    |
416 | /process_csp                           | as ** /** /process_csp.     |
417 +----------------------------------------+-----------------------------+
418
419 #. Request that the application developer:
420
421 #. Add the key-value pairs above to the portal.properties file located
422    in ** /WEB-INF/classes.
423
424 #. Add the key-value pair shared_context_rest_url = **  to the
425    system.properties file located in the ** /WEB-INF/conf directory.
426
427 #. Restart the application
428
429 Delete an application from the Portal
430 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
431
432 #. From the ONAP Portal Home, click Widget Onboarding in the left menu.
433
434 #. Search for or scroll to an application in the table and click the
435    trash icon
436
437 |ep_trash_icon.png|  in the Delete column.
438
439 #. Click OK to confirm.
440
441 The application is removed from the Portal.
442
443 Widget Onboarding
444 -----------------
445
446 Use the Widget Onboarding section to:
447
448 |image2017-10-27_15-51-18.png|
449
450 Add an application widget to the Portal
451 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
452
453 #. From ONAP Portal Home, click Widget Onboarding in the left menu.
454
455 #. Click Add Widget.
456
457 The Widget Details window displays.
458
459 |image2017-10-27_15-52-28.png|
460
461 3. Fill out the fields as described in the following table.
462
463 +------------------+---------------------------------------------------+
464 | **Application    | Select from a dropdown list of onboarded          |
465 | Name**           | applications.                                     |
466 +==================+===================================================+
467 | **Widget Name**  | The name for the widget that appears in the       |
468 |                  | Widgets section of the Portal.                    |
469 +------------------+---------------------------------------------------+
470 | **Width,         | Automatically populated fields.                   |
471 | Height**         |                                                   |
472 +------------------+---------------------------------------------------+
473 | **URL**          | Widget landing page.                              |
474 +------------------+---------------------------------------------------+
475
476 4. Click Save.
477
478 The widget appears in the Widgets section of the Portal. Users with
479 permissions to the widget's application can access the widget.
480
481 Remove a widget from the Portal
482 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
483
484 #. From ONAP Portal Home, click Widget Onboarding in the left menu.
485
486 #. Search for or scroll to a widget in the table and click the trash
487    icon
488
489 |ep_trash_icon.png|  in the Delete column.
490
491 #. Click OK to confirm.
492
493 The widget is removed from the Portal.
494
495 Edit Functional Menu
496 --------------------
497
498 Edit or rearrange the ONAP Portal functional menus in the Edit
499 Functional Menu section.
500
501 |image2017-10-31_11-12-22.png|
502
503 ONAP Portal menus have 4 levels. The menu levels correspond to how and
504 where the menu items appear in the Portal UI.
505
506 |image2017-10-31_10-49-27.png|
507
508 Use the Edit Functional Menu section to:
509
510 Add a menu item
511 ~~~~~~~~~~~~~~~
512
513 #. From ONAP Portal Home, click Edit Functional Menu in the left menu.
514
515 #. Use the arrows to expand the menu, then right-click on the intended
516    parent menu item and select Add.
517
518 |image2017-10-31_11-16-14.png|
519
520 #. Enter a title for the menu item, then enter a URL or select the
521    application to link to from the App dropdown list.
522
523 #. Click Save.
524
525 #. Click Regenerate Menu to finalize the changes and update the menu.
526
527 Edit a menu item
528 ~~~~~~~~~~~~~~~~
529
530 #. From the ONAP Portal Home, click Edit Functional Menu in the left
531    menu.
532
533 #. Use the arrows to expand the menu, then right-click on the menu item
534    and select Edit.
535
536 #. Make changes to the title, URL, or application and click Continue.
537
538 #. Click Regenerate Menu to finalize the changes and update the menu.
539
540 |image2017-10-31_11-21-2.png|
541
542 Move a menu item
543 ~~~~~~~~~~~~~~~~
544
545 #. From ONAP Portal Home, click Edit Functional Menu in the left menu.
546
547 #. Use the arrows to expand the menu.
548
549 #. Click and drag a menu item to move it.A blue line appears to indicate
550    where the menu item will move. A blue box indicates the moved item
551    will be a child of that item.
552
553 |image2017-10-31_11-23-15.png|
554
555 #. Click Regenerate Menu to finalize the changes and update the menu.
556
557 Delete a menu item
558 ~~~~~~~~~~~~~~~~~~
559
560 A menu item with children cannot be deleted. Delete all child menu items
561 first.
562
563 #. From ONAP Portal Home, click Edit Functional Menu in the left menu.
564
565 #. Use the arrows to expand the menu, then right-click on the menu item
566    and select Delete.
567
568 #. Click OK
569
570 #. Click Regenerate Menu to finalize the changes and update the menu.
571
572 Portal Microservices Onboarding
573 -------------------------------
574
575 From left menu Microservice Onboarding section:
576
577 |image2017-10-31_11-29-12.png|
578
579 Add a microservice widget to the Portal
580 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
581
582 #. From ONAP Portal Home, click Microservice Onboarding in the left
583    menu.
584
585 #. Click Add Microservice.
586
587 The Microservice Details window displays.
588
589 |image2017-10-31_11-34-8.png|
590
591 3. Fill out the fields as described in the following table.
592
593 +---------------------------------+------------------------------------+
594 | **Field**                       | Explanation                        |
595 +=================================+====================================+
596 | **Microservice Name**           | The name for the microservice that |
597 |                                 | appears in the Microservice        |
598 |                                 | section of the Portal.             |
599 +---------------------------------+------------------------------------+
600 | **Microservice Description**    | Describe what the microservice     |
601 |                                 | does                               |
602 +---------------------------------+------------------------------------+
603 | **Application Name**            | Select from a dropdown list of     |
604 |                                 | onboarded applications.            |
605 +---------------------------------+------------------------------------+
606 | **Microservice End Point URL**  | Enter Microservice URL             |
607 +---------------------------------+------------------------------------+
608 | **Security Type**               | Select from dropdown for           |
609 |                                 | Authentication Method              |
610 +---------------------------------+------------------------------------+
611 | **Add User Parameter**          | Enter parameter key and value if   |
612 |                                 | applicable to microservice end     |
613 |                                 | point URL                          |
614 +---------------------------------+------------------------------------+
615 | **Active**                      | Active check/uncheck to show/hide  |
616 |                                 | the microservice                   |
617 +---------------------------------+------------------------------------+
618
619 4. Click Save.
620
621 The microservice appears in the Microservices section of the Portal.
622 Users with permissions to the Microservice application can access the
623 microservice.
624
625 Remove a microservice from the Portal
626 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
627
628 #. From ONAP Portal Home, click Microservice Onboarding in the left
629    menu.
630
631 #. Search for or scroll to a microservice in the table and click the
632    trash icon
633
634 |ep_trash_icon.png|  in the Delete column.
635
636 #. Click OK to confirm.
637
638 The mocroservice is removed from the Portal.
639
640 .. |image2017-10-27_15-56-53.png| image:: attachments/16004343_image2017-10-27_15-56-53.png
641 .. |image2017-12-5_15-8-37.png| image:: attachments/20086820_image2017-12-5_15-8-37.png
642 .. |image2017-10-27_14-14-37.png| image:: attachments/16004284_image2017-10-27_14-14-37.png
643 .. |image2017-10-27_14-17-0.png| image:: attachments/16004288_image2017-10-27_14-17-0.png
644 .. |image2017-10-27_14-23-38.png| image:: attachments/16004295_image2017-10-27_14-23-38.png
645 .. |image2017-10-27_14-26-38.png| image:: attachments/16004297_image2017-10-27_14-26-38.png
646 .. |image2017-10-27_14-30-33.png| image:: attachments/16004301_image2017-10-27_14-30-33.png
647 .. |image2017-10-27_14-30-51.png| image:: attachments/16004303_image2017-10-27_14-30-51.png
648 .. |image2017-10-27_14-35-46.png| image:: attachments/16004306_image2017-10-27_14-35-46.png
649 .. |image2017-10-27_14-41-13.png| image:: attachments/16004309_image2017-10-27_14-41-13.png
650 .. |image2017-10-27_15-21-13.png| image:: attachments/16004321_image2017-10-27_15-21-13.png
651 .. |ep_trash_icon.png| image:: attachments/1018932_ep_trash_icon.png
652 .. |image2017-10-27_15-24-5.png| image:: attachments/16004324_image2017-10-27_15-24-5.png
653 .. |image2017-10-27_15-27-1.png| image:: attachments/16004327_image2017-10-27_15-27-1.png
654 .. |image2017-10-27_15-28-31.png| image:: attachments/16004329_image2017-10-27_15-28-31.png
655 .. |ep_editmenu_edit.png| image:: attachments/1018942_ep_editmenu_edit.png
656 .. |image2017-10-27_15-51-18.png| image:: attachments/16004338_image2017-10-27_15-51-18.png
657 .. |image2017-10-27_15-52-28.png| image:: attachments/16004340_image2017-10-27_15-52-28.png
658 .. |image2017-10-31_11-12-22.png| image:: attachments/16004934_image2017-10-31_11-12-22.png
659 .. |image2017-10-31_10-49-27.png| image:: attachments/16004915_image2017-10-31_10-49-27.png
660 .. |image2017-10-31_11-16-14.png| image:: attachments/16004936_image2017-10-31_11-16-14.png
661 .. |image2017-10-31_11-21-2.png| image:: attachments/16004943_image2017-10-31_11-21-2.png
662 .. |image2017-10-31_11-23-15.png| image:: attachments/16004944_image2017-10-31_11-23-15.png
663 .. |image2017-10-31_11-29-12.png| image:: attachments/16004954_image2017-10-31_11-29-12.png
664 .. |image2017-10-31_11-34-8.png| image:: attachments/16004962_image2017-10-31_11-34-8.png