moved to version 2, messages reintroduced

This commit is contained in:
lucio 2024-10-21 16:59:55 +02:00
parent e9ebebdbbf
commit c36f1764e9
5 changed files with 14 additions and 6 deletions

View File

@ -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

View File

@ -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/

View File

@ -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>

View File

@ -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);

View File

@ -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 {