Swathi,
To be more specific. Presigned Url generated by this script works:
--------
import com.eucalyptus.auth.Accounts;
import com.eucalyptus.objectstorage.client.EucaS3Client;
import com.eucalyptus.objectstorage.client.EucaS3ClientFactory;
import com.amazonaws.HttpMethod;
import com.amazonaws.services.s3.model.GeneratePresignedUrlRequest;
Date expiration = new Date();
long msec = expiration.getTime() + 1000 * 60 * 60 * 1;
expiration.setTime(msec);
final EucaS3Client s3Client =
EucaS3ClientFactory.getEucaS3Client(Accounts.lookupAwsExecReadAdmin(true))
//s3Client.refreshEndpoint(true);
URL s = s3Client.generatePresignedUrl('test', 'test', expiration,
HttpMethod.GET);
s.toString()
---------
but if you comment out s3Client.refreshEndpoint(true); url that is now
FQN does not work.
Vasya.
On Wed, Jan 14, 2015 at 12:57 PM, Vasiliy Kochergin