Thanks for this complete answer. 
I will take a look. We already use unit tests but not as explained in the 
given page. But it seems to be a good solution.

BTW: our app is very complex... I pray to have the time to change code 
parts ;)

Le jeudi 28 mai 2015 17:16:50 UTC+2, Ryan (Cloud Platform Support) a écrit :
>
> Salutations Patrice,
>
> Anything falling into the 'google.appengine.api.files' will be 
> depreciated. That includes 'google.appengine.api.files.blobstore'. The 
> other two blobstore packages are safe and have already been tested.
>
> As for testing you have three options:
>
> 1) Using unit tests 
> <https://cloud.google.com/appengine/docs/python/tools/localunittesting> and 
> not enable the init_files_stub (best option though longest to setup)
> 2) Add critical warnings / throw errors to all the files api found in 
> the google.appengine.api.files package
> 3) Deletes the files package (not really recommended but an option)
>
> Please note anytime a Files API call is made there will be a warning:
>
>  The Files API is deprecated and will soon be removed. Please use the 
> Google Cloud Storage Client library instead. Migration documentation is 
> available here: 
> https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/migrate
>
> If you simply check your logs for those entries it will give you an idea 
> if you are still using the deprecated library or not.
>
> On Thursday, May 28, 2015 at 3:23:07 AM UTC-4, Patrice FERLET wrote:
>>
>> Hi,
>>
>> We've developped a website months ago and we've recieved a notification 
>> about the FileAPI removal. We are checking what is the impact of the 
>> migration but a question happends.
>>
>> For google.appengine.api.files it's clear: we've got to migrate. 
>>
>> But, what about google.appengine.api.files.blobstore.
>>
>> If google.appengine.api.files.blobstore changed, is there an impact on :
>> - google.appengine.api.blobstore ?
>> - google.appengine.ext.blobstore ?
>>
>> Documentation is only alerting about the google.appengine.api.files, but 
>> we need to be sure...
>>
>> And, is there a way to test our migration without to have any surprise 
>> when the files api will be removed. Any way to disable this api in local ?
>>
>> Thanks for your help.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3fc6c765-ab54-4d0e-a6da-10e833459866%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to