Marketplace/Services: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "*This document is currently a draft* This page covers the use of smaller services in the Marketplace cluster. This page is a list of the things that service must do in order to ...")
 
No edit summary
Line 2: Line 2:


This page covers the use of smaller services in the Marketplace cluster. This page is a list of the things that service must do in order to be considered to be run in the Marketplace Services cluster as a service.
This page covers the use of smaller services in the Marketplace cluster. This page is a list of the things that service must do in order to be considered to be run in the Marketplace Services cluster as a service.
Requirements
------------


* Tools
* Tools
Line 7: Line 10:
** MySQL
** MySQL
** Memcache etc.
** Memcache etc.
* Development
** On github.
** It will either:
*** Be serving HTML to end users.
*** Be serving JSON as REST based service. Ideally we can decide on a similar layout for REST services.


* Install and update
* Install and update
Line 14: Line 23:
** Contains forward database migrations, if needed.
** Contains forward database migrations, if needed.


* Development
* Monitoring
** On github.
** Use [https://wiki.mozilla.org/Services/Sagrada/Metlog metlog] for logging.
** Use [[https://wiki.mozilla.org/Services/Sagrada/Metlog metlog]] for logging.
*** Insert [http://metlog-py.readthedocs.org/en/latest/api/decorators.html#module-metlog.decorators.stats timings] into your code.
*** CEF log the sensitive bits.
 
Current services
----------------
 
Receipt check: mostly compliant
Version check: not complete or compliant
Confirmed users
1,158

edits

Navigation menu