-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathapp.yaml
111 lines (89 loc) · 2.11 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
application: "olp-rdm-staging"
#application: "rdmprotocol-hrd"
version: 1
runtime: python27
api_version: 1
threadsafe: no
handlers:
- url: /(.*\.html)
static_files: static/\1
upload: static/.*\.html
- url: /favicon.ico
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /css
static_dir: static/css
- url: /js
static_dir: static/js
- url: /images
static_dir: static/images
- url: /libs
static_dir: static/libs
# default landing page
- url: /
script: model_handler.model_application
# page handlers
- url: /(about|contact|disclaimer|tools)
script: pages.app
- url: /tools/.*
script: pages.app
# model handlers
- url: /model/.*
script: model_handler.model_application
# product handlers
- url: /(controller|node|software|splitter)/.*
script: product_handler.app
# pid handlers
- url: /pid/.*
script: pid_handler.pid_application
# pid handlers
- url: /manufacturer/(list|display)
script: manufacturer_handler.app
# incoming data
- url: /incoming/.*
script: incoming_handler.incoming_application
# export handlers, deprecated, move most of these to /json/
- url: /(download|export_controllers|export_models|index_info|missing_models|model_info)
script: export.export_application
# API handlers
- url: /api/(json|proto)/1/.*
script: api.\1_v1.app
# Admin page
- url: /admin(/.*)?
script: admin.app
login: required
# Contrib page, like admin, but for contributors
- url: /contrib(/.*)?
script: contrib.app
login: required
- url: /tasks/(build_pid_responder_index|fetch_image|fetch_controller_image|fetch_product_image|rank_devices)
script: tasks.tasks_application
login: admin
builtins:
- appstats: on
- remote_api: on
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$
- ^trunk/.*$
- ^BUILD*$
- ^DEBUG*$
- ^compiler.jar*$
- ^(node_modules/.*)
- ^(js_src/.*)
- ^bower.json*$
- ^package.json*$
- ^Gruntfile.js*$
- ^(static/libs/angular-mocks/.*)
- ^(unit-test-js/.*)