manolo / gwtupload

GwtUpload & JsUpload: File Upload Progress with pure javascript and html5
Other
49 stars 61 forks source link

deprecated Files API Google App Engine to be completely removed #12

Open sveltema opened 9 years ago

sveltema commented 9 years ago

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

billy1380 commented 9 years ago

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 commented 9 years ago

FilesApi files are left intact for now.

billy1380 commented 9 years ago

Anyone:question:

sveltema commented 9 years ago

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

billy1380 commented 9 years ago

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.

Jul13nT commented 9 years ago

Up ! Please this is really disturbing !

ghost commented 8 years ago

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"