[ 
https://issues.apache.org/jira/browse/BEAM-11073?focusedWorklogId=577065&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-577065
 ]

ASF GitHub Bot logged work on BEAM-11073:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Apr/21 19:33
            Start Date: 05/Apr/21 19:33
    Worklog Time Spent: 10m 
      Work Description: suztomo edited a comment on pull request #13137:
URL: https://github.com/apache/beam/pull/13137#issuecomment-813596393


   @Aliraza-N The DiacomIOTest and other gcp healthcare service tests require 
default application credentials. 
   
   > There are additional tests that suffer from this. They appear to be GCP 
integration tests, but have Test in the class name and so run under the :test 
task:
   > DicomIOTest. test_Dicom_failedMetadataRead
   > FhirIOTest. test_FhirIO_failedReads
   > FhirIOTest. test_FhirIO_failedWrites
   > HL7v2IOTest. test_HL7v2IO_failedReads
   > HL7v2IOTest. test_HL7v2IO_failedWrites
   
   
https://issues.apache.org/jira/browse/BEAM-11363?focusedCommentId=17242773&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17242773
   
   Exception:
   
   ```
   Caused by: java.io.IOException: The Application Default Credentials are not 
available. They are available if running in Google Compute Engine. Otherwise, 
the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined 
pointing to a file defining the credentials. See 
https://developers.google.com/accounts/docs/application-default-credentials for 
more information.
        at 
com.google.auth.oauth2.DefaultCredentialsProvider.getDefaultCredentials(DefaultCredentialsProvider.java:134)
        at 
com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:119)
        at 
com.google.auth.oauth2.GoogleCredentials.getApplicationDefault(GoogleCredentials.java:91)
        at 
org.apache.beam.sdk.io.gcp.healthcare.HttpHealthcareApiClient.initClient(HttpHealthcareApiClient.java:691)
        at 
org.apache.beam.sdk.io.gcp.healthcare.HttpHealthcareApiClient.<init>(HttpHealthcareApiClient.java:121)
        at 
org.apache.beam.sdk.io.gcp.healthcare.DicomIO$ReadStudyMetadata$FetchStudyMetadataFn.instantiateHealthcareClient(DicomIO.java:164)
   ```
   
   Do you think they should be classified as integration tests?
   
   If not, is there a way to run this test in GitHub Actions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 577065)
    Time Spent: 11.5h  (was: 11h 20m)

> GCP HCLS Api - Dicom IO Connector for Java
> ------------------------------------------
>
>                 Key: BEAM-11073
>                 URL: https://issues.apache.org/jira/browse/BEAM-11073
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Aliraza Nagamia
>            Assignee: Aliraza Nagamia
>            Priority: P2
>          Time Spent: 11.5h
>  Remaining Estimate: 0h
>
> We are looking to create a new Java Pipeline Connector to help facilitate 
> Reading data from the Imaging API in GCP. Initially, this connector will be 
> used to read study level metadata of Dicom instances.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to