)]}'
{"specs/stein/approved/parametrized_template.rst":[{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"dfbfd7dd21cf827ca9fa124aec95d18eafe22a5f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"dfd5e7cf_696a0e81","updated":"2019-01-09 08:52:09.000000000","message":"maybe add a comment to reference heat saying it is similar to heat template parameters","commit_id":"f736cbace27f9b8cc368effcf970c6dad099368d"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"24b75c37be0fb309579d1edb59d06a380152807f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"dfd5e7cf_49770a3c","in_reply_to":"dfd5e7cf_696a0e81","updated":"2019-01-09 08:57:41.000000000","message":"Done","commit_id":"f736cbace27f9b8cc368effcf970c6dad099368d"}],"specs/stein/approved/template_prototype.rst":[{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"6102a0f136b8b3a963bf98a4cb18f59bbca0a170","unresolved":false,"context_lines":[{"line_number":39,"context_line":"changes:"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. A ``parameters`` section will define the parameters of this template. Each"},{"line_number":42,"context_line":"   parameter will hold a ``description`` and optional ``default`` values."},{"line_number":43,"context_line":"   All values will be strings."},{"line_number":44,"context_line":"2. The parameters can be used inside the templates, using a ```\u003cparam\u003e`` syntax"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Vitrage ``template add`` API will include a new option to create a template"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_c19a2c6d","line":43,"range":{"start_line":42,"start_character":25,"end_line":43,"end_character":30},"updated":"2019-01-03 08:30:02.000000000","message":"are they optional ?","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"358cf335d301682862ecc77c8a82327d8e2d3444","unresolved":false,"context_lines":[{"line_number":39,"context_line":"changes:"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. A ``parameters`` section will define the parameters of this template. Each"},{"line_number":42,"context_line":"   parameter will hold a ``description`` and optional ``default`` values."},{"line_number":43,"context_line":"   All values will be strings."},{"line_number":44,"context_line":"2. The parameters can be used inside the templates, using a ```\u003cparam\u003e`` syntax"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Vitrage ``template add`` API will include a new option to create a template"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_8d83f256","line":43,"range":{"start_line":42,"start_character":25,"end_line":43,"end_character":30},"in_reply_to":"ffd0ebdf_c19a2c6d","updated":"2019-01-03 14:47:33.000000000","message":"Done","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"6102a0f136b8b3a963bf98a4cb18f59bbca0a170","unresolved":false,"context_lines":[{"line_number":41,"context_line":"1. A ``parameters`` section will define the parameters of this template. Each"},{"line_number":42,"context_line":"   parameter will hold a ``description`` and optional ``default`` values."},{"line_number":43,"context_line":"   All values will be strings."},{"line_number":44,"context_line":"2. The parameters can be used inside the templates, using a ```\u003cparam\u003e`` syntax"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Vitrage ``template add`` API will include a new option to create a template"},{"line_number":47,"context_line":"based on a template prototype and a set of parameters."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_21aa1885","line":44,"range":{"start_line":44,"start_character":64,"end_line":44,"end_character":69},"updated":"2019-01-03 08:30:02.000000000","message":"have you thought to do maybe get_param ?\n\u003c\u003e can be used in alarm names as parameters for the monitoring tool","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"358cf335d301682862ecc77c8a82327d8e2d3444","unresolved":false,"context_lines":[{"line_number":41,"context_line":"1. A ``parameters`` section will define the parameters of this template. Each"},{"line_number":42,"context_line":"   parameter will hold a ``description`` and optional ``default`` values."},{"line_number":43,"context_line":"   All values will be strings."},{"line_number":44,"context_line":"2. The parameters can be used inside the templates, using a ```\u003cparam\u003e`` syntax"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Vitrage ``template add`` API will include a new option to create a template"},{"line_number":47,"context_line":"based on a template prototype and a set of parameters."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_ad883671","line":44,"range":{"start_line":44,"start_character":64,"end_line":44,"end_character":69},"in_reply_to":"ffd0ebdf_21aa1885","updated":"2019-01-03 14:47:33.000000000","message":"Done","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"6102a0f136b8b3a963bf98a4cb18f59bbca0a170","unresolved":false,"context_lines":[{"line_number":152,"context_line":"CLI Example"},{"line_number":153,"context_line":"-----------"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --params \u0027{\\\u0027host_alarm_rawtext\\\u0027:\\\u0027High CPU load on host\\\u0027, \\\u0027instance_alarm_name\\\u0027:\\\u0027High CPU load on instance\\\u0027}\u0027"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_c1a8ec78","line":155,"range":{"start_line":155,"start_character":77,"end_line":155,"end_character":193},"updated":"2019-01-03 08:30:02.000000000","message":"I prefer to use multiple --param or of --params key1\u003dparams1;key2\u003dparam2\n\nor even add option for parameters file\n\nall these options should be used for cli only for client use a dictionary of parameters","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"358cf335d301682862ecc77c8a82327d8e2d3444","unresolved":false,"context_lines":[{"line_number":152,"context_line":"CLI Example"},{"line_number":153,"context_line":"-----------"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --params \u0027{\\\u0027host_alarm_rawtext\\\u0027:\\\u0027High CPU load on host\\\u0027, \\\u0027instance_alarm_name\\\u0027:\\\u0027High CPU load on instance\\\u0027}\u0027"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ffd0ebdf_4d7d0a6d","line":155,"range":{"start_line":155,"start_character":77,"end_line":155,"end_character":193},"in_reply_to":"ffd0ebdf_c1a8ec78","updated":"2019-01-03 14:47:33.000000000","message":"Done","commit_id":"b4f1dc23c21011aa4626c394ae60c2129dc00016"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"19526f35174d81d5ba1ccbb4b9ba49e58f5a7c88","unresolved":false,"context_lines":[{"line_number":155,"context_line":""},{"line_number":156,"context_line":".. code-block:: console"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --param \u0027host_alarm_rawtext\u0027\u003d\u0027High CPU load on host\u0027 --param \u0027instance_alarm_name\u0027\u003d\u0027High CPU load on instance\u0027"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Or:"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_ffb4a137","line":158,"range":{"start_line":158,"start_character":23,"end_line":158,"end_character":39},"updated":"2019-01-07 10:02:30.000000000","message":"should be the same --path.\nThe validation can make sure the params exist.","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"b38b3b3cf4918913ab5449bc6a21cc94fa5b8a57","unresolved":false,"context_lines":[{"line_number":155,"context_line":""},{"line_number":156,"context_line":".. code-block:: console"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --param \u0027host_alarm_rawtext\u0027\u003d\u0027High CPU load on host\u0027 --param \u0027instance_alarm_name\u0027\u003d\u0027High CPU load on instance\u0027"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Or:"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_4524fc0d","line":158,"range":{"start_line":158,"start_character":23,"end_line":158,"end_character":39},"in_reply_to":"dfd5e7cf_ffb4a137","updated":"2019-01-07 12:18:18.000000000","message":"Done","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"19526f35174d81d5ba1ccbb4b9ba49e58f5a7c88","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":".. code-block:: console"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"  vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --params \u0027host_alarm_rawtext\u0027\u003d\u0027High CPU load on host\u0027, \u0027instance_alarm_name\u0027\u003d\u0027High CPU load on instance\u0027"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_5f7dad6c","line":164,"range":{"start_line":164,"start_character":23,"end_line":164,"end_character":39},"updated":"2019-01-07 10:02:30.000000000","message":"same here","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"b38b3b3cf4918913ab5449bc6a21cc94fa5b8a57","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":".. code-block:: console"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"  vitrage template add --prototype-path ./host_affects_instance_prototype.yaml --params \u0027host_alarm_rawtext\u0027\u003d\u0027High CPU load on host\u0027, \u0027instance_alarm_name\u0027\u003d\u0027High CPU load on instance\u0027"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_e52090fa","line":164,"range":{"start_line":164,"start_character":23,"end_line":164,"end_character":39},"in_reply_to":"dfd5e7cf_5f7dad6c","updated":"2019-01-07 12:18:18.000000000","message":"Done","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"19526f35174d81d5ba1ccbb4b9ba49e58f5a7c88","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"New optional parameters will be added to ``vitrage template add``:"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* ``prototype_path``: The path of the template prototype. The template"},{"line_number":223,"context_line":"  indicated by this path must be of type ``prototype``. This parameter cannot"},{"line_number":224,"context_line":"  be used together with ``path`` parameter."},{"line_number":225,"context_line":"* ``params``: A json string representing a dict of parameters. It must contain"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_ffe2612f","line":222,"range":{"start_line":222,"start_character":4,"end_line":222,"end_character":18},"updated":"2019-01-07 10:02:30.000000000","message":"should reuse --path instead of adding a new one","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"b38b3b3cf4918913ab5449bc6a21cc94fa5b8a57","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"New optional parameters will be added to ``vitrage template add``:"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* ``prototype_path``: The path of the template prototype. The template"},{"line_number":223,"context_line":"  indicated by this path must be of type ``prototype``. This parameter cannot"},{"line_number":224,"context_line":"  be used together with ``path`` parameter."},{"line_number":225,"context_line":"* ``params``: A json string representing a dict of parameters. It must contain"}],"source_content_type":"text/x-rst","patch_set":3,"id":"dfd5e7cf_051ef4b9","line":222,"range":{"start_line":222,"start_character":4,"end_line":222,"end_character":18},"in_reply_to":"dfd5e7cf_ffe2612f","updated":"2019-01-07 12:18:18.000000000","message":"Done","commit_id":"07f50b6b8d92170bd29791135ad07daa2916afd8"}]}
