From 3afe52662b259f5e7f8087007dfb48ff0f8f1741 Mon Sep 17 00:00:00 2001 From: vijaykiran Date: Tue, 10 Jul 2012 01:03:16 +0200 Subject: [PATCH] Issue-1010 - AWS ACL LogDelivery URI is updated --- .../src/main/java/org/jclouds/s3/domain/AccessControlList.java | 2 +- .../java/org/jclouds/s3/xml/AccessControlListHandlerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/s3/src/main/java/org/jclouds/s3/domain/AccessControlList.java b/apis/s3/src/main/java/org/jclouds/s3/domain/AccessControlList.java index d5ca8e4236..e0e3d0d3c4 100644 --- a/apis/s3/src/main/java/org/jclouds/s3/domain/AccessControlList.java +++ b/apis/s3/src/main/java/org/jclouds/s3/domain/AccessControlList.java @@ -424,7 +424,7 @@ public class AccessControlList { public static final URI ALL_USERS = URI.create("http://acs.amazonaws.com/groups/global/AllUsers"); public static final URI AUTHENTICATED_USERS = URI .create("http://acs.amazonaws.com/groups/global/AuthenticatedUsers"); - public static final URI LOG_DELIVERY = URI.create("http://acs.amazonaws.com/groups/LogDelivery"); + public static final URI LOG_DELIVERY = URI.create("http://acs.amazonaws.com/groups/s3/LogDelivery"); } public static class GroupGrantee extends Grantee { diff --git a/apis/s3/src/test/java/org/jclouds/s3/xml/AccessControlListHandlerTest.java b/apis/s3/src/test/java/org/jclouds/s3/xml/AccessControlListHandlerTest.java index bc0d21a9f4..ca0deba3c7 100644 --- a/apis/s3/src/test/java/org/jclouds/s3/xml/AccessControlListHandlerTest.java +++ b/apis/s3/src/test/java/org/jclouds/s3/xml/AccessControlListHandlerTest.java @@ -39,7 +39,7 @@ import org.testng.annotations.Test; @Test(groups = "unit", testName = "AccessControlListHandlerTest") public class AccessControlListHandlerTest extends BaseHandlerTest { public static final String aclOwnerOnly = "1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurty1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyFULL_CONTROL"; - public static final String aclExtreme = "1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersWRITEhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersREAD_ACP1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyWRITEhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersWRITE_ACPhttp://acs.amazonaws.com/groups/global/AllUsersREADhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersREADhttp://acs.amazonaws.com/groups/LogDeliveryWRITE1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyREAD1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyFULL_CONTROL"; + public static final String aclExtreme = "1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersWRITEhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersREAD_ACP1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyWRITEhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersWRITE_ACPhttp://acs.amazonaws.com/groups/global/AllUsersREADhttp://acs.amazonaws.com/groups/global/AuthenticatedUsersREADhttp://acs.amazonaws.com/groups/s3/LogDeliveryWRITE1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyREAD1a405254c932b52e5b5caaa88186bc431a1bacb9ece631f835daddaf0c47677cjamesmurtyFULL_CONTROL"; ParseSax createParser() { ParseSax parser = (ParseSax) factory.create(injector