JCLOUDS-1224: Update B2 domain

The old domain will no longer function after 2 Feb 2017.  Reference:

https://help.backblaze.com/hc/en-us/articles/224959187-B2-Domain-Migration-Plan
This commit is contained in:
Andrew Gaul 2017-01-09 18:41:32 -08:00
parent 1b48ba5942
commit 64c3e35c15
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public final class B2ApiMetadata extends BaseHttpApiMetadata {
.identityName("Account Id") .identityName("Account Id")
.credentialName("Application Key") .credentialName("Application Key")
.documentation(URI.create("https://www.backblaze.com/b2/docs/")) .documentation(URI.create("https://www.backblaze.com/b2/docs/"))
.defaultEndpoint("https://api.backblaze.com/") .defaultEndpoint("https://api.backblazeb2.com/")
.defaultProperties(B2ApiMetadata.defaultProperties()) .defaultProperties(B2ApiMetadata.defaultProperties())
.view(typeToken(BlobStoreContext.class)) .view(typeToken(BlobStoreContext.class))
.defaultModules(ImmutableSet.<Class<? extends Module>>of( .defaultModules(ImmutableSet.<Class<? extends Module>>of(

View File

@ -49,7 +49,7 @@ public final class B2ProviderMetadata extends BaseProviderMetadata {
id("b2") id("b2")
.name("Backblaze B2") .name("Backblaze B2")
.apiMetadata(new B2ApiMetadata()) .apiMetadata(new B2ApiMetadata())
.endpoint("https://api.backblaze.com/") .endpoint("https://api.backblazeb2.com/")
.defaultProperties(B2ProviderMetadata.defaultProperties()); .defaultProperties(B2ProviderMetadata.defaultProperties());
} }