This commit is contained in:
Fabio Sinibaldi 2020-12-03 19:34:06 +01:00
parent 0e5a99ff24
commit f4be76d930
3 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for org.gcube.application.geoportal-service
## [v1.0.1-SNAPSHOT] 2020-11-11
## [v1.0.0] 2020-11-11
First release

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId>
<artifactId>geoportal-service</artifactId>
<version>1.0.0</version>
<version>1.0.1-SNAPSHOT</version>
<name>Geoportal Service</name>
<packaging>war</packaging>
@ -91,7 +91,7 @@
<dependency>
<groupId>org.gcube.application</groupId>
<artifactId>geoportal-common</artifactId>
<version>[1.0.0,2.0.0)</version>
<version>[1.0.0-SNAPSHOT,2.0.0)</version>
</dependency>
<dependency>
<groupId>org.gcube.application</groupId>

View File

@ -83,7 +83,7 @@ public class ConcessioniTest extends JerseyTest {
public void readId() {
WebTarget target=target(InterfaceConstants.Methods.CONCESSIONI);
try{
System.out.println(target.path("8").request(MediaType.APPLICATION_JSON).get(String.class));
System.out.println(target.path("9").request(MediaType.APPLICATION_JSON).get(String.class));
}catch(WebApplicationException e) {
if(e.getResponse().getStatus()==404)
System.out.println("Object not found");