/pf

Primary LanguageJava

Data Quality Assesment

Developers

Data Quality Assesment is a Java-Wicket powered web application for Semantic Web data quality analysis.

Installation

General Requirements:

  • Download and install the latest version of PostgreSQL

Run the application from Eclipse

Requirements:

Setup:

  • Clone this repository to your computer

  • Import the project in Eclipse: File -> Import... -> Maven -> Existing Maven Projects

  • Open the PGAdmin application. Create a new user role with name 'finalproject' and password 'finalproject'. Then, in PGAdmin, copy and execute the SQL code of the following files, in the following order:

    • src/test/resources/postgresql-create-tables.sql
    • src/test/resources/db/2017_06_10_18_13_add_timestamp_to_evaluated_resource.sql
    • src/test/resources/db/2017_06_12_19_26_create_endpoint_stats_table.sql
    • src/test/resources/db/2017_09_10_19_21_add_role_to_user.sql
    • src/test/resources/db/2017_10_21_16_52_add_endpoint_params.sql
    • src/test/resources/db/2017_11_12_16_16_add_deleted_at_to_user.sql
    • src/test/resources/db/2017_12_02_13_21_add_score_resource.sql
    • src/test/resources/db/2017_12_08_15_46_add_campaign_description.sql
  • In Eclipse, right click on the src/test/java/com/itba/Start.java -> Run As -> Java Application

  • By default, the application will be listening for requests at the 127.0.0.1:8080. Open a web browser and head to http://localhost:8080 to get started.

Run the application from an Apache Tomcat server

Requirements:

Setup:

  • Clone this repository to your computer

  • Step inside the cloned repository

  • run mvn package. This will generate the dataqualityassesments-1.0-SNAPSHOT.war file inside the target folder

  • copy the .war file in the PATH_TO_APACHE_TOMCAT_FOLDER/webapps/ folder

  • Open the PGAdmin application. Create a new user role with name 'finalproject' and password 'finalproject'. Then, in PGAdmin, copy and execute the SQL code of the following files, in the following order:

    • src/test/resources/postgresql-create-tables.sql
    • src/test/resources/db/2017_06_10_18_13_add_timestamp_to_evaluated_resource.sql
    • src/test/resources/db/2017_06_12_19_26_create_endpoint_stats_table.sql
    • src/test/resources/db/2017_09_10_19_21_add_role_to_user.sql
    • src/test/resources/db/2017_10_21_16_52_add_endpoint_params.sql
    • src/test/resources/db/2017_11_12_16_16_add_deleted_at_to_user.sql
    • src/test/resources/db/2017_12_02_13_21_add_score_resource.sql
    • src/test/resources/db/2017_12_08_15_46_add_campaign_description.sql
  • Stepped in the PATH_TO_APACHE_TOMCAT_FOLDER folder, run sh bin/startup.sh

  • Open a web browser and head to htp://localhost:8080/dataqualityassessmens-1.0-SNAPSHOT/