Skip to content

Commit

Permalink
NXP-30993: remove S3BlobProviderFeature duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
guirenard authored and kevinleturc committed Jan 16, 2023
1 parent bc7d297 commit 17c8d6c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 202 deletions.
6 changes: 6 additions & 0 deletions nuxeo-coldstorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
<artifactId>aws-java-sdk-s3</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.nuxeo.ecm.core</groupId>
<artifactId>nuxeo-core-binarymanager-s3</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>

</project>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@

import org.junit.Test;
import org.nuxeo.coldstorage.ColdStorageConstants;
import org.nuxeo.coldstorage.S3ColdStorageFeature;
import org.nuxeo.coldstorage.ColdStorageFeature;
import org.nuxeo.common.utils.FileUtils;
import org.nuxeo.ecm.automation.OperationException;
import org.nuxeo.ecm.blob.s3.S3BlobProviderFeature;
import org.nuxeo.ecm.core.api.Blob;
import org.nuxeo.ecm.core.api.Blobs;
import org.nuxeo.ecm.core.api.CoreSession;
Expand All @@ -52,7 +53,7 @@
/**
* @since 2021.0.0
*/
@Features(S3ColdStorageFeature.class)
@Features({ ColdStorageFeature.class, S3BlobProviderFeature.class})
public class TestColdStorageRendition extends AbstractTestColdStorageOperation {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

import org.junit.Test;
import org.nuxeo.coldstorage.ColdStorageConstants;
import org.nuxeo.coldstorage.S3ColdStorageFeature;
import org.nuxeo.coldstorage.ColdStorageFeature;
import org.nuxeo.ecm.blob.s3.S3BlobProviderFeature;
import org.nuxeo.ecm.core.api.Blob;
import org.nuxeo.ecm.core.api.Blobs;
import org.nuxeo.ecm.core.api.DocumentModel;
Expand All @@ -38,7 +39,7 @@

import com.amazonaws.services.s3.model.StorageClass;

@Features(S3ColdStorageFeature.class)
@Features({ ColdStorageFeature.class, S3BlobProviderFeature.class })
public class TestS3ColdStorageService extends AbstractTestColdStorageService {

@Test
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.nuxeo</groupId>
<artifactId>nuxeo-parent</artifactId>
<version>2021.19</version>
<version>2021.21</version>
</parent>

<groupId>org.nuxeo.coldstorage</groupId>
Expand Down

0 comments on commit 17c8d6c

Please sign in to comment.