Could it be possible to use the hooks functionality [1] to throw a
CapabilityDisabledError exception when a Put or Delete call is made?

You can add the hooks only when you are running in the dev environment
debugEnv=os.environ['SERVER_SOFTWARE'].startswith('Dev')
if debugEnv:
   patch_appengine()

[1] http://code.google.com/appengine/articles/hooks.html

2009/7/4 Andy Freeman <[email protected]>:
>
> You might want to comment on and star
>
> http://code.google.com/p/googleappengine/issues/detail?id=915 .
>
> On Jul 3, 8:19 am, Charlie <[email protected]> wrote:
>> Indeed.
>>
>> I was thinking it would be great to be able to disable the APIs from
>> the app engine admin console, myself, so I could do testing of the
>> deployed app.
>>
>> On Jul 2, 1:26 pm, mckoss <[email protected]> wrote:
>>
>>
>>
>> > Unfortunately, we're all dealing with the AppEngine outage today with
>> > even the System Status page down!
>>
>> >http://code.google.com/status/appengine
>>
>> > Thank goodness for the Downtime forum - it seems to be the only
>> > official notification about this from Google:
>>
>> >http://groups.google.com/group/google-appengine-downtime-notify/brows...
>>
>> > My question is, I'd like to make my application more robust in the
>> > face of Service outages.  I know about the "CapabilityDisabledError"
>> > exception.  I'd like to test my application in the local environment
>> > and simulate failures of the datastore, memcache, etc.
>>
>> > Is there an easy way to simulate service failures locally?  Anyone
>> > have any techniques for doing this if it's not directly supported in
>> > the SDK?
>>
>> > Thanks!
>> > Mike- Hide quoted text -
>>
>> - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to