1.0.0.1 #1

Manually merged
fabio.sinibaldi merged 10 commits from 1.0.0.1 into master 2020-11-04 12:57:41 +01:00
4 changed files with 11 additions and 8 deletions
Showing only changes of commit 9942c7f8cc - Show all commits

View File

@ -2,9 +2,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for org.gcube.application.geoportal-logic # Changelog for org.gcube.application.geoportal-logic
## [v1.0.0.1-SNAPSHOT] - 2020-11-2 ## [v1.0.0.1] - 2020-11-2
SDI publication exception non blocking SDI publication exception are now non blocking
Automatic centroids creation Automatic centroids layer creation
Default EntityManagerFactory to be set by caller
## [v1.0.0] - 2020-09-25 ## [v1.0.0] - 2020-09-25

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-logic</artifactId> <artifactId>geoportal-logic</artifactId>
<version>1.0.0.1-SNAPSHOT</version> <version>1.0.0.1</version>
<name>Geoportal Logic</name> <name>Geoportal Logic</name>
@ -36,7 +36,7 @@
<dependency> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-bom</artifactId> <artifactId>gcube-bom</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@ -12,7 +12,8 @@ import org.gcube.application.geoportal.utils.ISUtils;
public class CheckContextConfiguration { public class CheckContextConfiguration {
public static void main(String[] args) { public static void main(String[] args) {
TokenSetter.set("/gcube/devNext/NextNext"); // TokenSetter.set("/gcube/devNext/NextNext");
TokenSetter.set("/pred4s/preprod/preVRE");
// System.out.println("Checking for internal .. "); // System.out.println("Checking for internal .. ");
// ConcessioneManager manager=ManagerFactory.getByRecord(new Concessione()); // ConcessioneManager manager=ManagerFactory.getByRecord(new Concessione());
// try { // try {
@ -23,7 +24,7 @@ public class CheckContextConfiguration {
// }finally { // }finally {
// manager.shutdown(); // manager.shutdown();
// } // }
System.out.println(ISUtils.queryForDB("postgresql", "internal_db")); System.out.println(ISUtils.queryForDB("postgresql", "internal-db"));
System.out.println("Checking for postgis .. "); System.out.println("Checking for postgis .. ");
System.out.println(ISUtils.queryForDB("postgis", "Concessioni")); System.out.println(ISUtils.queryForDB("postgis", "Concessioni"));

View File

@ -23,7 +23,8 @@ import org.junit.Assert;
public class UseCases { public class UseCases {
public static void main(String[] args) throws PersistenceException, IOException, ValidationException, PublishException { public static void main(String[] args) throws PersistenceException, IOException, ValidationException, PublishException {
TokenSetter.set("/gcube/devNext/NextNext"); // TokenSetter.set("/gcube/devNext/NextNext");
TokenSetter.set("/pred4s/preprod/preVRE");
try{ try{
registerNewConcessione(); registerNewConcessione();
}catch(ValidationException e) { }catch(ValidationException e) {