Skip to content

Commit

Permalink
Merge branch 'release-1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicpeter committed Sep 21, 2020
2 parents 9de0126 + cd60148 commit 24088d5
Show file tree
Hide file tree
Showing 64 changed files with 369 additions and 199 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ deploy:
tags: true
condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?(-SNAPSHOT)?$"

- provider: script
skip_cleanup: true
script: /bin/bash .travis/deploy_develop_to_openshift.sh
on:
branch: develop

- provider: script
skip_cleanup: true
script: /bin/bash .travis/upload_dockerhub.sh
on:
all_branches: true
tags: true
condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?(-SNAPSHOT)?$"
# - provider: script
# skip_cleanup: true
# script: /bin/bash .travis/deploy_develop_to_openshift.sh
# on:
# branch: develop

# - provider: script
# skip_cleanup: true
# script: /bin/bash .travis/upload_dockerhub.sh
# on:
# all_branches: true
# tags: true
# condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?(-SNAPSHOT)?$"

after_success:
- /bin/bash .travis/codecov_bash.sh
Expand Down
2 changes: 1 addition & 1 deletion datasafe-business/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>

<artifactId>datasafe-cli</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-directory/datasafe-directory-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-directory</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-directory-api</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-directory/datasafe-directory-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-directory</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-directory-impl</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-directory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-encryption/datasafe-encryption-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-encryption</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-encryption-api</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-encryption/datasafe-encryption-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-encryption</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-encryption-impl</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-encryption/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-examples/datasafe-examples-business/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-examples</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-examples-business</artifactId>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-examples</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-examples-customize-dagger</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-examples/datasafe-examples-multidfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-examples</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-examples-multidfs</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-examples/datasafe-examples-versioned-s3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-examples</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-examples-versioned-s3</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-inbox/datasafe-inbox-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-inbox</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-inbox-api</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-inbox/datasafe-inbox-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-inbox</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-inbox-impl</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-inbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe-long-run-tests</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import de.adorsys.datasafe.simple.adapter.api.types.ListRecursiveFlag;
import de.adorsys.datasafe.simple.adapter.impl.DFSTestCredentialsFactory;
import de.adorsys.datasafe.simple.adapter.impl.SimpleDatasafeServiceImpl;
import de.adorsys.datasafe.simple.adapter.impl.config.PathEncryptionConfig;
import de.adorsys.datasafe.types.api.actions.ListRequest;
import de.adorsys.datasafe.types.api.actions.ReadRequest;
import de.adorsys.datasafe.types.api.actions.RemoveRequest;
Expand Down Expand Up @@ -89,7 +90,7 @@ void testRandomActionsParallelThreads(StorageDescriptor descriptor, int threadCo

private DefaultDatasafeServices datasafeServicesFromSimpleDatasafeAdapter(StorageDescriptor descriptor) {
SimpleDatasafeService datasafeService = new SimpleDatasafeServiceImpl(
DFSTestCredentialsFactory.credentials(descriptor), new MutableEncryptionConfig()
DFSTestCredentialsFactory.credentials(descriptor), new MutableEncryptionConfig(), new PathEncryptionConfig(true)
);

return new DefaultDatasafeServices() {
Expand Down
2 changes: 1 addition & 1 deletion datasafe-long-run-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-metainfo/datasafe-metainfo-version-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-metainfo</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-metainfo-version-api</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-metainfo/datasafe-metainfo-version-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-metainfo</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-metainfo-version-impl</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion datasafe-metainfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-privatestore/datasafe-privatestore-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe-privatestore</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-privatestore/datasafe-privatestore-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe-privatestore</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-privatestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions datasafe-rest-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<artifactId>datasafe</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>

<artifactId>datasafe-rest-impl</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<name>datasafe-rest-impl</name>
<description>Spring Boot DataSafe Application</description>

Expand Down
2 changes: 1 addition & 1 deletion datasafe-runtime-delegate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys</groupId>
<artifactId>datasafe</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<artifactId>datasafe-runtime-delegate</artifactId>
<dependencies>
Expand Down
7 changes: 6 additions & 1 deletion datasafe-simple-adapter/datasafe-simple-adapter-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe-simple-adapter</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -21,6 +21,11 @@
<artifactId>datasafe-encryption-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-inbox-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import de.adorsys.datasafe.encrypiton.api.types.UserID;
import de.adorsys.datasafe.encrypiton.api.types.UserIDAuth;
import de.adorsys.datasafe.inbox.api.InboxService;
import de.adorsys.datasafe.simple.adapter.api.types.DSDocument;
import de.adorsys.datasafe.simple.adapter.api.types.DSDocumentStream;
import de.adorsys.datasafe.simple.adapter.api.types.DocumentDirectoryFQN;
Expand Down Expand Up @@ -46,6 +47,8 @@ public interface SimpleDatasafeService {

List<DocumentFQN> list(UserIDAuth userIDAuth, DocumentDirectoryFQN documentDirectoryFQN, ListRecursiveFlag recursiveFlag);

InboxService getInboxService();

// deletes all users and their files from storage
void cleanupDb();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ public class AmazonS3DFSCredentials extends DFSCredentials {
@Builder.Default
private final int requestTimeout = 0;


public String getContainer() {
return rootBucket.split("/")[0];
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datasafe-simple-adapter</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 24088d5

Please sign in to comment.