# HG changeset patch # User Lennard de Rijk # Date 1247346922 -7200 # Node ID dd300af0e7df1d304b345a5665679f35d565c871 # Parent ef703b456527c0dcae2dd1acde04800490163cd5 Added empty Tasks package and queue.yaml. Also reserved an admin only URL space for use by Tasks. diff -r ef703b456527 -r dd300af0e7df app/app.yaml.template --- a/app/app.yaml.template Sat Jul 11 20:42:23 2009 +0200 +++ b/app/app.yaml.template Sat Jul 11 23:15:22 2009 +0200 @@ -47,6 +47,10 @@ script: shell/shell.py login: admin +- url: /tasks/* + script: main.py + login: admin + - url: /static static_dir: shell/static expiration: 1d diff -r ef703b456527 -r dd300af0e7df app/queue.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/queue.yaml Sat Jul 11 23:15:22 2009 +0200 @@ -0,0 +1,19 @@ +# Copyright 2009 the Melange authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +queue: + +# queue used for tasks that send out mail +- name: mail + rate: 1/s \ No newline at end of file diff -r ef703b456527 -r dd300af0e7df app/soc/tasks/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/tasks/__init__.py Sat Jul 11 23:15:22 2009 +0200 @@ -0,0 +1,16 @@ +# +# Copyright 2009 the Melange authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This module contains Melange Task API related modules.""" \ No newline at end of file