Skip to content

Commit

Permalink
Merge branch 'develop' into maintenance/documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-pouatcha committed Dec 13, 2023
2 parents 374fb08 + 568e5ab commit 9a67ae8
Show file tree
Hide file tree
Showing 81 changed files with 1,389 additions and 12,766 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Builds Pull-requests to key branches
name: Pull request CI

on:
pull_request:
branches:
- develop
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'

- name: Build project and run default test suite
run: mvn clean verify -ntp
15 changes: 12 additions & 3 deletions 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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -113,6 +113,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -179,7 +180,10 @@
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -218,14 +222,19 @@
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.slf4j:slf4j-simple</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.junit.jupiter:junit-jupiter-engine</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.mockito:mockito-core</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>com.h2database:h2</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>javax.xml.bind:jaxb-api:jar</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
<ignoredUsedUndeclaredDependencies>
<ignoredUsedUndeclaredDependency>javax.inject:javax.inject</ignoredUsedUndeclaredDependency>
<ignoredUsedUndeclaredDependency>com.amazonaws</ignoredUsedUndeclaredDependency>
<ignoredUsedUndeclaredDependency>org.bouncycastle</ignoredUsedUndeclaredDependency>
</ignoredUsedUndeclaredDependencies>
<ignoredNonTestScopedDependencies>
<ignoredNonTestScopedDependency>org.bouncycastle</ignoredNonTestScopedDependency>
<ignoredNonTestScopedDependency>org.slf4j</ignoredNonTestScopedDependency>
<ignoredNonTestScopedDependency>org.projectlombok</ignoredNonTestScopedDependency>
</ignoredNonTestScopedDependencies>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
@Slf4j
class BasicFunctionalityWithConcurrencyTest extends BaseE2ETest {

private static final int TIMEOUT_S = 15;
private static final int TIMEOUT_S = 30;

private static int NUMBER_OF_TEST_USERS = 3;
private static int NUMBER_OF_TEST_FILES = 5;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.adorsys.datasafe.business.impl.e2e;

import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.model.AmazonS3Exception;
import com.amazonaws.services.s3.model.S3ObjectSummary;
import dagger.Lazy;
import de.adorsys.datasafe.business.impl.service.DaggerDefaultDatasafeServices;
Expand Down Expand Up @@ -95,7 +94,7 @@ class MultiDFSFunctionalityTest extends BaseMockitoTest {
static void initDistributedMinios() {
// Create all required minio-backed S3 buckets:
Stream.of(CREDENTIALS, KEYSTORE, FILES_ONE, FILES_TWO, INBOX).forEach(it -> {
GenericContainer minio = new GenericContainer("minio/minio")
GenericContainer minio = new GenericContainer("minio/minio:RELEASE.2019-08-01T22-18-54Z")
.withExposedPorts(9000)
.withEnv("MINIO_ACCESS_KEY", accessKey(it))
.withEnv("MINIO_SECRET_KEY", secretKey(it))
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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<artifactId>datasafe-encryption-api</artifactId>
<dependencies>
Expand Down
10 changes: 8 additions & 2 deletions 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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<artifactId>datasafe-encryption-impl</artifactId>
<dependencies>
Expand Down Expand Up @@ -102,7 +102,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<version>${jackson-databind.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -117,6 +117,12 @@
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Cryptographic message syntax document encoder/decoder - see
*
* @see <a href=https://en.wikipedia.org/wiki/Cryptographic_Message_Syntax">CMS
* @see <a href="https://en.wikipedia.org/wiki/Cryptographic_Message_Syntax">CMS
* wiki</a>
*/
@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* It means that path/to/file is encrypted to cipher(path)/cipher(to)/cipher(file) and each invocation of example:
* cipher(path) will yield same string, but cipher(path)/cipher(path) will not yield same segments -
* it will be more like abc/cde and not like abc/abc.
* Additionally each segment is authenticated against its parent path hash, so attacker can't
* Additionally, each segment is authenticated against its parent path hash, so attacker can't
* move a/file to b/file without being detected.
*/
@Slf4j
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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<artifactId>datasafe-examples-customize-dagger</artifactId>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/**
* This is Datasafe services customized implementation.
* Note, that despite is has {@code @Singleton} annotation, it is not real singleton, the only shared thing
* Note, that despite it has {@code @Singleton} annotation, it is not real singleton, the only shared thing
* across all services instantiated using build() is bindings with {@code Singleton} in its Module.
*/
@Singleton
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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
<parent>
<artifactId>datasafe-long-run-tests</artifactId>
<groupId>de.adorsys</groupId>
<version>1.0.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>datasafe-business-tests-random-actions</artifactId>

<properties>
<maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version>
</properties>

<dependencies>
<dependency>
<groupId>de.adorsys</groupId>
Expand Down Expand Up @@ -110,6 +106,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -185,9 +182,8 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<version>${surefire.version}</version>
<configuration>
<forkMode>once</forkMode>
<argLine>${testArgs}</argLine>
</configuration>
</plugin>
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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</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.4-SNAPSHOT</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 9a67ae8

Please sign in to comment.