mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
added class to interact with Amazon S3
This commit is contained in:
@@ -107,7 +107,7 @@ jobs:
|
|||||||
- bash scripts/create-worm-bucket.sh
|
- bash scripts/create-worm-bucket.sh
|
||||||
- bash scripts/start-compose.sh "${ENTERPRISE_SHARE_PATH}/docker-compose-worm-support-rest.yml"
|
- bash scripts/start-compose.sh "${ENTERPRISE_SHARE_PATH}/docker-compose-worm-support-rest.yml"
|
||||||
- bash scripts/waitForAlfrescoToStart.sh
|
- bash scripts/waitForAlfrescoToStart.sh
|
||||||
script: mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false
|
script: mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false -Ds3.accessKey=${AWS_ACCESS_KEY_ID} -Ds3.secretKey=${AWS_SECRET_ACCESS_KEY} -Ds3.bucketName=${S3_BUCKET2_NAME} -Ds3.bucketRegion=${S3_BUCKET_REGION}
|
||||||
after_script: bash scripts/cleanup.sh
|
after_script: bash scripts/cleanup.sh
|
||||||
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
|
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
|
||||||
|
|
||||||
|
@@ -59,4 +59,16 @@ public class RMRestProperties extends RestProperties
|
|||||||
|
|
||||||
@Value ("${docker.host}")
|
@Value ("${docker.host}")
|
||||||
private String dockerHost;
|
private String dockerHost;
|
||||||
|
|
||||||
|
@Value ("${s3.accessKey}")
|
||||||
|
private String s3AccessKey;
|
||||||
|
|
||||||
|
@Value ("${s3.secretKey}")
|
||||||
|
private String s3SecretKey;
|
||||||
|
|
||||||
|
@Value ("${s3.bucketName}")
|
||||||
|
private String s3BucketName;
|
||||||
|
|
||||||
|
@Value ("${s3.bucketRegion}")
|
||||||
|
private String s3BucketRegion;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user