Loading CHANGELOG.md +4 −0 Original line number Original line Diff line number Diff line # CHANGELOG # CHANGELOG ## Version 1.3.4 * Bugfix: loaded also Postgres views metadata ## Version 1.1.0 ## Version 1.1.0 * **Application has been renamed to TASMAN** * **Application has been renamed to TASMAN** Loading README.md +15 −2 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,19 @@ See also the [CHANGELOG](CHANGELOG.md). * **embedded**: build embedded package (to be run _locally!_) * **embedded**: build embedded package (to be run _locally!_) * **installer**: build install script (produce self-extracting install.sh script) * **installer**: build install script (produce self-extracting install.sh script) ### WARNING: Java 8 is required Currently TASMAN needs Java 8, higher versions are not working. If your default Java installation is a higher version you have to set the `JAVA_HOME` variable while running the build.sh script. JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./build.sh installer In the same way you have to explicitly configure the Java binary to use in the `/opt/tasman/tasman` file: #!/bin/bash /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar /opt/tasman/tasman-embedded.jar $1 ## Supported application servers ## Supported application servers The web app has been tested with: The web app has been tested with: Loading @@ -33,9 +46,9 @@ The web app relies on specific JSF and EL versions, so it could not work in diff #### WARNING: maven repo #### WARNING: maven repo Build requires _Ucidy_ and _Unity_ that are not available at central Build requires _Ucidy_ and _Unity_ that are not available at central maven repo. You should have them installed in a local maven repo. maven repo. They are automatically downloaded during the build from [IA2 Maven Repository](http://repo.ia2.inaf.it/maven/). To do this: download the jar files listed in the following In case of issues with IA2 repository you can install them manually: download the jar files listed in the following credits section and run a couple of `mvn install:install-file` credits section and run a couple of `mvn install:install-file` commands based upond the dependencies description in the _TASMAN-webapp_ _pom.xml_ file. commands based upond the dependencies description in the _TASMAN-webapp_ _pom.xml_ file. Loading TASMAN-bom/pom.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -4,7 +4,7 @@ <groupId>it.inaf.ia2.tsm</groupId> <groupId>it.inaf.ia2.tsm</groupId> <artifactId>tasman-bom</artifactId> <artifactId>tasman-bom</artifactId> <version>1.3.3</version> <version>1.3.4</version> <packaging>pom</packaging> <packaging>pom</packaging> Loading TASMAN-core/pom.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ <parent> <parent> <groupId>it.inaf.ia2.tsm</groupId> <groupId>it.inaf.ia2.tsm</groupId> <artifactId>tasman-bom</artifactId> <artifactId>tasman-bom</artifactId> <version>1.3.3</version> <version>1.3.4</version> </parent> </parent> <artifactId>tasman-core</artifactId> <artifactId>tasman-core</artifactId> Loading TASMAN-core/src/main/java/it/inaf/ia2/tsm/datalayer/pgsql/PostgresDBBroker.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -199,8 +199,10 @@ public class PostgresDBBroker extends DBBrokerTemplate { sb.append("JOIN pg_catalog.pg_class c ON f.ftrelid = c.relfilenode\n"); sb.append("JOIN pg_catalog.pg_class c ON f.ftrelid = c.relfilenode\n"); sb.append("JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid\n"); sb.append("JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid\n"); sb.append("WHERE n.nspname = '%s'\n"); sb.append("WHERE n.nspname = '%s'\n"); // Select also views: sb.append("UNION SELECT table_name FROM information_schema.views WHERE table_schema = '%s'\n"); return String.format(sb.toString(), schemaName, schemaName); return String.format(sb.toString(), schemaName, schemaName, schemaName); } } /** /** Loading Loading
CHANGELOG.md +4 −0 Original line number Original line Diff line number Diff line # CHANGELOG # CHANGELOG ## Version 1.3.4 * Bugfix: loaded also Postgres views metadata ## Version 1.1.0 ## Version 1.1.0 * **Application has been renamed to TASMAN** * **Application has been renamed to TASMAN** Loading
README.md +15 −2 Original line number Original line Diff line number Diff line Loading @@ -22,6 +22,19 @@ See also the [CHANGELOG](CHANGELOG.md). * **embedded**: build embedded package (to be run _locally!_) * **embedded**: build embedded package (to be run _locally!_) * **installer**: build install script (produce self-extracting install.sh script) * **installer**: build install script (produce self-extracting install.sh script) ### WARNING: Java 8 is required Currently TASMAN needs Java 8, higher versions are not working. If your default Java installation is a higher version you have to set the `JAVA_HOME` variable while running the build.sh script. JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./build.sh installer In the same way you have to explicitly configure the Java binary to use in the `/opt/tasman/tasman` file: #!/bin/bash /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar /opt/tasman/tasman-embedded.jar $1 ## Supported application servers ## Supported application servers The web app has been tested with: The web app has been tested with: Loading @@ -33,9 +46,9 @@ The web app relies on specific JSF and EL versions, so it could not work in diff #### WARNING: maven repo #### WARNING: maven repo Build requires _Ucidy_ and _Unity_ that are not available at central Build requires _Ucidy_ and _Unity_ that are not available at central maven repo. You should have them installed in a local maven repo. maven repo. They are automatically downloaded during the build from [IA2 Maven Repository](http://repo.ia2.inaf.it/maven/). To do this: download the jar files listed in the following In case of issues with IA2 repository you can install them manually: download the jar files listed in the following credits section and run a couple of `mvn install:install-file` credits section and run a couple of `mvn install:install-file` commands based upond the dependencies description in the _TASMAN-webapp_ _pom.xml_ file. commands based upond the dependencies description in the _TASMAN-webapp_ _pom.xml_ file. Loading
TASMAN-bom/pom.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -4,7 +4,7 @@ <groupId>it.inaf.ia2.tsm</groupId> <groupId>it.inaf.ia2.tsm</groupId> <artifactId>tasman-bom</artifactId> <artifactId>tasman-bom</artifactId> <version>1.3.3</version> <version>1.3.4</version> <packaging>pom</packaging> <packaging>pom</packaging> Loading
TASMAN-core/pom.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -5,7 +5,7 @@ <parent> <parent> <groupId>it.inaf.ia2.tsm</groupId> <groupId>it.inaf.ia2.tsm</groupId> <artifactId>tasman-bom</artifactId> <artifactId>tasman-bom</artifactId> <version>1.3.3</version> <version>1.3.4</version> </parent> </parent> <artifactId>tasman-core</artifactId> <artifactId>tasman-core</artifactId> Loading
TASMAN-core/src/main/java/it/inaf/ia2/tsm/datalayer/pgsql/PostgresDBBroker.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -199,8 +199,10 @@ public class PostgresDBBroker extends DBBrokerTemplate { sb.append("JOIN pg_catalog.pg_class c ON f.ftrelid = c.relfilenode\n"); sb.append("JOIN pg_catalog.pg_class c ON f.ftrelid = c.relfilenode\n"); sb.append("JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid\n"); sb.append("JOIN pg_catalog.pg_namespace n ON c.relnamespace = n.oid\n"); sb.append("WHERE n.nspname = '%s'\n"); sb.append("WHERE n.nspname = '%s'\n"); // Select also views: sb.append("UNION SELECT table_name FROM information_schema.views WHERE table_schema = '%s'\n"); return String.format(sb.toString(), schemaName, schemaName); return String.format(sb.toString(), schemaName, schemaName, schemaName); } } /** /** Loading