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