Services/CoreFeatures

From MozillaWiki
Jump to navigation Jump to search

Core Components

Goal: provide a Pyramid-based environment to build Services app, that can be deployed like previous server-core apps, with existing tools (Makefile, buildapp, buildrpm, pypi2rpm)

mozsvc

  • Repository Location: https://github.com/mozilla-services/mozservices
  • Goal: provide helpers and tools to write applications, and some default Pyramid views
  • Content
    • CatchErrorMiddleware with raven/sentry integration
    • configuration file reader
    • Test Helpers - webtest + wsgiproxy, testenv
    • /__heartbeat__ view

cornice

demoapp

  • Goal: show how mozsvc, mozauth and cornice can be used/glued together
  • Repository Location: https://github.com/mozilla-services/mozservices
  • Content
    • a merged configuration file
    • a Makefile for deployement
    • 3 Cornice-based web services with one that does authentication