Skip to content

Commit 7d229dd

Browse files
AdamF42vins01-4science
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-2621 (pull request DSpace#4993)
Task/dspace cris 2023 02 x/DSC-2621 Approved-by: Vincenzo Mecca
2 parents 752db95 + 4171b5b commit 7d229dd

File tree

12 files changed

+530
-733
lines changed

12 files changed

+530
-733
lines changed

bitbucket-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ definitions:
5252
runs-on: self.hosted
5353
name: integration-tests-dspace-api
5454
size: 2x
55+
services:
56+
- docker
5557
caches:
5658
- gradle
5759
- gradlewrapper
@@ -68,6 +70,8 @@ definitions:
6870
runs-on: self.hosted
6971
name: integration-tests-with-test-jars
7072
size: 2x
73+
services:
74+
- docker
7175
caches:
7276
- gradle
7377
- gradlewrapper

dspace-api/pom.xml

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@
686686
<version>1.1.1</version>
687687
</dependency>
688688

689+
<!-- guava is needed by OAuth, Guice, Mockserver, ORCID, Solr, JClouds -->
689690
<dependency>
690691
<groupId>com.google.guava</groupId>
691692
<artifactId>guava</artifactId>
@@ -787,9 +788,37 @@
787788

788789
<!-- S3 -->
789790
<dependency>
790-
<groupId>com.amazonaws</groupId>
791-
<artifactId>aws-java-sdk-s3</artifactId>
792-
<version>1.12.780</version>
791+
<groupId>software.amazon.awssdk</groupId>
792+
<artifactId>s3</artifactId>
793+
<version>${software.amazon.awssdk.version}</version>
794+
<exclusions>
795+
<exclusion>
796+
<groupId>software.amazon.awssdk</groupId>
797+
<artifactId>netty-nio-client</artifactId>
798+
</exclusion>
799+
<exclusion>
800+
<groupId>software.amazon.awssdk</groupId>
801+
<artifactId>apache-client</artifactId>
802+
</exclusion>
803+
</exclusions>
804+
</dependency>
805+
806+
<dependency>
807+
<groupId>software.amazon.awssdk.crt</groupId>
808+
<artifactId>aws-crt</artifactId>
809+
<version>${software.amazon.awssdk.crt.version}</version>
810+
</dependency>
811+
812+
<dependency>
813+
<groupId>software.amazon.awssdk</groupId>
814+
<artifactId>s3-transfer-manager</artifactId>
815+
<version>${software.amazon.awssdk.version}</version>
816+
</dependency>
817+
818+
<dependency>
819+
<groupId>software.amazon.awssdk</groupId>
820+
<artifactId>url-connection-client</artifactId>
821+
<version>${software.amazon.awssdk.version}</version>
793822
</dependency>
794823

795824
<dependency>
@@ -951,20 +980,10 @@
951980
</dependency>
952981

953982
<dependency>
954-
<groupId>io.findify</groupId>
955-
<artifactId>s3mock_2.13</artifactId>
956-
<version>0.2.6</version>
983+
<groupId>org.testcontainers</groupId>
984+
<artifactId>testcontainers-localstack</artifactId>
985+
<version>2.0.1</version>
957986
<scope>test</scope>
958-
<exclusions>
959-
<exclusion>
960-
<groupId>com.amazonawsl</groupId>
961-
<artifactId>aws-java-sdk-s3</artifactId>
962-
</exclusion>
963-
<exclusion>
964-
<groupId>com.amazonaws</groupId>
965-
<artifactId>aws-java-sdk-s3</artifactId>
966-
</exclusion>
967-
</exclusions>
968987
</dependency>
969988

970989
</dependencies>

0 commit comments

Comments
 (0)