This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Development Environment Installation
Amin Boudeffa edited this page Jun 6, 2018
·
10 revisions
The Quality Guard Analysis Tool can be executed in both Linux or Windows systems. To be executed, the tool requires the installation of the following tools:
- Download MySQL Community Server ver. 5.7 or above : https://dev.mysql.com/downloads/mysql/
- Install MySQL using these instructions : https://dev.mysql.com/doc/refman/5.7/en/installing.html
- Create a new database named "qualityguardanalysis".
- Download and install the jdk8 in your environment : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Download Node.js ver. 8.11.2 (includes npm 5.6.0) or above : https://nodejs.org/en/download/
- Download Yarn ver. 1.7.0 or above : https://yarnpkg.com
- Download the last released version of the QualityGuardAnalysisTool : https://github.com/ITEA3-Measure/QualityGuardAnalysis/releases
- Unzip the project in your tool directory.
Platform is parametrize using a property file. This property file has to be put in the same folder of the quality-guard-analysis-0.0.1-SNAPSHOT.jar binary application.
Edit the application.properties file :
Property | Description | Default Value |
---|---|---|
measure-platform.url | URL of the measure platform | localhost/ |
analysis-tool.url | URL of the quality guard analysis tool | localhost:8585/#/ |
analysis-tool.elasticsearch.url | Url of Elasticsearch search engine | 127.0.0.1 |
analysis-tool.elasticsearch.port | Port of Elasticsearch search engine | 9300 |
analysis-tool.elasticsearch.cluster-key | CLuster key of Elasticsearch search engine | cluster.name |
**analysis-tool.elasticsearch.cluster-name | CLuster name of Elasticsearch search engine | elasticsearch |
spring.datasource.url | JDBC URL of the database ex: "jdbc:mysql://"+ ip of computer in which is installed MySQL database name. | jdbc:mysql://localhost:3306/qualityguardanalysis |
spring.datasource.username | Loign MySQL. | root |
spring.datasource.password | Password MySQL. | root |
spring.datasource.driver-class-name | Driver JDBC for MySQL | com.mysql.jdbc.Driver |
server.port | Port of the QualityGuardAnalysisTool web application | 8585 |
In order to launch the Quality Gate tool, there are two launch modes:
- Standalone mode: In this case, you have to follow these steps:
- Start MySQL
- Follow these steps to launch the measure platform
- Start the Quality Guard Analysis Tool : java -jar quality-guard-analysis-{version}.war
- From Eclipse As Release: Select the "QualityGuardAnalysisApp.java" file and Right Click > Run as > Java Application
- From Eclipse As Debug: Select the "QualityGuardAnalysisApp.java" file and Right Click > Debug as > Java Application
The analysis tool is embedded and accessible via the measure platform : http://localhost/#/