There are two ways to add an application to the main page, either through the GUI or during deployment.
Through GUI
- Log in to ONAP Portal as Super User. As of Casablanca this is Login:"demo" and Password:"demo123456!"
- Select "Application Onboarding" on the tab on the left of screen.
- Fill out the required Application Details (Name, URL, REST API URL, Username, Password), and any additional details as required.
- Select “Application Catalogue”, again on the left tab.
- Tick the box of onboarded app.
- Return to home tab, application should now be present.
During Deployment
- Insert Application info into fn_app
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');
Add Thumbnail
UPDATE thumbnail SET
where app_id = 10;Related articles