)]}'
{"specs/liberty/heat-monasca-alarm-notification.rst":[{"author":{"_account_id":4715,"name":"Angus Salkeld","email":"asalkeld@redhat.com","username":"asalkeld"},"change_message_id":"7c1d14413e9f0f9123c5c15d31f00efb4c7ee418","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    * name"},{"line_number":33,"context_line":"        - type: string"},{"line_number":34,"context_line":"        - required: true"},{"line_number":35,"context_line":"        - update_allowed: false"},{"line_number":36,"context_line":"        - description:"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9af37de9_2cba6ae2","line":34,"updated":"2015-05-11 03:50:04.000000000","message":"This should probably be optional, and if monasca *really* needs it use the generated name \"physical_resource_name\".","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"0ee31b428d737ba7382b7379a323c9cf3c94df4b","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    * name"},{"line_number":33,"context_line":"        - type: string"},{"line_number":34,"context_line":"        - required: true"},{"line_number":35,"context_line":"        - update_allowed: false"},{"line_number":36,"context_line":"        - description:"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a0c5dc1_363406dd","line":34,"in_reply_to":"9af37de9_2cba6ae2","updated":"2015-05-12 04:55:48.000000000","message":"sure. I updated the next patch with this change","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":4715,"name":"Angus Salkeld","email":"asalkeld@redhat.com","username":"asalkeld"},"change_message_id":"7c1d14413e9f0f9123c5c15d31f00efb4c7ee418","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    * name"},{"line_number":81,"context_line":"        - type: string"},{"line_number":82,"context_line":"        - required: true"},{"line_number":83,"context_line":"        - update_allowed: false"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    * type"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9af37de9_8ce4b60d","line":82,"updated":"2015-05-11 03:50:04.000000000","message":"This should probably be optional, and if monasca *really* needs it use the generated name \"physical_resource_name\".","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"0ee31b428d737ba7382b7379a323c9cf3c94df4b","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    * name"},{"line_number":81,"context_line":"        - type: string"},{"line_number":82,"context_line":"        - required: true"},{"line_number":83,"context_line":"        - update_allowed: false"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    * type"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a0c5dc1_f64c2e78","line":82,"in_reply_to":"9af37de9_8ce4b60d","updated":"2015-05-12 04:55:48.000000000","message":"sure. I updated the next patch with this change","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"c010d617dd210b0c09bf189e072f076e4437d0c4","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        - required: true"},{"line_number":94,"context_line":"        - update_allowed: true"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"* Custom constrain \u0027monasca.notification\u0027"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"As monasca provides Notification separated from the Alarm,"},{"line_number":99,"context_line":"to be compatible with other existing alarm resources in heat,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aca2d91_08229200","line":96,"updated":"2015-05-08 05:41:48.000000000","message":"Let me try work out a snippet here, for clarification\u0027s purpose:\n\n  alarm1:\n    type: OS::Monasca::Alarm\n    properties:\n      name: I_have_to_think_of_a_name_here\n      expression: teach_me_how_to_write_a_expression\n      match_by: another_freeform_string_which_could_be_useful\n      severity: low    # need to read some doc to understand\n                       # the difference\n      alarm_actions:\n        - {get_resource: notification1}\n\n  notification1：\n    type: OS::Monasca::Notification\n    properties:\n      name: I_have_to_think_of_a_name_and_I_dont_know_if_there_are_constraints_on_this_name_field_UTF8_Okay_or_not\n      type: webhook\n      address: {get_attr: [scale_out_policy, alarm_url]}\n\n  scale_out_policy:\n    ....\n\nDoes this look like a right skeleton?","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"40867202c38c183ecc7b3e0e3a455ec2a76f9b64","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        - required: true"},{"line_number":94,"context_line":"        - update_allowed: true"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"* Custom constrain \u0027monasca.notification\u0027"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"As monasca provides Notification separated from the Alarm,"},{"line_number":99,"context_line":"to be compatible with other existing alarm resources in heat,"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9af37de9_312c03ab","line":96,"in_reply_to":"1aca2d91_08229200","updated":"2015-05-11 03:22:06.000000000","message":"yes.","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"c010d617dd210b0c09bf189e072f076e4437d0c4","unresolved":false,"context_lines":[{"line_number":101,"context_line":"webhook."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"If the user provided webhook is not exist in the monasca,"},{"line_number":104,"context_line":"heat will create new notification with that webhook, before creating the"},{"line_number":105,"context_line":"alarm, otherwise, the existing notification for that webhook will be used."},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"* OS::Monasca::AlarmI:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aca2d91_a8939e4e","line":104,"updated":"2015-05-08 05:41:48.000000000","message":"If I\u0027m using this Alarm for triggering autoscaling, for example, I need to do this:\n\n  alarm1:\n    type: OS::Monasca::AlarmI\n    properties:\n      alarm_actions:\n        - {get_attr: [scale_out_policy, alarm_url]}\n  scale_out_policy:\n    ...\n\nIn this case, Heat need still need to create a Notification object internally?","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"40867202c38c183ecc7b3e0e3a455ec2a76f9b64","unresolved":false,"context_lines":[{"line_number":101,"context_line":"webhook."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"If the user provided webhook is not exist in the monasca,"},{"line_number":104,"context_line":"heat will create new notification with that webhook, before creating the"},{"line_number":105,"context_line":"alarm, otherwise, the existing notification for that webhook will be used."},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"* OS::Monasca::AlarmI:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9af37de9_d111375f","line":104,"in_reply_to":"1aca2d91_a8939e4e","updated":"2015-05-11 03:22:06.000000000","message":"yes. you are right as mentioned in the spec.","commit_id":"f6f9c9838003148301195f1d35bfbe11cdb9a230"}],"specs/liberty/support-monasca-alarm-notification.rst":[{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"c3e24270d11e53d74f1ea211791fb626c9252d83","unresolved":false,"context_lines":[{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/heat/+spec/support-monasca-alarm-notification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This Blueprint will support to create or delete Monasca alarms and notifications."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_345a9384","line":13,"updated":"2015-04-16 10:51:56.000000000","message":"I have already created an launchpad blueprint entry https://blueprints.launchpad.net/heat/+spec/heat-monasca-resource.\n\nI\u0027m very happy to work with you. kindly let me know if i can help you :) Thanks.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"dcccd839b491c867a8cc4981530893b16e72ed3e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/heat/+spec/support-monasca-alarm-notification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This Blueprint will support to create or delete Monasca alarms and notifications."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_05b9a3e9","line":13,"in_reply_to":"5aa745d1_345a9384","updated":"2015-04-23 09:30:09.000000000","message":"Ohh, are you from Monasca team? if yes, maybe you are the most appropriate person who implement this.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"b8fc8176c88bdc22c3a497da399350b0538c7836","unresolved":false,"context_lines":[{"line_number":10,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/heat/+spec/support-monasca-alarm-notification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"This Blueprint will support to create or delete Monasca alarms and notifications."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_41a673c2","line":13,"in_reply_to":"bab921fb_05b9a3e9","updated":"2015-04-30 04:32:58.000000000","message":"I am from heat team.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"8ff37aab00108b1cb52ad38ec8a2cfa33fc7192c","unresolved":false,"context_lines":[{"line_number":28,"context_line":"alarms and notifications. In order to achieve this goal, this proposal needs to"},{"line_number":29,"context_line":"implement the following items:"},{"line_number":30,"context_line":"  Creates Monasca client and this Monasca client will be added to"},{"line_number":31,"context_line":"heat/heat/engine/clients/os/."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"  Exposes a new resource type, OS::Monasca::Alarm, to user, which will be"},{"line_number":34,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_609056ed","line":31,"updated":"2015-04-16 10:35:01.000000000","message":"It should be added to \u0027contrib/heat_monasca/..\u0027 instead of \u0027heat/heat/engine/..\u0027","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"dcccd839b491c867a8cc4981530893b16e72ed3e","unresolved":false,"context_lines":[{"line_number":28,"context_line":"alarms and notifications. In order to achieve this goal, this proposal needs to"},{"line_number":29,"context_line":"implement the following items:"},{"line_number":30,"context_line":"  Creates Monasca client and this Monasca client will be added to"},{"line_number":31,"context_line":"heat/heat/engine/clients/os/."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"  Exposes a new resource type, OS::Monasca::Alarm, to user, which will be"},{"line_number":34,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_a5ad578a","line":31,"in_reply_to":"5aa745d1_609056ed","updated":"2015-04-23 09:30:09.000000000","message":"Thanks for pointing this out. I\u0027ll modify it.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"8ff37aab00108b1cb52ad38ec8a2cfa33fc7192c","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    ok_actions           {type: list, required: false, update_allowed: true}"},{"line_number":44,"context_line":"    undetermined_actions {type: list, required: false, update_allowed: true}"},{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_c05e0a45","line":46,"updated":"2015-04-16 10:35:01.000000000","message":"here too","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"dcccd839b491c867a8cc4981530893b16e72ed3e","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    ok_actions           {type: list, required: false, update_allowed: true}"},{"line_number":44,"context_line":"    undetermined_actions {type: list, required: false, update_allowed: true}"},{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_25b027dd","line":46,"in_reply_to":"5aa745d1_c05e0a45","updated":"2015-04-23 09:30:09.000000000","message":"Thanks for pointing this out. I\u0027ll modify it","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"29c2c38673a2f031337686cc77f14eecab0b59c9","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_c822acb9","line":48,"updated":"2015-04-16 12:42:04.000000000","message":"any usage scenarios for this resource type?","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"6dacfda781d5fd7e3c05ae6f850f5a9967b3eaad","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aca2d91_6a735f16","line":48,"in_reply_to":"1aca2d91_e17f9a64","updated":"2015-05-07 12:08:44.000000000","message":"I don\u0027t agree. If notification here has other use cases, the story would be different. If its sole purpose is to serve the alarm, I insist we should abstract it away.\nAs a template author, I have no slight interest in the APIs exposed by Monasca. All I am seeing is the resource types I need to use.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"dcccd839b491c867a8cc4981530893b16e72ed3e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_65185f85","line":48,"in_reply_to":"5aa745d1_c822acb9","updated":"2015-04-23 09:30:09.000000000","message":"When user creates an Monasca alarm, he need specify alarm_actions, ok_actions or undetermined_actions as a list of Monasca Notification.\nFor example, if user specifies the alarm_actions of a Monasca alarm with a type\u003demail Monasca Notification, when the alarm is in alarmed state, an email will be sent to the specified address.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"3f4a234ba21b258f3a8c39e4c056f2a80512959d","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_fbb40ed2","line":48,"in_reply_to":"bab921fb_65185f85","updated":"2015-04-23 09:58:17.000000000","message":"Okay. That is exactly what the alarm_actions will capture right? My point is to reduce user\u0027s burden to the minimum. In this case, it is possible to specify alarm_actions as:\n\n  [\"mailto:joe@net.com\", \n  \"http://mywebhook.net/unique_id\"]\n\nI believe we are not losing any flexibility of this original intent.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":8246,"name":"Qiming Teng","email":"tengqm@outlook.com","username":"tengqm"},"change_message_id":"51e3e06bc4b319539a41b39090292730bf463f54","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_dd97d48e","line":48,"in_reply_to":"bab921fb_cad94c85","updated":"2015-04-24 02:30:00.000000000","message":"If that is a restriction of the Monasca API, we may need to hide it from users. If that API doesn\u0027t make sense, change it. If it has to be done that way, hide it. I mean, when implementing OS::Monasca::Alarm, we create a notification internally in the resource type. Exposing this to user doesn\u0027t make sense to me.","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7f6cc0e2a10cb21eae6f32b05119f9de70cd3c83","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aca2d91_e17f9a64","line":48,"in_reply_to":"bab921fb_dd97d48e","updated":"2015-05-07 10:39:23.000000000","message":"Qiming Teng, I believe that heat suppose not to change the usage of the given resource\u0027s service. i.e, as monasca is exposing the Notification API and expecting the alarm API to contain it, heat also bound to go this way. so I think, it needs custom constrains for the notifications","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"d97e7222a8a367dad7903d00a3d662dc44daa3d0","unresolved":false,"context_lines":[{"line_number":45,"context_line":"To achieve this goal, the new Monasca alarm resource plugin will be added to"},{"line_number":46,"context_line":"heat/heat/engine/resources/monasca/."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  Exposes a new resource type, OS::Monasca::Notification, to user, which will be"},{"line_number":49,"context_line":"interpreted into Monasca operation via Heat engine. The elements of"},{"line_number":50,"context_line":"OS::Monasca::Notification are as follows:"},{"line_number":51,"context_line":"    name                 {type: string, required: true, update_allowed: false}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_cad94c85","line":48,"in_reply_to":"bab921fb_fbb40ed2","updated":"2015-04-24 02:16:54.000000000","message":"No, you cannot do that directly. As the API of monasca requires, the alarm_actioins and other actions require a list of notification ID(the notification id is generated automatically when you create a Monasca notification) as input. \nSee below link for details:\nhttps://github.com/stackforge/monasca-api/blob/master/docs/monasca-api-spec.md#post-v20notification-methods","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"8ff37aab00108b1cb52ad38ec8a2cfa33fc7192c","unresolved":false,"context_lines":[{"line_number":53,"context_line":"constraints: {\u0027email\u0027, \u0027webhook\u0027}}"},{"line_number":54,"context_line":"    address              {type: string, required: true, update_allowed: true}"},{"line_number":55,"context_line":"To achieve this goal, the new Monasca notification resource plugin will be added"},{"line_number":56,"context_line":" to heat/heat/engine/resources/monasca/."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"},{"line_number":59,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_4031da0a","line":56,"updated":"2015-04-16 10:35:01.000000000","message":"and here","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"dcccd839b491c867a8cc4981530893b16e72ed3e","unresolved":false,"context_lines":[{"line_number":53,"context_line":"constraints: {\u0027email\u0027, \u0027webhook\u0027}}"},{"line_number":54,"context_line":"    address              {type: string, required: true, update_allowed: true}"},{"line_number":55,"context_line":"To achieve this goal, the new Monasca notification resource plugin will be added"},{"line_number":56,"context_line":" to heat/heat/engine/resources/monasca/."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Alternatives"},{"line_number":59,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_05b523cc","line":56,"in_reply_to":"5aa745d1_4031da0a","updated":"2015-04-23 09:30:09.000000000","message":"Thanks for pointing this out. I\u0027ll modify it","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"c3e24270d11e53d74f1ea211791fb626c9252d83","unresolved":false,"context_lines":[{"line_number":81,"context_line":"----------"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"* Creates Monasca client for Heat."},{"line_number":84,"context_line":"* Creates Heat engine plugin to parse Monasca alarms and notifications."},{"line_number":85,"context_line":"* Add related tests for changes."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5aa745d1_74c7fb12","line":84,"updated":"2015-04-16 10:51:56.000000000","message":"-1: kindly make it as contrib","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10511,"name":"Ligong Duan","email":"duanlg@live.cn","username":"duanlg"},"change_message_id":"d97e7222a8a367dad7903d00a3d662dc44daa3d0","unresolved":false,"context_lines":[{"line_number":81,"context_line":"----------"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"* Creates Monasca client for Heat."},{"line_number":84,"context_line":"* Creates Heat engine plugin to parse Monasca alarms and notifications."},{"line_number":85,"context_line":"* Add related tests for changes."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bab921fb_4ae1bccf","line":84,"in_reply_to":"5aa745d1_74c7fb12","updated":"2015-04-24 02:16:54.000000000","message":"Sorry, not understand well about the meaning of \"contrib“ here.\nDo you mean that I need to change it into \"Creates contrib/heat_monasca/resources/monasca/alarm.py and notification.py as Heat engines\"?","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"b8fc8176c88bdc22c3a497da399350b0538c7836","unresolved":false,"context_lines":[{"line_number":81,"context_line":"----------"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"* Creates Monasca client for Heat."},{"line_number":84,"context_line":"* Creates Heat engine plugin to parse Monasca alarms and notifications."},{"line_number":85,"context_line":"* Add related tests for changes."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_41d8b353","line":84,"in_reply_to":"bab921fb_4ae1bccf","updated":"2015-04-30 04:32:58.000000000","message":"yes. you are right","commit_id":"3a04eb6925c8466a780cc8f0f1184c1d25463e14"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"7ae1c139297b492d1187dc30694caa53da441a80","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        - required: false"},{"line_number":73,"context_line":"        - update_allowed: true"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* OS::Monasca::Notification:"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    * name"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_61514ad8","line":75,"updated":"2015-05-07 10:40:30.000000000","message":"-1: add custom constrain for the  actions list item to contain the notification ids","commit_id":"dba0fd8f219d1ff80170a2f33bfc13ef626f19ab"},{"author":{"_account_id":4715,"name":"Angus Salkeld","email":"asalkeld@redhat.com","username":"asalkeld"},"change_message_id":"ad582857a9665dc61d40a005d7573ad1d6f71c39","unresolved":false,"context_lines":[{"line_number":121,"context_line":"* Implement Monasca client plugin"},{"line_number":122,"context_line":"* Implement custom constrain \u0027monasca.notification\u0027"},{"line_number":123,"context_line":"* Implement alarm and notification resource plugins as detailed above"},{"line_number":124,"context_line":"* Implement required test cases."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Dependencies"},{"line_number":127,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1aca2d91_4ed897ef","line":124,"updated":"2015-05-08 02:01:11.000000000","message":"create an example template of how to use this with autoscaling?","commit_id":"cc2fb7b9fc4b503e48e7996fb7b7ee3f5e530fc4"}]}
