moved to version 2, messages reintroduced
This commit is contained in:
parent
e9ebebdbbf
commit
c36f1764e9
|
@ -3,9 +3,9 @@
|
|||
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.5.0-SNAPSHOT] 2021-10-15
|
||||
## [v2.0.0-SNAPSHOT] 2021-10-15
|
||||
|
||||
- minio as default storage
|
||||
- ceph as default storage
|
||||
- vre folders can define specific bucket as backend
|
||||
- enunciate docs
|
||||
- dockerization of the service
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM smartgears-distribution:4.0.1-SNAPSHOT-java17-tomcat10.1.19
|
||||
FROM smartgears-distribution:4.0.0-java17-tomcat10.1.19
|
||||
COPY ./target/storagehub.war /tomcat/webapps/
|
||||
COPY ./docker/jackrabbit /app/jackrabbit
|
||||
COPY ./docker/storagehub.xml /tomcat/conf/Catalina/localhost/
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -10,7 +10,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.gcube.data.access</groupId>
|
||||
<artifactId>storagehub</artifactId>
|
||||
<version>1.5.0-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>storagehub</name>
|
||||
<scm>
|
||||
<connection>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-smartgears-bom</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
<version>4.0.0-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -375,6 +375,7 @@ public class Utils {
|
|||
|
||||
|
||||
Node newNode = new Item2NodeConverter().getNode(destinationNode, item);
|
||||
|
||||
if (accountingHandler!=null) {
|
||||
accountingHandler.createFolderAddObj(name, item.getClass().getSimpleName(), null, ses, login, destinationNode, false);
|
||||
accountingHandler.createEntryCreate(item.getTitle(), ses, newNode,login, false);
|
||||
|
|
|
@ -95,6 +95,12 @@ public class CreateUsers {
|
|||
client.getVreFolderManager(vreRO).removeUser(user2);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createUri() throws Exception{
|
||||
client.impersonate(user2);
|
||||
client.getWSRoot().addUrl(new URL("https://www.google.it"), "google", "");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createRandomFileAndFolderOnEveryUser() throws Exception {
|
||||
for (SHUBUser user : client.getUsers()) {
|
||||
|
@ -205,8 +211,9 @@ public class CreateUsers {
|
|||
|
||||
}
|
||||
|
||||
|
||||
public void createVRE(String vre, AccessType accesstype, String owner) throws Exception {
|
||||
client.getVreFolderManager(vre).createVRE(accesstype, owner);
|
||||
client.getVreFolderManager(vre).createVRE(accesstype, owner, true);
|
||||
}
|
||||
|
||||
public void setAdmin(String vre, String user) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue