)]}'
{"doc/source/admin/index.rst":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Schema Setup"},{"line_number":9,"context_line":"~~~~~~~~~~~~"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"For setting up the Monasca configuration database, we provide ``monasca_db`` an"},{"line_number":12,"context_line":"Alembic based database migration tool. Historically, the schema for the"},{"line_number":13,"context_line":"configuration database was created by a SQL script. This SQL was changed a"},{"line_number":14,"context_line":"couple of times, so ``monasca_db`` comes with a mechanism to detect the SQL"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_077ac274","line":11,"range":{"start_line":11,"start_character":76,"end_line":11,"end_character":77},"updated":"2018-07-31 13:24:34.000000000","message":",","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Schema Setup"},{"line_number":9,"context_line":"~~~~~~~~~~~~"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"For setting up the Monasca configuration database, we provide ``monasca_db`` an"},{"line_number":12,"context_line":"Alembic based database migration tool. Historically, the schema for the"},{"line_number":13,"context_line":"configuration database was created by a SQL script. This SQL was changed a"},{"line_number":14,"context_line":"couple of times, so ``monasca_db`` comes with a mechanism to detect the SQL"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_6e3b3838","line":11,"range":{"start_line":11,"start_character":76,"end_line":11,"end_character":77},"in_reply_to":"5f7c97a3_077ac274","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"1. Create a database and configure access credentials with ``ALL PRIVILEGES``"},{"line_number":25,"context_line":"   permission level on it in the Monasca API configuration file\u0027s"},{"line_number":26,"context_line":"   ``[database]` section``."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_674db63a","line":26,"range":{"start_line":26,"start_character":24,"end_line":26,"end_character":26},"updated":"2018-07-31 13:24:34.000000000","message":"Obsolete","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"1. Create a database and configure access credentials with ``ALL PRIVILEGES``"},{"line_number":25,"context_line":"   permission level on it in the Monasca API configuration file\u0027s"},{"line_number":26,"context_line":"   ``[database]` section``."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_a7c2ee84","line":26,"range":{"start_line":26,"start_character":15,"end_line":26,"end_character":16},"updated":"2018-07-31 13:24:34.000000000","message":"``","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"1. Create a database and configure access credentials with ``ALL PRIVILEGES``"},{"line_number":25,"context_line":"   permission level on it in the Monasca API configuration file\u0027s"},{"line_number":26,"context_line":"   ``[database]` section``."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_f4895a6f","line":26,"range":{"start_line":26,"start_character":24,"end_line":26,"end_character":26},"in_reply_to":"5f7c97a3_674db63a","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"1. Create a database and configure access credentials with ``ALL PRIVILEGES``"},{"line_number":25,"context_line":"   permission level on it in the Monasca API configuration file\u0027s"},{"line_number":26,"context_line":"   ``[database]` section``."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_2e41c0a7","line":26,"range":{"start_line":26,"start_character":15,"end_line":26,"end_character":16},"in_reply_to":"5f7c97a3_a7c2ee84","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"},{"line_number":30,"context_line":"   to is explicitl specified."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Upgrading Existing Database from Legacy Schema"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_87e4920c","line":30,"range":{"start_line":30,"start_character":9,"end_line":30,"end_character":18},"updated":"2018-07-31 13:24:34.000000000","message":"explicitly","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"2. Run schema migrations: ``monasca_db upgrade``. It will run all migrations up"},{"line_number":29,"context_line":"   to and including the most recent one (``head``) unless a revision to migrate"},{"line_number":30,"context_line":"   to is explicitl specified."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Upgrading Existing Database from Legacy Schema"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_ee10a8ad","line":30,"range":{"start_line":30,"start_character":9,"end_line":30,"end_character":18},"in_reply_to":"5f7c97a3_87e4920c","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"}],"doc/source/contributor/index.rst":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":101,"context_line":"As of the Rocky release, Monasca uses `Alembic \u003chttp://alembic.zzzcomputing.com/en/latest/\u003e`_"},{"line_number":102,"context_line":"migrations to set up its configuration database. If you need to change the"},{"line_number":103,"context_line":"configuration database\u0027s schema, you need to create a migration to adjust the"},{"line_number":104,"context_line":"database accordingly, as follows:"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"::"},{"line_number":107,"context_line":"    cd monasca_api/db/"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_9c0aa924","line":104,"range":{"start_line":104,"start_character":32,"end_line":104,"end_character":33},"updated":"2018-07-31 13:24:34.000000000","message":"::","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":101,"context_line":"As of the Rocky release, Monasca uses `Alembic \u003chttp://alembic.zzzcomputing.com/en/latest/\u003e`_"},{"line_number":102,"context_line":"migrations to set up its configuration database. If you need to change the"},{"line_number":103,"context_line":"configuration database\u0027s schema, you need to create a migration to adjust the"},{"line_number":104,"context_line":"database accordingly, as follows:"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"::"},{"line_number":107,"context_line":"    cd monasca_api/db/"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_ae7b90f0","line":104,"range":{"start_line":104,"start_character":32,"end_line":104,"end_character":33},"in_reply_to":"5f7c97a3_9c0aa924","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":103,"context_line":"configuration database\u0027s schema, you need to create a migration to adjust the"},{"line_number":104,"context_line":"database accordingly, as follows:"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"::"},{"line_number":107,"context_line":"    cd monasca_api/db/"},{"line_number":108,"context_line":"    alembic revision"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_5c009103","line":106,"range":{"start_line":106,"start_character":0,"end_line":106,"end_character":2},"updated":"2018-07-31 13:24:34.000000000","message":"Please remove. You can check the rendering in the output of build-openstack-sphinx-docs job or locally after running `tox  -e docs`.","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":103,"context_line":"configuration database\u0027s schema, you need to create a migration to adjust the"},{"line_number":104,"context_line":"database accordingly, as follows:"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"::"},{"line_number":107,"context_line":"    cd monasca_api/db/"},{"line_number":108,"context_line":"    alembic revision"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_6e69f823","line":106,"range":{"start_line":106,"start_character":0,"end_line":106,"end_character":2},"in_reply_to":"5f7c97a3_5c009103","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"}],"monasca_api/config.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"8285236cba1bd5fb0d1519faf6c51c0cd76b3567","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    argv \u003d (argv if argv is not None else sys.argv[1:])"},{"line_number":47,"context_line":"    args \u003d ([] if _is_running_under_gunicorn() else argv or [])"},{"line_number":48,"context_line":"    config_file \u003d (_get_deprecated_config_file()"},{"line_number":49,"context_line":"                   if config_file is None else config_file)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    CONF(args\u003dargs,"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_3b12db62","line":48,"updated":"2018-07-26 11:25:26.000000000","message":"You can remove this line now.","commit_id":"d035ca827aae06e436536b92d397bb674bcd037d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"aaea7ed182ab9f5b74750abf1c92f78fc483a3d7","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    argv \u003d (argv if argv is not None else sys.argv[1:])"},{"line_number":47,"context_line":"    args \u003d ([] if _is_running_under_gunicorn() else argv or [])"},{"line_number":48,"context_line":"    config_file \u003d (_get_deprecated_config_file()"},{"line_number":49,"context_line":"                   if config_file is None else config_file)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    CONF(args\u003dargs,"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_4eba52ba","line":48,"in_reply_to":"5f7c97a3_3b12db62","updated":"2018-07-27 13:27:33.000000000","message":"Done","commit_id":"d035ca827aae06e436536b92d397bb674bcd037d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"8285236cba1bd5fb0d1519faf6c51c0cd76b3567","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    _CONF_LOADED \u003d True"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"def get_config_file():"},{"line_number":68,"context_line":"    \"\"\"Get deprecated config file in a format suitable for CONF constructor"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    Returns the old config file name as a single element array, if there is"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_bb24abc4","line":67,"updated":"2018-07-26 11:25:26.000000000","message":"You\u0027re changing the logic here. `config_file` can be passed as argument of `parse_args()` function and should be used first. `_get_deprecated_config_file()` is supposed to be a fallback only.","commit_id":"d035ca827aae06e436536b92d397bb674bcd037d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"aaea7ed182ab9f5b74750abf1c92f78fc483a3d7","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    _CONF_LOADED \u003d True"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"def get_config_file():"},{"line_number":68,"context_line":"    \"\"\"Get deprecated config file in a format suitable for CONF constructor"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    Returns the old config file name as a single element array, if there is"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_aea9a678","line":67,"in_reply_to":"5f7c97a3_bb24abc4","updated":"2018-07-27 13:27:33.000000000","message":"Ah indeed...sorry, took me a while to wrap my head around this...I changed it back to the old logic now.","commit_id":"d035ca827aae06e436536b92d397bb674bcd037d"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"76bb5a3ce42a5473d643d8f7abd6ed878482530a","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    if config_file is not None:"},{"line_number":75,"context_line":"        return [config_file]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    return [_get_deprecated_config_file()]"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"def _is_running_under_gunicorn():"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_1e0b0d22","line":77,"updated":"2018-07-30 09:42:11.000000000","message":"Returns \u0027[None]\u0027 instead of \u0027None\u0027 if no deprecated config file is found.","commit_id":"29f1364c99b5c5c3b4dfdd026c08d0d71951e6d0"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"0a37c4bf7d00badc39fbca9b657cb98b927a9ac3","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    if config_file is not None:"},{"line_number":75,"context_line":"        return [config_file]"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    return [_get_deprecated_config_file()]"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"def _is_running_under_gunicorn():"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_48b306ed","line":77,"in_reply_to":"5f7c97a3_1e0b0d22","updated":"2018-07-30 12:55:36.000000000","message":"Ok, fixed that part now. Let\u0027s hope it works out (still can\u0027t reproduce the problem locally, despite fresh Devstack)...","commit_id":"29f1364c99b5c5c3b4dfdd026c08d0d71951e6d0"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"ffd67b54c58192196e81f876c1c87f518057bafa","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def get_config_file(config_file):"},{"line_number":66,"context_line":"    \"\"\"Get deprecated config file in a format suitable for CONF constructor"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    Returns the config file name as a single element array. If a config file"},{"line_number":69,"context_line":"    was explicitly, specified, that file\u0027s name is returned. If there isn\u0027t and a"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_3c9595e3","line":66,"range":{"start_line":66,"start_character":11,"end_line":66,"end_character":21},"updated":"2018-07-31 13:24:34.000000000","message":"remove, please","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"},{"author":{"_account_id":12542,"name":"Johannes Grassler","email":"jgr-launchpad@btw23.de","username":"jgrassler"},"change_message_id":"3a6d1d0e34165f93eb2d6e08c93279409bd2c4ae","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def get_config_file(config_file):"},{"line_number":66,"context_line":"    \"\"\"Get deprecated config file in a format suitable for CONF constructor"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    Returns the config file name as a single element array. If a config file"},{"line_number":69,"context_line":"    was explicitly, specified, that file\u0027s name is returned. If there isn\u0027t and a"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_4e6afc17","line":66,"range":{"start_line":66,"start_character":11,"end_line":66,"end_character":21},"in_reply_to":"5f7c97a3_3c9595e3","updated":"2018-08-01 11:10:26.000000000","message":"Done","commit_id":"cb2d82eac3fcb94e56f75ed5ce052e6a59f4e89d"}]}
