TASMAN - [TA]P_[S]CHEMA [Man]ager
See also the CHANGELOG.
Build
-
Create a
config.properties
file (copy it fromconfig.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).
-
ucd_service_url: the URL for the UCD REST web service.
-
chmod +x build.sh
-
./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
- MySQL testing database needs to have
- 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:
- Ucidy, by Grégory Mantelet (https://github.com/gmantele/ucidy)
- Unity, by Norman Gray (https://bitbucket.org/nxg/unity)