Index: third_party/gsutil/third_party/protorpc/demos/tunes_db/server/app.yaml |
diff --git a/third_party/pipeline/pipeline/handlers.py b/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/app.yaml |
similarity index 58% |
copy from third_party/pipeline/pipeline/handlers.py |
copy to third_party/gsutil/third_party/protorpc/demos/tunes_db/server/app.yaml |
index dfa248cfb90eea106045f133d61cf81e39cb4c3e..09d8e6028e7bc31e7557e644e0e0d1751c0877ed 100755 |
--- a/third_party/pipeline/pipeline/handlers.py |
+++ b/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/app.yaml |
@@ -13,24 +13,30 @@ |
# 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. |
+# |
-"""Web request dispatcher for the Google App Engine Pipeline API. |
- |
-In a separate file from the core pipeline module to break circular dependencies. |
-""" |
- |
-from google.appengine.ext import webapp |
-from google.appengine.ext.webapp import util as webapp_util |
+application: tunes-db |
+version: 1 |
+api_version: 1 |
+runtime: python |
-import pipeline |
+handlers: |
+- url: /forms/(.*)\.(png|css|js) |
+ static_files: forms_static/\1.\2 |
+ upload: forms_static/(.*)\.(png|css|js) |
-_APP = webapp.WSGIApplication(pipeline.create_handlers_map(), debug=True) |
+- url: /music.* |
+ script: services.py |
+- url: /protorpc.* |
+ script: services.py |
-def _main(): |
- webapp_util.run_wsgi_app(_APP) |
+- url: /_ah/stats/service.* |
+ script: protorpc_appstats/main.py |
+- url: /_ah/stats.* |
+ script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py |
-if __name__ == '__main__': |
- _main() |
+- url: / |
+ script: main.py |