-
Notifications
You must be signed in to change notification settings - Fork 0
Home
In style of its eponym, palantir is a gateway browse other worlds, namely processed count data and transformations from experiments such as RNA-seq and Screens. Palantir is a deployable Maven 3 project compliant with Java EE6 on WildFly AS 10.x. It includes a persistence unit connecting to a MySQL datasource with processed and prepared NGS data utilizing palantir-processor and palantir-importer and transformations from experiments such as RNA-seq and Screens. The JSF front-end lets you conveniently browse the data and add metainformation such as sample annotations, screen candidate selection and comments, as well as grouping data into experiments.
Palantir was tested on Mozilla Firefox, Safari and Opera. Google Chrome is explicitly not supported (not for a lack of trying 👎 ).
If you have not yet done so, you must Configure Maven before building and deploying or running any tests.
-
Open a command line and navigate to the root of the WildFly server directory.
-
The following shows the command line to start the server with the web profile:
For Linux: ./bin/standalone.sh For Windows: \bin\standalone.bat
The application server needs to have a configured JTA MySQL datasource containing the processed data import from palantir-importer as well as the installed MySQL connector.
After setup, configure the datasource in persistence.xml accordingly.
NOTE: The following build command assumes you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line.
-
Make sure you have started the WildFly Server as described above.
-
Open a command line and navigate to the root directory of palantir.
-
Type this command to build and deploy the archive:
mvn clean package org.wildfly.plugins:wildfly-maven-plugin:deploy
-
This will deploy
target/palantir.war
to the running instance of the server.
The application will be running at the following URL: http://localhost:8080/palantir/.
-
Make sure you have started the JBoss Server as described above.
-
Open a command line and navigate to the root directory of this palantir.
-
When you are finished testing, type this command to undeploy the archive:
mvn org.wildfly.plugins:wildfly-maven-plugin:undeploy
Palantir also provides Arquillian tests. By default, these tests are configured to be skipped as Arquillian tests require the use of a container.
-
Make sure you have started the WildFly Server as described above.
-
Open a command line and navigate to the root directory of this palantir.
-
Type the following command to run the test goal with the following profile activated:
mvn clean test -Parq-wildfly-remote
If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.
mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc