Lucio Lelii 8 years ago
parent 5385c20032
commit 973b95aa99

@ -1,2 +1,6 @@
${gcube.license}
gCube System - License
------------------------------------------------------------
The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
The software and documentation is provided by its authors/distributors "as is" and no expressed or
implied warranty is given for its use, quality or fitness for a particular case.

Binary file not shown.

@ -8,7 +8,7 @@
</parent>
<groupId>org.gcube.resources</groupId>
<artifactId>common-gcore-resources</artifactId>
<version>1.3.1-SNAPSHOT</version>
<version>1.3.2-SNAPSHOT</version>
<scm>
<connection>scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/${project.artifactId}</connection>

@ -20,6 +20,11 @@ public class GenericResource extends Resource {
this.type(Type.GENERIC);
}
public GenericResource(String id) {
this();
this.setId(id);
}
@XmlElementRef
private Profile profile;

@ -96,7 +96,7 @@ public abstract class Resource {
return id;
}
void setId(String id){
public void setId(String id){
this.id=id;
}

@ -98,6 +98,7 @@ public class Resources {
schema.newValidator().validate(new StreamSource(in));
}
//helper

@ -54,6 +54,8 @@ public class GCoreEndpointTest {
endpoint.profile().newDeploymentData().activationTime(Calendar.getInstance());
endpoint.profile().endpoints().add().nameAndAddress("name",URI.create("http://acme.org"));
return endpoint;
}

Loading…
Cancel
Save