You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Udayakumar Dhansingh (JIRA)" <ji...@apache.org> on 2016/07/19 20:33:20 UTC

[jira] [Updated] (JCLOUDS-1144) BlobStore::blobMetadata always returns null for Google Cloud Storage ...

     [ https://issues.apache.org/jira/browse/JCLOUDS-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udayakumar Dhansingh updated JCLOUDS-1144:
------------------------------------------
    Attachment: jclouds.bug_reporting.tests.zip

Including code used to test.

Place your Google Cloud Platform credentials in
/jclouds.bug_reporting.tests/src/test/resources/inputs/TestGoogleCloudStorageService/google-credential.json

Place your Amazon S3 credentials in 
/jclouds.bug_reporting.tests/src/test/java/jclouds/bug_reporting_tests/TestAmazonS3CloudStorageService.java


> BlobStore::blobMetadata always returns null for Google Cloud Storage ...
> ------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1144
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1144
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs-google
>    Affects Versions: 1.9.2
>         Environment: JDK 1.8
>            Reporter: Udayakumar Dhansingh
>            Priority: Blocker
>             Fix For: 1.9.
>
>         Attachments: jclouds.bug_reporting.tests.zip
>
>
> final BlobMetadata blobMetadata = blobStore.blobMetadata(containerName, blobStorePath);
> ContentMetadata contentMetadata = blobMetadata.getContentMetadata();  // This statement will throw NullPointerException when run with Google Cloud Storage.
> Upon listing objects using 
> blobStore.list(containerName, (recursive) ? listContainerOptions.recursive() : listContainerOptions);
> I can see metadata through "StorageMetadata"
> Looks like bug is in blobMetadata.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)