Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Molinaro
tap_schema_manager
Commits
2c6d3d2c
Commit
2c6d3d2c
authored
Dec 23, 2020
by
Sonia Zorba
Browse files
Bugfix Postgres view metadata. Updated README and version
parent
587bbc8b
Pipeline
#792
passed with stage
in 17 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
2c6d3d2c
# CHANGELOG
## Version 1.3.4
*
Bugfix: loaded also Postgres views metadata
## Version 1.1.0
*
**Application has been renamed to TASMAN**
...
...
README.md
View file @
2c6d3d2c
...
...
@@ -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.
...
...
TASMAN-bom/pom.xml
View file @
2c6d3d2c
...
...
@@ -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>
...
...
TASMAN-core/pom.xml
View file @
2c6d3d2c
...
...
@@ -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>
...
...
TASMAN-core/src/main/java/it/inaf/ia2/tsm/datalayer/pgsql/PostgresDBBroker.java
View file @
2c6d3d2c
...
...
@@ -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
);
}
/**
...
...
TASMAN-embedded/pom.xml
View file @
2c6d3d2c
...
...
@@ -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>
...
...
TASMAN-webapp/pom.xml
View file @
2c6d3d2c
...
...
@@ -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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment