blob: 3b8c9900cd77743cbeb5ab154c1dea6ba3611550 [file] [log] [blame]
Brian Freeman6d868cc2017-09-28 11:14:02 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
LF Jenkins CIb6d91ea2020-04-07 17:38:17 +00002.. _master_index:
Brian Freeman6d868cc2017-09-28 11:14:02 +00003
Nicolas Hu37479442017-10-03 15:13:46 -04004ccsdk dashboard - Common Controller dashboard
Nicolas Hu377afe42017-10-09 11:52:23 -04005=============================================
6This is the web UI for the Common Controller, also known as the CCSDK Dashboard.
7
Brian Freeman6d868cc2017-09-28 11:14:02 +00008.. toctree::
9 :maxdepth: 1
10
Nicolas Hu377afe42017-10-09 11:52:23 -040011Architecture
12------------
13Dashboard Project consists of the following Maven projects:
Brian Freeman6d868cc2017-09-28 11:14:02 +000014
Nicolas Huf73ff222017-10-09 13:24:29 -040015- oom-app-common: Java classes that run in a web container like Tomcat
16- oom-app-overlay: CSS, HTML and Javascript resources for the web application
17- oom-app-os: Web application project with features for ONAP use
Nicolas Hu377afe42017-10-09 11:52:23 -040018
19Prerequites
20-----------
21The web application requires these resources:
Nicolas Hu0d7b5be2017-10-09 16:18:06 -040022
Nicolas Huf73ff222017-10-09 13:24:29 -040023- Java version 8
24- Apache Tomcat version 8.0 or 8.5
25- A Postgresql database, version 9.2 or later
Nicolas Hu377afe42017-10-09 11:52:23 -040026
27Build
28-----
29Build all artifacts by invoking maven in this directory::
30
Nicolas Hu0d7b5be2017-10-09 16:18:06 -040031 mvn package
Nicolas Hu377afe42017-10-09 11:52:23 -040032
33Deployment steps
34----------------
Nicolas Huf73ff222017-10-09 13:24:29 -0400351. Create a Postgre schema within a Postgres database.
362. Populate the schema using the DDL and DML scripts in the appropriate db-scripts areas; see the README.md there for instructions to set the user's default schema.
373. Configure the application by editing the files portal.properties, system.properties and dashboard.properties.
384. Build a war file within the appropriate web application project ('mvn package').
395. Deploy the war file to Tomcat.
406. Login the first time using credentials stored in the fn_user table at the "login_external.htm" page.