There are two ways to add an application to the main page, either through the GUI or during deployment.

Through GUI

  1. Log in to ONAP Portal as Super User. As of Casablanca this is    Login:"demo"     and    Password:"demo123456!"
  2. Select "Application Onboarding" on the tab on the left of screen.
  3. Fill out the required Application Details (Name, URL, REST API URL, Username, Password), and any additional details as required.
  4. Select “Application Catalogue”, again on the left tab.
  5. Tick the box of onboarded app.
  6. Return to home tab, application should now be present.

During Deployment

  1.  Insert Application info into fn_app

First the application info is inserted into the fn_app table. Below is an example of insert values for SO Monitoring.

INSERT IGNORE INTO `fn_app` (`app_id`, `app_name`, `app_image_url`, `app_description`, `app_notes`, `app_url`, `app_alternate_url`, `app_rest_endpoint`, `ml_app_name`, `ml_app_admin_id`, `mots_id`, `app_password`, `open`, `enabled`, `thumbnail`, `app_username`, `ueb_key`, `ueb_secret`, `ueb_topic_name`, `app_type`,`auth_central`,`auth_namespace`) VALUES (10, 'SO-Monitoring', NULL, NULL, NULL, 'http://{{.Values.config.soMonitoringHostName}}:{{.Values.soMonitoringPort}}', NULL, 'http://so-monitoring:30224', '', '', NULL, 'password', 'Y', 'Y', NULL, 'user', '', '', '', 1,'N','SO-Monitoring');

     2.  Add Thumbnail Image to fn_app

Next the thumbnail image needs to be set for the application. This is also done in the fn_app table. This could be done in the above insert statement, but for the sake of clarity this should be done separately in an update statement. Note the app_id must equal to the app_id of the application inserted in the previous step. Below is an example of insert values for SO Monitoring, although the image value has been cut short for the wiki.

UPDATE fn_app SET thumbnail =


where app_id = 10;

     3.  Set in fn_pers_user_app_sel
Next the application needs a corresponding row in the fn_pers_user_app_sel table. This table is used to decide which applications appear on the homepage. The second value inserted must be 1 and the third value inserted must be equal to the app_id previously used. Below is an example of insert values for SO Monitoring.

INSERT IGNORE INTO `fn_pers_user_app_sel` VALUES (10,1,10,'S');

     4.  Add contact info in fn_app_contact_us
Finally the application needs a corresponding row in the fn_app_contact_us table. This value is used to give contact information for a project if required. The first value inserted must be equal to the app_id previously used. Below is an example of insert values for SO Monitoring.

INSERT IGNORE INTO `fn_app_contact_us` (app_id, contact_name, contact_email, url, active_yn, description) VALUES ( 10,"SO Team","","",NULL, "Service Orchestration (SO).");

You may also want to use visual panels to communicate related information, tips or things users need to be aware of.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues