blob: d5826cf0c1ea43c680b85b0742c10daab3099b78 [file] [log] [blame]
Brian Freeman6d868cc2017-09-28 11:14:02 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
Nicolas Hu37479442017-10-03 15:13:46 -04003ccsdk dashboard - Common Controller dashboard
Nicolas Hu377afe42017-10-09 11:52:23 -04004=============================================
5This is the web UI for the Common Controller, also known as the CCSDK Dashboard.
6
Brian Freeman6d868cc2017-09-28 11:14:02 +00007.. toctree::
8 :maxdepth: 1
9
Nicolas Hu377afe42017-10-09 11:52:23 -040010Architecture
11------------
12Dashboard Project consists of the following Maven projects:
Brian Freeman6d868cc2017-09-28 11:14:02 +000013
Nicolas Huf73ff222017-10-09 13:24:29 -040014- oom-app-common: Java classes that run in a web container like Tomcat
15- oom-app-overlay: CSS, HTML and Javascript resources for the web application
16- oom-app-os: Web application project with features for ONAP use
Nicolas Hu377afe42017-10-09 11:52:23 -040017
18Prerequites
19-----------
20The web application requires these resources:
Nicolas Hu0d7b5be2017-10-09 16:18:06 -040021
Nicolas Huf73ff222017-10-09 13:24:29 -040022- Java version 8
23- Apache Tomcat version 8.0 or 8.5
24- A Postgresql database, version 9.2 or later
Nicolas Hu377afe42017-10-09 11:52:23 -040025
26Build
27-----
28Build all artifacts by invoking maven in this directory::
29
Nicolas Hu0d7b5be2017-10-09 16:18:06 -040030 mvn package
Nicolas Hu377afe42017-10-09 11:52:23 -040031
32Deployment steps
33----------------
Nicolas Huf73ff222017-10-09 13:24:29 -0400341. Create a Postgre schema within a Postgres database.
352. 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.
363. Configure the application by editing the files portal.properties, system.properties and dashboard.properties.
374. Build a war file within the appropriate web application project ('mvn package').
385. Deploy the war file to Tomcat.
396. Login the first time using credentials stored in the fn_user table at the "login_external.htm" page.