1 # Copyright (C) 2010 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); you may not 4 # use this file except in compliance with the License. You may obtain a copy of 5 # the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 # License for the specific language governing permissions and limitations under 13 # the License. 14 15 # Note the app name used to be "samplesyncadapter2", but it's now "samplesyncadapterhr" because 16 # it's been migrated to HR. But it's still accessible under the old URL, 17 # http://samplesyncadapter2.appspot.com/ 18 application: samplesyncadapterhr 19 version: 1 20 runtime: python 21 api_version: 1 22 23 handlers: 24 25 # 26 # Define a handler for our static files (css, images, etc) 27 # 28 - url: /static 29 static_dir: static 30 31 # 32 # Route all "web services" requests to the main.py file 33 # 34 - url: /auth 35 script: web_services.py 36 37 - url: /sync 38 script: web_services.py 39 40 - url: /reset_database 41 script: web_services.py 42 43 # 44 # Route all page requests to the dashboard.py file 45 # 46 - url: / 47 script: dashboard.py 48 49 - url: /add_contact 50 script: dashboard.py 51 52 - url: /edit_contact 53 script: dashboard.py 54 55 - url: /delete_contact 56 script: dashboard.py 57 58 - url: /avatar 59 script: dashboard.py 60 61 - url: /edit_avatar 62 script: dashboard.py 63