Skip to content
Snippets Groups Projects
Select Git revision
  • 103d837bcfea0015c9e1560c94efb7cad3268ef3
  • master default
  • r1
  • v1.3.5
  • v1.3.4
  • v1.3.3
  • v1.3.0
  • v1.0.4
  • v1.0.3
  • v1.0.1
  • v1.0.0
11 results

tap_schema_manager

TASMAN - [TA]P_[S]CHEMA [Man]ager

See also the CHANGELOG.

Build

  1. Create a config.properties file (copy it from config.properties.example). In this file it is specified:

    • ucd_service_url: the URL for the UCD REST web service.
      • IA2 UCD service is at http://ia2-vo.oats.inaf.it/ucd/
      • if the UCD web service is unreachable the web app will work anyway, but without the UCD search functionality.
    • config_file_path: the location where the web app will store the generated XML configuration (the location needs to be writable by the application server in which TASMAN will run).
  2. chmod +x build.sh

  3. ./build.sh <command>, commands are:

    • core build only TASMAN core
    • test: run tests; you need to create a test.properties file containing a configuration for connecting to a MySQL and a Postgres test database
      • MySQL testing database needs to have default-storage-engine = innodb configured into /etc/my.cnf
      • Postgres 9.3+ is required
    • glassfish: build GlassFish war package
    • tomcat: build Tomcat war package (using config.properties file)
    • embedded: build embedded package (to be run locally!)
    • installer: build install script (produce self-extracting install.sh script)

Supported application servers

The web app has been tested with:

  • GlassFish 4.1
  • Tomcat 8.0.33

The web app relies on specific JSF and EL versions, so it could not work in different application servers without a proper configuration.

WARNING: maven repo

Build requires Ucidy and Unity that are not available at central maven repo. You should have them installed in a local maven repo.

To do this: download the jar files listed in the following credits section and run a couple of mvn install:install-file commands based upond the dependencies description in the TASMAN-webapp pom.xml file.

Credits

TAP_SCHEMA Manager web application uses the following VO libraries: