SNAPSHOT
This commit is contained in:
parent
0e5a99ff24
commit
f4be76d930
|
@ -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
|
# Changelog for org.gcube.application.geoportal-service
|
||||||
|
|
||||||
|
## [v1.0.1-SNAPSHOT] 2020-11-11
|
||||||
|
|
||||||
## [v1.0.0] 2020-11-11
|
## [v1.0.0] 2020-11-11
|
||||||
|
|
||||||
First release
|
First release
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -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-service</artifactId>
|
<artifactId>geoportal-service</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1-SNAPSHOT</version>
|
||||||
<name>Geoportal Service</name>
|
<name>Geoportal Service</name>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.application</groupId>
|
<groupId>org.gcube.application</groupId>
|
||||||
<artifactId>geoportal-common</artifactId>
|
<artifactId>geoportal-common</artifactId>
|
||||||
<version>[1.0.0,2.0.0)</version>
|
<version>[1.0.0-SNAPSHOT,2.0.0)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.application</groupId>
|
<groupId>org.gcube.application</groupId>
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class ConcessioniTest extends JerseyTest {
|
||||||
public void readId() {
|
public void readId() {
|
||||||
WebTarget target=target(InterfaceConstants.Methods.CONCESSIONI);
|
WebTarget target=target(InterfaceConstants.Methods.CONCESSIONI);
|
||||||
try{
|
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) {
|
}catch(WebApplicationException e) {
|
||||||
if(e.getResponse().getStatus()==404)
|
if(e.getResponse().getStatus()==404)
|
||||||
System.out.println("Object not found");
|
System.out.println("Object not found");
|
||||||
|
|
Reference in New Issue