)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"99567ed163b04620a3fb8a1131ec10774fab5b0c","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2014-03-05 11:57:41 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Documentation about how to deploy  Marconi"},{"line_number":8,"context_line":"in a minimal HA environment."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Change-Id: I2549995fb0754c7f3c8ce718639e1299e2805795"},{"line_number":11,"context_line":"Implements: blueprint docs"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAVn%2F%2FcI8%3D","line":8,"updated":"2014-03-06 09:07:08.000000000","message":"Commit title should not end up with period.","commit_id":"23b772ef3e4e029ea4c15caa10592bd289740035"}],"doc/operations.rst":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"99567ed163b04620a3fb8a1131ec10774fab5b0c","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"On web servers run these commands;"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    web# git clone https://github.com/openstack/marconi.git . "},{"line_number":148,"context_line":"    web# pip install . -r ./requirements.txt --upgrade --log /tmp/marconi-pip.log"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Create ```/srv/marconi``` folder to store related configurations files."}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAVn%2F%2FcIw%3D","line":147,"updated":"2014-03-06 09:07:08.000000000","message":"(nit): Let\u0027s remove the whitespace.","commit_id":"23b772ef3e4e029ea4c15caa10592bd289740035"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f61dff35a7673284b4314960ecaf281d693165f0","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Queue is a logical entity that groups messages. Ideally a queue is created per work type. For example, if you want to compress files, you would create a queue dedicated for this job. Any application that reads from this queue would only compress files."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"### Message"},{"line_number":24,"context_line":"Message is stored in a queue and exists until it is deleted by a recipient or automatically by the system based on a TTL (time-to-live) value."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"### Worker"},{"line_number":27,"context_line":"Worker is an application that reads one or multiple messages from the queue."}],"source_content_type":"text/x-rst","patch_set":4,"id":"AAAAVn%2F%2FDKo%3D","line":24,"updated":"2014-03-10 14:04:25.000000000","message":"I think it\u0027s wrong to say that messages are `stored` in a queue. Not all queuing systems (in the case of Marconi storage drivers) are persistent which means the message is not actually stored. I\u0027d recommend something like: `Message is sent through a queue` or something similar.","commit_id":"a7831d878cc2862b22d81c19193ad8c7dba879c7"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f61dff35a7673284b4314960ecaf281d693165f0","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Claim is a mechanism to mark messages so that other workers will not process the same message."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"### Publisher - Subscriber"},{"line_number":36,"context_line":"Publisher - Subscriber is a pattern where all worker applications have access to all messages in the queue. Workers can not delete or update messages."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"### Producer - Consumer"},{"line_number":39,"context_line":"Producer - Consumer is a pattern where each worker application that reads the queue has to claim the message in order to prevent duplicate processing. Later, when the work is done, the worker is responsible from deleting the message. If message is not deleted in a predefined time (claim TTL), it can be claimed by other workers."}],"source_content_type":"text/x-rst","patch_set":4,"id":"AAAAVn%2F%2FCt4%3D","line":36,"updated":"2014-03-10 14:04:25.000000000","message":"Publish - Subscribe *","commit_id":"a7831d878cc2862b22d81c19193ad8c7dba879c7"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f61dff35a7673284b4314960ecaf281d693165f0","unresolved":false,"context_lines":[{"line_number":42,"context_line":"Message TTL is time-to-live value and defines how long a message will be accessible."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"### Claim TTL"},{"line_number":45,"context_line":"Claim TTL is time-to-live value and defines how long a message will be in claimed state. A message can be claimed by one worker at a time."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"### Queues Database"},{"line_number":48,"context_line":"Queues database stores the information about the queues and the messages within these queues. Storage layer has to guarantee durability and availability of the data."}],"source_content_type":"text/x-rst","patch_set":4,"id":"AAAAVn%2F%2FCr8%3D","line":45,"updated":"2014-03-10 14:04:25.000000000","message":"You may want to mention that message\u0027s ttl may be increased to match the claim ttl if the former is lower than the later.\n\nAlso, it would be nice to mention claims grace.","commit_id":"a7831d878cc2862b22d81c19193ad8c7dba879c7"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"d617b23fb148411fa023f8c5c5cf052bfecc5ed5","unresolved":false,"context_lines":[{"line_number":260,"context_line":""},{"line_number":261,"context_line":"Start queuing service"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    #/usr/bin/uwsgi --ini /srv/marconi/uwsgi.ini"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"## Configure Shards"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"AAAAWH%2F%2F1gU%3D","line":263,"updated":"2014-03-13 14:01:01.000000000","message":"No mention is made of installing uwsgi. Could you include a command above to \u0027pip install uwsgi\u0027?","commit_id":"6621473deb69834ad545eb15b2bb5ac67873dee4"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0593c9d9ba6ddd6189ecc862c64d377534eed97e","unresolved":false,"context_lines":[{"line_number":260,"context_line":""},{"line_number":261,"context_line":"Start queuing service"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    #/usr/bin/uwsgi --ini /srv/marconi/uwsgi.ini"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"## Configure Shards"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"AAAAWH%2F%2F0yg%3D","line":263,"in_reply_to":"AAAAWH%2F%2F1gU%3D","updated":"2014-03-13 15:41:38.000000000","message":"It has been covered in line 141.","commit_id":"6621473deb69834ad545eb15b2bb5ac67873dee4"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"d617b23fb148411fa023f8c5c5cf052bfecc5ed5","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"To have a functional queuing service, we need to define a shard. On one of the web servers run this command:"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"    http put localhost:80/v1/shards/shard1 weight:\u003d100 uri\u003d\u0027mongodb://mydb0,mydb1,mydb2:27017/?replicaSet\u003dcatalog\u0026w\u003d2\u0026readPreference\u003dsecondaryPreferred\u0027 options:\u003d\u0027{\"partitions\": 8}\u0027 X-Auth-Token:$TOKEN"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Above ```$TOKEN``` is the authentication token retrieved from identity service. If you choose not to enable keystone authentication you won\u0027t have to pass a token."},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"AAAAWH%2F%2F1gc%3D","line":269,"updated":"2014-03-13 14:01:01.000000000","message":"No mention is made of installing httpie. Could you include instructions to \u0027pip install httpie\u0027 above?","commit_id":"6621473deb69834ad545eb15b2bb5ac67873dee4"}],"doc/source/api.rst":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"2c90408f85b9415e1cc945d529b660d58e156353","unresolved":false,"context_lines":[{"line_number":1,"context_line":".."},{"line_number":2,"context_line":"      Copyright 2014 Rackspace, Inc."},{"line_number":3,"context_line":"      Copyright 2014 IBM Corp."},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"      Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":6,"context_line":"      not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-rst","patch_set":10,"id":"AAAAWH%2F%2FuBE%3D","line":3,"updated":"2014-03-14 08:48:47.000000000","message":"I don\u0027t think these copyrights should be in the documentation. :/\n\nI mean, AFAIK, the documentation should hold the foundation copyright. What about not adding any?","commit_id":"41e6518a352f2fc8f9dcdd762a1af91d6923d34a"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"2c90408f85b9415e1cc945d529b660d58e156353","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Create the queue::"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    # curl -i -X PUT $HTTP://$ENDPOINT:$PORT/v1/queues/$QUEUE -H \"X-Auth-Token: $TOKEN\" -H \"Client-ID: $CLIENTID\""},{"line_number":40,"context_line":"    HTTP/1.1 201 Created"},{"line_number":41,"context_line":"    content-length: 0"},{"line_number":42,"context_line":"    location: /v1/queues/test-queue"}],"source_content_type":"text/x-rst","patch_set":10,"id":"AAAAWH%2F%2FuBg%3D","line":39,"updated":"2014-03-14 08:48:47.000000000","message":"Why not using the client library instead?","commit_id":"41e6518a352f2fc8f9dcdd762a1af91d6923d34a"}],"doc/source/ha.rst":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"9bb0865d7379aa6c0009779b867244aa6bd0b4e5","unresolved":false,"context_lines":[{"line_number":25,"context_line":"Load balancer setup is out of scope in this document."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"For storage we will use ```mongoDB``` in order to provide high availability with"},{"line_number":28,"context_line":"minimum administration overhead. For transport, we will use ```uwsgi```."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"To have a small footprint while providing HA, we will use 2 web servers which"},{"line_number":31,"context_line":"will host the application and 3 mongoDB servers (configured as replica-sets)"}],"source_content_type":"text/x-rst","patch_set":9,"id":"AAAAWH%2F%2FzyM%3D","line":28,"updated":"2014-03-13 17:13:58.000000000","message":"transport: uwsgi -\u003e wsgi\n\nuwsgi being the WSGI server implementation","commit_id":"271060b634069401e7c489e60bb704af18deb61e"}]}
