)]}'
{"specs/stein/approved/short_template_format.rst":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"9b72cfe1b39fb38006ed82c9233d0feb490e345f","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Short Template Format"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"StoryBoard link: https://storyboard.openstack.org/#!/story/TODO"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec suggests a shorter format for Vitrage template files."},{"line_number":14,"context_line":"The new format should be shorter, read faster and written more easily."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_d9541024","line":11,"range":{"start_line":11,"start_character":59,"end_line":11,"end_character":63},"updated":"2019-01-10 13:51:14.000000000","message":":-)","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"9b72cfe1b39fb38006ed82c9233d0feb490e345f","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"For more information on the current format, see Template_format_."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".. _Template_format: https://docs.openstack.org/vitrage/latest/contributor/vitrage-template-format.html"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_346d2304","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":103},"updated":"2019-01-10 13:51:14.000000000","message":"This link is expected to point to the new format soon...","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"7258cf73b49d4e1381f489610d812e0e4f06e7ce","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"For more information on the current format, see Template_format_."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".. _Template_format: https://docs.openstack.org/vitrage/latest/contributor/vitrage-template-format.html"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9fdfeff1_d206f51c","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":103},"in_reply_to":"dfd5e7cf_346d2304","updated":"2019-01-28 11:29:12.000000000","message":"So i\u0027ll need to update once it is available","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"c1e84523b24431a417e1fbb3774d36e88621fbdc","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_14657fe1","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":22},"updated":"2019-01-10 12:59:13.000000000","message":"simplifications","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"7258cf73b49d4e1381f489610d812e0e4f06e7ce","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9fdfeff1_77029b0d","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":22},"in_reply_to":"dfd5e7cf_14657fe1","updated":"2019-01-28 11:29:12.000000000","message":"Done","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"9b72cfe1b39fb38006ed82c9233d0feb490e345f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"},{"line_number":34,"context_line":" 2. Remove ``relationships``, these will be represented inline in the condition,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_14725fe4","line":31,"range":{"start_line":31,"start_character":0,"end_line":31,"end_character":1},"updated":"2019-01-10 13:51:14.000000000","message":"Extra space","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"9b72cfe1b39fb38006ed82c9233d0feb490e345f","unresolved":false,"context_lines":[{"line_number":39,"context_line":" 5. In each action ``action_target`` nesting level is removed"},{"line_number":40,"context_line":" 6. In ``scenarios`` removed the ``scenario`` nesting level"},{"line_number":41,"context_line":" 7. Action ``set_state`` will be replaced with ``set_suboptimal``, ``set_error`` and ``set_ok``."},{"line_number":42,"context_line":" 8. ``raise_alarm`` action will have a new field ``causing_alarm`` this will add a causal relationship"},{"line_number":43,"context_line":"    between the new alarm and the causing alarm, de-necessitating the use of ``add_causal_relationship``"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_3446837e","line":42,"range":{"start_line":42,"start_character":37,"end_line":42,"end_character":48},"updated":"2019-01-10 13:51:14.000000000","message":"a new optional field","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"7258cf73b49d4e1381f489610d812e0e4f06e7ce","unresolved":false,"context_lines":[{"line_number":39,"context_line":" 5. In each action ``action_target`` nesting level is removed"},{"line_number":40,"context_line":" 6. In ``scenarios`` removed the ``scenario`` nesting level"},{"line_number":41,"context_line":" 7. Action ``set_state`` will be replaced with ``set_suboptimal``, ``set_error`` and ``set_ok``."},{"line_number":42,"context_line":" 8. ``raise_alarm`` action will have a new field ``causing_alarm`` this will add a causal relationship"},{"line_number":43,"context_line":"    between the new alarm and the causing alarm, de-necessitating the use of ``add_causal_relationship``"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9fdfeff1_57051713","line":42,"range":{"start_line":42,"start_character":37,"end_line":42,"end_character":48},"in_reply_to":"dfd5e7cf_3446837e","updated":"2019-01-28 11:29:12.000000000","message":"Done","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":26339,"name":"Muhamad Najjar","email":"muhamad.najjar@nokia.com","username":"7mode3294"},"change_message_id":"9fd94af6f3cb1bc3246a1db25a17bdbfd7714d22","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"},{"line_number":34,"context_line":" 2. Remove ``relationships``, these will be represented inline in the condition,"},{"line_number":35,"context_line":"    example usage ``condition: host_ssh_alarm [ on ] host``"},{"line_number":36,"context_line":" 3. ``entities`` will be changed from a list to a dictionary, ``template_id``"},{"line_number":37,"context_line":"    is removed and the entity key will be used instead."},{"line_number":38,"context_line":" 4. In ``actions`` the field ``action_type`` is removed and the action key will be used instead"},{"line_number":39,"context_line":" 5. In each action ``action_target`` nesting level is removed"},{"line_number":40,"context_line":" 6. In ``scenarios`` removed the ``scenario`` nesting level"},{"line_number":41,"context_line":" 7. Action ``set_state`` will be replaced with ``set_suboptimal``, ``set_error`` and ``set_ok``."},{"line_number":42,"context_line":" 8. ``raise_alarm`` action will have a new field ``causing_alarm`` this will add a causal relationship"},{"line_number":43,"context_line":"    between the new alarm and the causing alarm, de-necessitating the use of ``add_causal_relationship``"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Example for a short format template"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bfdaf3ff_cdcbe56f","line":43,"range":{"start_line":33,"start_character":1,"end_line":43,"end_character":104},"updated":"2019-01-16 09:36:31.000000000","message":"I think it will complicate the interpretation of the template a lot... but no doubt that the appearance in more convenient and the complexity level will be reduced.\n\nRegarding to relationships. I think it is better to not remove it but to improve it. A format to simplify the relation and repetitive relations. I mean that figure out something to give ids to conditions.\nfor example, the conditions A, B, C and D when B contains A in it and C contains B on it. so B\u003dAUB` and C\u003dBUC` . In this case the scenarios may look like this:\nscenarios:\n  condition: A\n  .........\n\n  condition: A AND/OR B`\n  .........\n\n  condition: A AND/OR B` AND/OR C`\n  .........\n\n  condition: A AND/OR B` AND/OR C` AND/OR D\n  .........\n\n\nAnd after my suggestion it may look like this:\n\nconditions:\n  - A: %%%\n  - B: A AND/OR B`\n  - C: B AND/OR C`\n  - D: $$$\n\nAnd scenarios may look like this:\nscenarios:\n  condition: A\n  .........\n\n  condition: B\n  .........\n\n  condition: C\n  .........\n\n  condition: C AND/OR D\n  .........","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"cf55d572f38e26639580f134b4ed37794140fde1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"},{"line_number":34,"context_line":" 2. Remove ``relationships``, these will be represented inline in the condition,"},{"line_number":35,"context_line":"    example usage ``condition: host_ssh_alarm [ on ] host``"},{"line_number":36,"context_line":" 3. ``entities`` will be changed from a list to a dictionary, ``template_id``"},{"line_number":37,"context_line":"    is removed and the entity key will be used instead."},{"line_number":38,"context_line":" 4. In ``actions`` the field ``action_type`` is removed and the action key will be used instead"},{"line_number":39,"context_line":" 5. In each action ``action_target`` nesting level is removed"},{"line_number":40,"context_line":" 6. In ``scenarios`` removed the ``scenario`` nesting level"},{"line_number":41,"context_line":" 7. Action ``set_state`` will be replaced with ``set_suboptimal``, ``set_error`` and ``set_ok``."},{"line_number":42,"context_line":" 8. ``raise_alarm`` action will have a new field ``causing_alarm`` this will add a causal relationship"},{"line_number":43,"context_line":"    between the new alarm and the causing alarm, de-necessitating the use of ``add_causal_relationship``"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Example for a short format template"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9fdfeff1_cddad849","line":43,"range":{"start_line":33,"start_character":1,"end_line":43,"end_character":104},"in_reply_to":"bfdaf3ff_cdcbe56f","updated":"2019-01-28 12:29:52.000000000","message":"I think it will be more complicated and hard to maintain. If the user writes as you suggested, and then wants to change condition A, all other conditions will be changed as a result","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"9b72cfe1b39fb38006ed82c9233d0feb490e345f","unresolved":false,"context_lines":[{"line_number":192,"context_line":"Data model impact"},{"line_number":193,"context_line":"-----------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"None."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"REST API impact"},{"line_number":198,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dfd5e7cf_d429379b","line":195,"range":{"start_line":195,"start_character":0,"end_line":195,"end_character":5},"updated":"2019-01-10 13:51:14.000000000","message":"You can explain that the new format will be stored to the DB and converted to the same in-memory data model as before","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19184,"name":"Idan Hefetz","email":"idan.hefetz@nokia.com","username":"idan-hefetz"},"change_message_id":"7258cf73b49d4e1381f489610d812e0e4f06e7ce","unresolved":false,"context_lines":[{"line_number":192,"context_line":"Data model impact"},{"line_number":193,"context_line":"-----------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"None."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"REST API impact"},{"line_number":198,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9fdfeff1_b70c8341","line":195,"range":{"start_line":195,"start_character":0,"end_line":195,"end_character":5},"in_reply_to":"dfd5e7cf_d429379b","updated":"2019-01-28 11:29:12.000000000","message":"Done","commit_id":"abbce3b335cd3d7ad21b5f0541814121c12282a4"},{"author":{"_account_id":19134,"name":"Eyal","email":"eyalb1@gmail.com","username":"eyalb"},"change_message_id":"35f0a9a8143a5696a4597d1a5815a5271256d6bd","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Several simlifications that will result in a shorter template file"},{"line_number":31,"context_line":" while preserving it\u0027s capabilities."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":" 1. Remove ``definitions`` level nesting, ``entities`` will directly replace it"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9fdfeff1_dce7ecab","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":22},"updated":"2019-01-28 10:02:40.000000000","message":"simplifications","commit_id":"4473e15b0cfbd68dc563a380ab0218e0ca32358a"}]}
