gwtupload icon indicating copy to clipboard operation
gwtupload copied to clipboard

deprecated Files API Google App Engine to be completely removed

Open sveltema opened this issue 9 years ago • 7 comments

gwtupload-gae uses the Google App Engine deprecated Files API. This API will be permanently removed from App Engine on August 4th, 2015. All references to com.google.appengine.api.files should be removed or migrated to either the Blobstore or Google Cloud Storage.

Class that needs to be changed/removed:

FilesApiFileItemFactory

sveltema avatar May 20 '15 00:05 sveltema

The quota on the blob store has been replaced with a default bucket on cloud storage with instructions on how to set up here https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/activate

@manolo do you mind if I attempt to solve this issue? My plan is to replace FilesApiFileItemFactory.java and FilesApiUploadAction.java with CloudStorageFileItemFactory.java and CloudStorageUploadAction.java

billy1380 avatar Jun 15 '15 09:06 billy1380

FilesApi files are left intact for now.

billy1380 avatar Jun 15 '15 10:06 billy1380

Anyone:question:

billy1380 avatar Jun 16 '15 09:06 billy1380

It would probably be best to strip out the FilesApi as per the depreciation warning from Google. https://cloud.google.com/appengine/docs/deprecations/files_api

sveltema avatar Jun 16 '15 10:06 sveltema

I did initially then put them back in just so that I am not jumping the gun... quite happy to remove them and the pom dependency if I get green light for a merge.

billy1380 avatar Jun 16 '15 11:06 billy1380

Up ! Please this is really disturbing !

Jul13nT avatar Aug 21 '15 14:08 Jul13nT

I tried to replace the file api with the new Cloud Storage version but local on jetty i get the error message "com.google.appengine.tools.cloudstorage.NonRetriableException: com.google.apphosting.api.ApiProxy$FeatureNotEnabledException: The Files API is disabled. Further information: https://cloud.google.com/appengine/docs/deprecations/files_api" and in the gae "com.google.common.base.Stopwatch.createUnstarted()Lcom/google/common/base/Stopwatch"

ghost avatar Mar 27 '16 16:03 ghost