updated model
This commit is contained in:
parent
701283e5a2
commit
e1d8700d6a
|
@ -3,6 +3,8 @@
|
||||||
All notable changes to this project will be documented in this file.
|
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).
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [v2.0.0-SNAPSHOT] - [2023-02-25]
|
||||||
|
|
||||||
## [v1.1.1] - [2021-09-28]
|
## [v1.1.1] - [2021-09-28]
|
||||||
|
|
||||||
- solved bug on externalManaged field
|
- solved bug on externalManaged field
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class UserNotAuthorizedException extends StorageHubException {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getStatus() {
|
public int getStatus() {
|
||||||
return 500;
|
return 401;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@ import org.gcube.common.storagehub.model.annotations.Attribute;
|
||||||
import org.gcube.common.storagehub.model.annotations.AttributeRootNode;
|
import org.gcube.common.storagehub.model.annotations.AttributeRootNode;
|
||||||
import org.gcube.common.storagehub.model.annotations.NodeAttribute;
|
import org.gcube.common.storagehub.model.annotations.NodeAttribute;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
|
@ -17,6 +17,11 @@ public abstract class StorageBackend {
|
||||||
public PayloadBackend getPayloadConfiguration() {
|
public PayloadBackend getPayloadConfiguration() {
|
||||||
return payloadConfiguration;
|
return payloadConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void setPayloadConfiguration(PayloadBackend payloadConfiguration) {
|
||||||
|
this.payloadConfiguration = payloadConfiguration;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public abstract MetaInfo onCopy(Content content, String newParentPath, String newName);
|
public abstract MetaInfo onCopy(Content content, String newParentPath, String newName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue