Skip to content

How to make your own Strategic Dashboard deployment

Lidia edited this page May 24, 2019 · 5 revisions

Q-Rapids Dashboard is a web application developed in Java. Some data is stored in a PostgreSQL database and some in an Elasticsearch Cluster. It is composed by 4 components:

  • qrapids-dasboard: web application providing all the functionality to the final user
  • qrapids-si_assessment-rest: RESTful service providing strategic indicators assessment using Bayesian Networks instead of an average
  • qrapids-forecast-rest: RESTful service prodiding prediction functionality
  • qrapids-backlog-XXX: RESTful services to export the quality requirements to the specific tools that manage the backlog. For instance qrapids-backlog-openproject is used if the backlog is managed in _OpenProject _or qrapids-backlog-jira if the backlog is managed in Jira.

Requisites

The requisites to deploy Q-Rapids Dashboard are:

  • A web server, e.g. Tomcat
  • Oracle Java JRE
  • PostgreSQL, an open source object-relational database system. The information that you are going to need to configure the connection to the database is: URL and PORT where PostgreSQL is accessible, username, and password
  • Elastic Search
  • R Server
    1. Download and install R in the machine where the R server will be deployed. For Linux, version 3.4.4 is recommended, and for Windows, version 3.5.3. For Linux, the libraries libssl and libcurl may be needed to install the R packages, install the corresponding ones for your distro. For Windows, Rtools may be needed.
    2. (Optional step) For Linux, the installation of the "prophet" package can be speeded up installing the "rstan" binaries beforehand. RStan on Linux (Section "Installing from the repository")
  • PABRE-WS, the corresponding version is included in as part of the installation package (pabre-ws.war). Please, follow the instructions shown at section "Running the project with pabre-ws.war" in the README.md to correctly deploy PABRE. The code is available at https://github.com/OpenReqEU/requirement-patterns

Other Q-Rapids components Required

The data is ingested and analysed by the following components

The quality alerts are generated by

Deployment Steps

Step 1: Generate the qrapids-dasboard.war file

Step 2: Generate the qrapids-si_assessment-rest.war file

Step 3: Generate the qrapids-forecast-rest.war file

Step 4: Generate the qrapids-backlog-XXX.war file

Step 5: Deploy the Strategic Dashboard

Once you have your war files, you need to follow the instructions described at How to deploy the Strategic Dashboard.

Clone this wiki locally