Re: Does jcloud blobstore support "simple migration" from S3 to GCS?

2019年1月29日 10:44:21 -0800

That worked! Thanks Andrew.
For anyone else that would like to use this method, I added the endpoint to the 
BlobStoreContext. E.G., in blobstore-basics MainApp.java, change:
 BlobStoreContext context = ContextBuilder.newBuilder(provider)
 .credentials(identity, credential)
 .buildView(BlobStoreContext.class);
to
 BlobStoreContext context = ContextBuilder.newBuilder(provider)
 .endpoint("https://storage.googleapis.com";)
 .credentials(identity, credential)
 .buildView(BlobStoreContext.class);

Reply via email to