[ https://issues.apache.org/jira/browse/BEAM-3991?focusedWorklogId=90151&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-90151 ]
ASF GitHub Bot logged work on BEAM-3991: ---------------------------------------- Author: ASF GitHub Bot Created on: 11/Apr/18 19:49 Start Date: 11/Apr/18 19:49 Worklog Time Spent: 10m Work Description: aaltay commented on a change in pull request #5105: [BEAM-3991] Updates gcsio to use a API specific batch endpoint. URL: https://github.com/apache/beam/pull/5105#discussion_r180876774 ########## File path: sdks/python/apache_beam/io/gcp/gcsio.py ########## @@ -91,6 +91,16 @@ # GcsIO.delete_batch(). MAX_BATCH_OPERATION_SIZE = 100 +# Batch endpoint URL for GCS. +# We have to specify an API specific endpoint here since Google APIs global +# batch endpoints will be deprecated on 03/25/2019. +# See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html. +# Currently apitools library uses a global batch endpoint by default: https://github.com/google/apitools/blob/master/apitools/base/py/batch.py#L152 +# TODO: remove this constant and it's usage after apitools move to using an API Review comment: Let's create a JIRA to move off of apitools. That library itself is in maintenance mode. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 90151) Time Spent: 20m (was: 10m) > Update dependency 'google-api-services-storage' to latest version > ----------------------------------------------------------------- > > Key: BEAM-3991 > URL: https://issues.apache.org/jira/browse/BEAM-3991 > Project: Beam > Issue Type: Improvement > Components: io-java-gcp, sdk-py-core > Reporter: Chamikara Jayalath > Assignee: Chamikara Jayalath > Priority: Blocker > Fix For: 2.5.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently we use version 'v1-rev71-1.22.0' which is deprecated and about two > years old. -- This message was sent by Atlassian JIRA (v7.6.3#76005)