diff options
author | 2020-08-21 08:40:37 -0400 | |
---|---|---|
committer | 2020-08-21 08:52:29 -0400 | |
commit | 47b65efd69c5158d958261846803d2e15adfb448 (patch) | |
tree | d0f3752b551a31cf39a36cbee16392bbcc36c72b /README.md | |
parent | c32511155acad5b70dcc3cf29e9bfa36276f3894 (diff) |
java 11 upgrade and sonar scan fixes
Recompile java source code using jdk11
Run in ojdk11 JRE
tomcat container upgrade
alpine base image
Issue-ID: DCAEGEN2-2298
Change-Id: Ic4bf2626e5805508589cafe52b7c4e91d7ae3580
Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 66 |
1 files changed, 54 insertions, 12 deletions
@@ -1,31 +1,73 @@ -# ONAP Operations Manager Dashboard +# DCAE Operations Dashboard ## Overview -This is the web UI for the ONAP Operations Manager, also known as the OOM Dashboard. -It consists of the following Maven projects: -- oom-app-common: Java classes that run in a web container like Tomcat -- oom-app-overlay: CSS, HTML and Javascript resources for the web application -- oom-app-os: Web application project with features for ONAP use +A web application that offers a GUI (DCAE Dashboard) and a RESTful web service for the ONAP DCAE Operations. +This application lets DCAE application users to manage (deploy/undeploy/upgrade) their deployments to docker hosts and Kubernetes clusters. +Application blueprints describe the execution workflow in Cloudify Manager to orchestrate deployment of resources to the target environment. +These blueprints are the media to control deployment of DCAE applications. +Users can deploy their blueprints either using the UI or the API (REST). + +## Interfaces + +The REST API provides a north-bound interface to expose the back-end functionality. This API can be used to create bulk deployment automation scripts. +Application back-end communicates with the following downstream services - +- Inventory mS +- Deployment Handler mS +- Cloudify Manager +- Consul + +Persistence layer consists of a Postgres database to store application data and blueprints inventory (via inventory mS). + +## Design + +Backend - A REST based web services integration architecture pattern. + +Frontend - MVC (Model View Controller) application architecture pattern. + +AngularJS MVC front-end application uses RESTful (HTTP) APIs to interact with Spring MVC web Java back-end. + +A multi-module maven project, comprising the following Maven projects: +- ccsdk-app-common: packaging target type of JAR, the JAR is deployed as a run-time dependency for the web application in a web container like Tomcat +- ccsdk-app-overlay: packaging target type of WAR, the WAR file contains AngularJS application code, AngularJS libraries, javascript, CSS and HTML resources for the web application +- ccsdk-app-os: packaging target type of WAR, this is the main web application project with features for ONAP use + +ccsdk-app-os module is a Spring MVC web application. + +csdk-app-common is packaged as a library (jar) for the ccsdk-app-os application. + +ccsdk-app-overlay is a maven WAR overlay to share web resources for the main web application. ### Prerequites The web application requires these resources: -- Java version 8 -- Apache Tomcat version 8.0 or 8.5 +- Java version 11 +- Apache Tomcat version 9.0 - A Postgresql database, version 9.2 or later ## Build instructions -Build all artifacts by invoking maven in this directory: +Build all artifacts by invoking maven in the parent directory: - mvn package + mvn clean install or mvn clean install docker:build -### Deployment steps +### Deployment steps - as an application docker container + +1. Create a PostgreSQL schema for the application database. +2. Configure the application by editing the files portal.properties, system.properties and dashboard.properties. +3. Build jar/war files within each module project ('mvn install'). +4. Create a Dockerfile for the dashboard application container +5. Create cloudify blueprint or Helm chart for the application. Copy blueprint artifacts to bootstrap host. +6. Run Install execution workflow using the blueprint [cfy install -b dashboard -d dashboard -i <inputs filepath> <blueprint filepath> +7. As a first-time user, sign up for a user account at the "/login_external.htm" page. +8. Login at the "login_external.htm" page. + + +### Deployment steps - without container 1. Create a Postgre schema within a Postgres database 2. 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. 3. Configure the application by editing the files portal.properties, system.properties and dashboard.properties. 4. Build a war file within the appropriate web application project ('mvn package'). 5. Deploy the war file to Tomcat. -6. Login the first time using credentials stored in the fn_user table at the "login_external.htm" page. +6. Sign up or Login the first time using credentials stored in the fn_user table at the "login_external.htm" page.
\ No newline at end of file |