Skip to content
Snippets Groups Projects
Commit 2c6d3d2c authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix Postgres view metadata. Updated README and version

parent 587bbc8b
No related branches found
Tags v1.3.4
No related merge requests found
Pipeline #792 passed
# CHANGELOG
## Version 1.3.4
* Bugfix: loaded also Postgres views metadata
## Version 1.1.0
* **Application has been renamed to TASMAN**
......
......@@ -22,6 +22,19 @@ See also the [CHANGELOG](CHANGELOG.md).
* **embedded**: build embedded package (to be run _locally!_)
* **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
The web app has been tested with:
......@@ -33,9 +46,9 @@ The web app relies on specific JSF and EL versions, so it could not work in diff
#### 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.
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`
commands based upond the dependencies description in the _TASMAN-webapp_ _pom.xml_ file.
......
......@@ -4,7 +4,7 @@
<groupId>it.inaf.ia2.tsm</groupId>
<artifactId>tasman-bom</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
<packaging>pom</packaging>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>it.inaf.ia2.tsm</groupId>
<artifactId>tasman-bom</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
</parent>
<artifactId>tasman-core</artifactId>
......
......@@ -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_namespace n ON c.relnamespace = n.oid\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);
}
/**
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>it.inaf.ia2.tsm</groupId>
<artifactId>tasman-bom</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
</parent>
<artifactId>tasman-embedded</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>it.inaf.ia2.tsm</groupId>
<artifactId>tasman-bom</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
</parent>
<artifactId>tasman-webapp</artifactId>
......@@ -293,4 +293,10 @@
</plugins>
</build>
<repositories>
<repository>
<id>ia2.internal</id>
<url>http://repo.ia2.inaf.it/maven/repository/internal</url>
</repository>
</repositories>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment