jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bcliffor@systemsbiology.org <bclif...@systemsbiology.org>
Subject Re: Does jcloud blobstore support "simple migration" from S3 to GCS?
Date Tue, 29 Jan 2019 18:43:47 GMT
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);


Mime
View raw message