Compare commits

...

6 Commits

Author SHA1 Message Date
lucio.lelii be04b3d9ad Merge branch 'master' of https://code-repo.d4science.org/gCubeSystem/storagehub-model.git 2021-09-28 13:09:36 +02:00
lucio.lelii 8809fed6aa ignored managedBy property 2021-09-28 13:09:12 +02:00
Lucio Lelii a855d15edd Update 'CHANGELOG.md' 2021-09-28 12:59:14 +02:00
lucio.lelii 42fee4c603 udate changelog 2021-09-28 12:58:40 +02:00
lucio.lelii d19e3c65a3 Merge branch 'master' of https://code-repo.d4science.org/gCubeSystem/storagehub-model.git 2021-09-28 12:51:10 +02:00
lucio.lelii ff34c20cc4 release for bug on externalManaged filed 2021-09-28 12:50:01 +02:00
4 changed files with 12 additions and 2 deletions

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.1.1] - [2021-09-28]
- solved bug on externalManaged field
## [v1.1.0] - [2021-04-29]
- jackson version moved to 2.8.11

View File

@ -18,7 +18,7 @@
<groupId>org.gcube.common</groupId>
<artifactId>storagehub-model</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<name>storagehub-model</name>
<dependencyManagement>

View File

@ -13,6 +13,7 @@ import org.gcube.common.storagehub.model.items.nodes.Accounting;
import org.gcube.common.storagehub.model.items.nodes.Owner;
import org.gcube.common.storagehub.model.types.ItemAction;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
@ -27,7 +28,9 @@ public class Item extends RootItem{
boolean trashed;
boolean externalManaged;
//TODO: remove on next release
@JsonIgnore
boolean externalManaged = false;
boolean shared;

View File

@ -2,6 +2,8 @@ package org.gcube.common.storagehub.model.items.nodes;
import org.gcube.common.storagehub.model.annotations.Attribute;
import org.gcube.common.storagehub.model.annotations.AttributeRootNode;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@ -29,6 +31,7 @@ public class Content {
@Attribute("hl:storageId")
String storageId;
@JsonIgnore
@Attribute("hl:storageName")
String managedBy;
}