)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"f715ef68bf9450d1a795b873faf6e13a55a5f886","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This patch define logging api extension follow logging api for"},{"line_number":10,"context_line":"security group spec [1]."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"[1] https://goo.gl/OqNwoQ"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I00642f6db650e6f546feb4ea9e394da1d603f6e1"},{"line_number":15,"context_line":"Partially-implements: blueprint security-group-logging"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"7f231b9d_68906b44","line":12,"updated":"2017-06-13 18:14:34.000000000","message":"maybe better not to use a url shortner.","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"}],"neutron_lib/api/definitions/logging.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1188b7686357c07ce5154628d20d1984c0179801","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":37,"context_line":"# to be exposed at the v2/ level as any other core resource."},{"line_number":38,"context_line":"API_PREFIX \u003d \u0027/logging\u0027"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# The description of the extension."},{"line_number":41,"context_line":"DESCRIPTION \u003d (\"Provides a logging API for resources such as \""}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_03ecc627","line":38,"range":{"start_line":38,"start_character":15,"end_line":38,"end_character":22},"updated":"2017-05-24 10:42:22.000000000","message":"i guess it\u0027s simpler to use a different prefix than logging_resource.\nhow do you think?","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"03862b9f69dc411d14190421f3e389aa3bc8a158","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":37,"context_line":"# to be exposed at the v2/ level as any other core resource."},{"line_number":38,"context_line":"API_PREFIX \u003d \u0027/logging\u0027"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# The description of the extension."},{"line_number":41,"context_line":"DESCRIPTION \u003d (\"Provides a logging API for resources such as \""}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_041b9372","line":38,"range":{"start_line":38,"start_character":15,"end_line":38,"end_character":22},"in_reply_to":"ff0f0b1f_03ecc627","updated":"2017-05-25 04:00:06.000000000","message":"Thank you for your suggestion. I think It can be a empty prefix, So api endpoint would look simple: /v2.0/logs and /v2.0/loggable_resources. But Shall we wait point of view from anothers?","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"c766324a5c8c330ccef22e68ca4d0aa41cf58078","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":37,"context_line":"# to be exposed at the v2/ level as any other core resource."},{"line_number":38,"context_line":"API_PREFIX \u003d \u0027/logging\u0027"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# The description of the extension."},{"line_number":41,"context_line":"DESCRIPTION \u003d (\"Provides a logging API for resources such as \""}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_9feed01f","line":38,"range":{"start_line":38,"start_character":15,"end_line":38,"end_character":22},"in_reply_to":"ff0f0b1f_041b9372","updated":"2017-05-25 04:01:07.000000000","message":"@Akihiro-san: What do you think?","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"003d490eb735e05cbac060203e60b54d6640af0a","unresolved":false,"context_lines":[{"line_number":113,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"# The list of optional extensions."},{"line_number":116,"context_line":"OPTIONAL_EXTENSIONS \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"bf091321_ea4ba9ad","line":116,"range":{"start_line":116,"start_character":22,"end_line":116,"end_character":24},"updated":"2017-06-08 06:22:01.000000000","message":"This extension expects security-group extension? I guess that it\u0027s better to add \"security-group\" here.","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"a908d1cb985327ff3c753530eb30f5d6c5004c3b","unresolved":false,"context_lines":[{"line_number":113,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"# The list of optional extensions."},{"line_number":116,"context_line":"OPTIONAL_EXTENSIONS \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"7f231b9d_d5e98f80","line":116,"range":{"start_line":116,"start_character":22,"end_line":116,"end_character":24},"in_reply_to":"7f231b9d_95731781","updated":"2017-06-12 12:56:28.000000000","message":"I\u0027m not sure about that.So I followed you. :). Thanks for your teaching.","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"e78d96d6ae6c1efd44540ae52b9dd7d7f560007f","unresolved":false,"context_lines":[{"line_number":113,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"# The list of optional extensions."},{"line_number":116,"context_line":"OPTIONAL_EXTENSIONS \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"7f231b9d_0bd6c3c6","line":116,"range":{"start_line":116,"start_character":22,"end_line":116,"end_character":24},"in_reply_to":"7f231b9d_d5e98f80","updated":"2017-06-12 14:28:28.000000000","message":"I thought that this feature may support logging of fwaas and other extensions. If so, we might want logging of them without security-group so I thought it\u0027s not require but option.","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ff38f25001caa7518201bed57480beee3674ea46","unresolved":false,"context_lines":[{"line_number":113,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"# The list of optional extensions."},{"line_number":116,"context_line":"OPTIONAL_EXTENSIONS \u003d []"}],"source_content_type":"text/x-python","patch_set":5,"id":"7f231b9d_95731781","line":116,"range":{"start_line":116,"start_character":22,"end_line":116,"end_character":24},"in_reply_to":"bf091321_ea4ba9ad","updated":"2017-06-12 12:45:25.000000000","message":"I think it should be in REQUIRED_EXTENSIONS, shouldn\u0027t it?","commit_id":"a9eee6fb5b1aacd14317fe445948828e932bf54f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"f715ef68bf9450d1a795b873faf6e13a55a5f886","unresolved":false,"context_lines":[{"line_number":79,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":80,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":81,"context_line":"                          \u0027required_by_policy\u0027: True,"},{"line_number":82,"context_line":"                          \u0027validate\u0027: {\u0027type:string\u0027: None},"},{"line_number":83,"context_line":"                          \u0027is_visible\u0027: True},"},{"line_number":84,"context_line":"        \u0027resource_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":85,"context_line":"                        \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None},"}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_08eb37b0","line":82,"range":{"start_line":82,"start_character":45,"end_line":82,"end_character":51},"updated":"2017-06-13 18:14:34.000000000","message":"Not limit on this string size?","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"f286f009cc7b68d16b095e4ec78eb064339fb143","unresolved":false,"context_lines":[{"line_number":79,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":80,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":81,"context_line":"                          \u0027required_by_policy\u0027: True,"},{"line_number":82,"context_line":"                          \u0027validate\u0027: {\u0027type:string\u0027: None},"},{"line_number":83,"context_line":"                          \u0027is_visible\u0027: True},"},{"line_number":84,"context_line":"        \u0027resource_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":85,"context_line":"                        \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None},"}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_8aaa89cf","line":82,"range":{"start_line":82,"start_character":45,"end_line":82,"end_character":51},"in_reply_to":"7f231b9d_08eb37b0","updated":"2017-06-14 08:14:38.000000000","message":"Done","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"f715ef68bf9450d1a795b873faf6e13a55a5f886","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                    \u0027convert_to\u0027: converters.convert_to_boolean},"},{"line_number":96,"context_line":"    },"},{"line_number":97,"context_line":"    LOG_TYPES: {"},{"line_number":98,"context_line":"        \u0027type\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":99,"context_line":"                 \u0027is_visible\u0027: True}},"},{"line_number":100,"context_line":"}"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_682ceb01","line":98,"range":{"start_line":98,"start_character":9,"end_line":98,"end_character":13},"updated":"2017-06-13 18:14:34.000000000","message":"We don\u0027t want conversion or validation here?","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"4246ea6cdcc3bc77985ac0d1b448085bdbbeb041","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                    \u0027convert_to\u0027: converters.convert_to_boolean},"},{"line_number":96,"context_line":"    },"},{"line_number":97,"context_line":"    LOG_TYPES: {"},{"line_number":98,"context_line":"        \u0027type\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":99,"context_line":"                 \u0027is_visible\u0027: True}},"},{"line_number":100,"context_line":"}"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_da90454d","line":98,"range":{"start_line":98,"start_character":9,"end_line":98,"end_character":13},"in_reply_to":"7f231b9d_0a09d9db","updated":"2017-06-14 15:25:10.000000000","message":"I think you are right; sorry I miseed it only supported GET.","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"f286f009cc7b68d16b095e4ec78eb064339fb143","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                    \u0027convert_to\u0027: converters.convert_to_boolean},"},{"line_number":96,"context_line":"    },"},{"line_number":97,"context_line":"    LOG_TYPES: {"},{"line_number":98,"context_line":"        \u0027type\u0027: {\u0027allow_post\u0027: False, \u0027allow_put\u0027: False,"},{"line_number":99,"context_line":"                 \u0027is_visible\u0027: True}},"},{"line_number":100,"context_line":"}"},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_0a09d9db","line":98,"range":{"start_line":98,"start_character":9,"end_line":98,"end_character":13},"in_reply_to":"7f231b9d_682ceb01","updated":"2017-06-14 08:14:38.000000000","message":"IMO, there doesn\u0027t need a validation, because this resource allow only get method and it will be get dynamic from log_drivers in run time. For converter function, it also not need. Do you think so?","commit_id":"e715c7f9560663bbb8edee8ea445a648091946a4"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"cb419f6568edc255a49fe49207f7430a605f254a","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                        \u0027validate\u0027: {"},{"line_number":81,"context_line":"                            \u0027type:string\u0027: db_const.DESCRIPTION_FIELD_SIZE},"},{"line_number":82,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":83,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":84,"context_line":"                          \u0027required_by_policy\u0027: True,"},{"line_number":85,"context_line":"                          \u0027validate\u0027: {"},{"line_number":86,"context_line":"                              \u0027type:string\u0027:"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f231b9d_e55a4ef1","line":83,"range":{"start_line":83,"start_character":9,"end_line":83,"end_character":22},"updated":"2017-06-14 08:32:57.000000000","message":"do we have a canonical set of resource type names somewhere?\ni have a little concern about inconsistencies like \"security_group\" vs \"security_groups\".","commit_id":"7734170cfa1523d0c45d9f9a9e2d7c23fee5b00f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"2c5d5a39b529bd893c9811776fc07150ea8d3e8a","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                        \u0027validate\u0027: {"},{"line_number":81,"context_line":"                            \u0027type:string\u0027: db_const.DESCRIPTION_FIELD_SIZE},"},{"line_number":82,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":83,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":84,"context_line":"                          \u0027required_by_policy\u0027: True,"},{"line_number":85,"context_line":"                          \u0027validate\u0027: {"},{"line_number":86,"context_line":"                              \u0027type:string\u0027:"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f231b9d_fa654c46","line":83,"range":{"start_line":83,"start_character":9,"end_line":83,"end_character":22},"in_reply_to":"7f231b9d_e55a4ef1","updated":"2017-06-14 09:47:09.000000000","message":"IMO, a canonical set of resource type names should be defined in [1] then it will be validated at [2]. Do you think so?\n[1] https://review.openstack.org/#/c/395504/34/neutron/services/logapi/common/constants.py\n[2] https://review.openstack.org/#/c/467976/7/neutron/services/logapi/logging_plugin.py@75","commit_id":"7734170cfa1523d0c45d9f9a9e2d7c23fee5b00f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"cb419f6568edc255a49fe49207f7430a605f254a","unresolved":false,"context_lines":[{"line_number":91,"context_line":"                        \u0027default\u0027: None, \u0027is_visible\u0027: True},"},{"line_number":92,"context_line":"        \u0027event\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":93,"context_line":"                  \u0027validate\u0027: {\u0027type:values\u0027: LOG_EVENTS},"},{"line_number":94,"context_line":"                  \u0027default\u0027: \u0027ALL\u0027, \u0027is_visible\u0027: True},"},{"line_number":95,"context_line":"        \u0027target_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":96,"context_line":"                      \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None},"},{"line_number":97,"context_line":"                      \u0027default\u0027: None, \u0027is_visible\u0027: True},"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f231b9d_4a17d1ee","line":94,"range":{"start_line":94,"start_character":29,"end_line":94,"end_character":34},"updated":"2017-06-14 08:32:57.000000000","message":"ALL_EVENT","commit_id":"7734170cfa1523d0c45d9f9a9e2d7c23fee5b00f"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"2c5d5a39b529bd893c9811776fc07150ea8d3e8a","unresolved":false,"context_lines":[{"line_number":91,"context_line":"                        \u0027default\u0027: None, \u0027is_visible\u0027: True},"},{"line_number":92,"context_line":"        \u0027event\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":93,"context_line":"                  \u0027validate\u0027: {\u0027type:values\u0027: LOG_EVENTS},"},{"line_number":94,"context_line":"                  \u0027default\u0027: \u0027ALL\u0027, \u0027is_visible\u0027: True},"},{"line_number":95,"context_line":"        \u0027target_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":96,"context_line":"                      \u0027validate\u0027: {\u0027type:uuid_or_none\u0027: None},"},{"line_number":97,"context_line":"                      \u0027default\u0027: None, \u0027is_visible\u0027: True},"}],"source_content_type":"text/x-python","patch_set":8,"id":"7f231b9d_da5cd07f","line":94,"range":{"start_line":94,"start_character":29,"end_line":94,"end_character":34},"in_reply_to":"7f231b9d_4a17d1ee","updated":"2017-06-14 09:47:09.000000000","message":"Done","commit_id":"7734170cfa1523d0c45d9f9a9e2d7c23fee5b00f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"b50bec5ba7e71c040b500e9a6f0462a81f126d14","unresolved":false,"context_lines":[{"line_number":34,"context_line":"NAME \u003d \u0027Logging API Extension\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Mark the api status as \u0027EXPERIMENTAL\u0027 or \u0027PRODUCTION\u0027"},{"line_number":37,"context_line":"API_STATUS \u003d \u0027EXPERIMENTAL\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":40,"context_line":"# to be exposed at the v2/ level as any other core resource."}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_5a3d5529","line":37,"updated":"2017-06-14 15:32:09.000000000","message":"In order to add a new attribute for API defs, I think we should use a separate patch set that includes:\n- Updates to all existing api defs to include the status.\n- UT framework to ensure the attribute defines a valid status.\n- Any updates to the base API defs needed.\n\nFor example I0979b727171ad7b91641e0d9e0697da1e47c493f\n\n\nFor now we could probably proceed with this patch without the API_STATUS and add it later.","commit_id":"cc36286cba6600c9304d719bd8564ac9e326e38a"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"60ae76ec5f1fa9cd8b721ad5c1f9a3a3b86c2417","unresolved":false,"context_lines":[{"line_number":34,"context_line":"NAME \u003d \u0027Logging API Extension\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Mark the api status as \u0027EXPERIMENTAL\u0027 or \u0027PRODUCTION\u0027"},{"line_number":37,"context_line":"API_STATUS \u003d \u0027EXPERIMENTAL\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":40,"context_line":"# to be exposed at the v2/ level as any other core resource."}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_488d7dd1","line":37,"in_reply_to":"7f231b9d_509c1169","updated":"2017-06-15 01:36:07.000000000","message":"Thank you for your guidance and suggestion. Could you help me up a patch to add support for an API status, please? I really appreciated for your kind help.","commit_id":"cc36286cba6600c9304d719bd8564ac9e326e38a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"b43aa43b61df4c3989e095f59e64af9099897d44","unresolved":false,"context_lines":[{"line_number":34,"context_line":"NAME \u003d \u0027Logging API Extension\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Mark the api status as \u0027EXPERIMENTAL\u0027 or \u0027PRODUCTION\u0027"},{"line_number":37,"context_line":"API_STATUS \u003d \u0027EXPERIMENTAL\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# A prefix for API resources. An empty prefix means that the API is going"},{"line_number":40,"context_line":"# to be exposed at the v2/ level as any other core resource."}],"source_content_type":"text/x-python","patch_set":9,"id":"7f231b9d_509c1169","line":37,"in_reply_to":"7f231b9d_5a3d5529","updated":"2017-06-14 17:39:43.000000000","message":"Note: I can whip up a patch to add support for an API status, or if you want to give it shot feel free. Just let me know.","commit_id":"cc36286cba6600c9304d719bd8564ac9e326e38a"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"c55f3d42f144633c0cba83f202bfbf4bc0edc637","unresolved":false,"context_lines":[{"line_number":115,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"# The list of optional extensions."},{"line_number":118,"context_line":"OPTIONAL_EXTENSIONS \u003d [\u0027security-group\u0027]"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f231b9d_8a332614","line":118,"updated":"2017-06-19 14:54:26.000000000","message":"The description for this api def says \"such as security group and firewall\". Should we also include firewall as an optional ext?","commit_id":"313f19711a05e723c4593c3f3c8c390d133d2e12"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"f80ae9926c0030ba694d25db60c31fab1b463706","unresolved":false,"context_lines":[{"line_number":115,"context_line":"ACTION_STATUS \u003d {}"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"# The list of optional extensions."},{"line_number":118,"context_line":"OPTIONAL_EXTENSIONS \u003d [\u0027security-group\u0027]"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f231b9d_8cec502a","line":118,"in_reply_to":"7f231b9d_8a332614","updated":"2017-06-20 03:12:07.000000000","message":"Done","commit_id":"313f19711a05e723c4593c3f3c8c390d133d2e12"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"2acd53ab736adf664c77aefc70bd81b504573d07","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        \u0027name\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":77,"context_line":"                 \u0027validate\u0027: {\u0027type:string\u0027: db_const.NAME_FIELD_SIZE},"},{"line_number":78,"context_line":"                 \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":79,"context_line":"        \u0027description\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":80,"context_line":"                        \u0027validate\u0027: {"},{"line_number":81,"context_line":"                            \u0027type:string\u0027: db_const.DESCRIPTION_FIELD_SIZE},"},{"line_number":82,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":83,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":84,"context_line":"                          \u0027required_by_policy\u0027: True,"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f201791_f5f718d4","line":81,"range":{"start_line":79,"start_character":8,"end_line":81,"end_character":76},"updated":"2017-06-20 13:05:46.000000000","message":"This attribute is provided by standardattr. Actually it seems that neutron patch[1] uses standardattr because the model doesn\u0027t have the definition[2]. Therefore, I think that we don\u0027t need to define this here.\n\n[1]: https://review.openstack.org/#/c/395504/\n[2]: https://github.com/openstack/neutron/blob/master/neutron/db/models/loggingapi.py","commit_id":"41ce1c7fb06d99425c807fcc11dcadc6b119fc54"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"8f739c8a2cb5eb004f2e23b56044d186ec253fef","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        \u0027name\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":77,"context_line":"                 \u0027validate\u0027: {\u0027type:string\u0027: db_const.NAME_FIELD_SIZE},"},{"line_number":78,"context_line":"                 \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":79,"context_line":"        \u0027description\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":80,"context_line":"                        \u0027validate\u0027: {"},{"line_number":81,"context_line":"                            \u0027type:string\u0027: db_const.DESCRIPTION_FIELD_SIZE},"},{"line_number":82,"context_line":"                        \u0027default\u0027: \u0027\u0027, \u0027is_visible\u0027: True},"},{"line_number":83,"context_line":"        \u0027resource_type\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":84,"context_line":"                          \u0027required_by_policy\u0027: True,"}],"source_content_type":"text/x-python","patch_set":11,"id":"5f201791_3d7d611c","line":81,"range":{"start_line":79,"start_character":8,"end_line":81,"end_character":76},"in_reply_to":"5f201791_f5f718d4","updated":"2017-06-21 03:23:29.000000000","message":"Thanks for your great review. Done.","commit_id":"41ce1c7fb06d99425c807fcc11dcadc6b119fc54"}],"neutron_lib/api/definitions/loggingapi.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"946ed3632d3dbfe8939cb1bb5c8593028fe0b7b3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_cf1a3d16","line":1,"updated":"2017-05-17 14:18:16.000000000","message":"If ALIAS is \u0027logging-api\u0027, this file name fits \u0027logging_apy.py\u0027.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# All rights reserved."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_7ccd155c","line":1,"in_reply_to":"ff0f0b1f_cf1a3d16","updated":"2017-05-18 08:13:04.000000000","message":"Done","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"76e1295a2291796261e09d6308c7a7a847d47232","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from neutron_lib.db import constants as db_const"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# The alias of the extension."},{"line_number":19,"context_line":"ALIAS \u003d \u0027logging-api\u0027"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Whether or not this extension is simply signaling behavior to the user"},{"line_number":22,"context_line":"# or it actively modifies the attribute map."}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_e35f47e3","line":19,"range":{"start_line":19,"start_character":9,"end_line":19,"end_character":20},"updated":"2017-05-18 03:55:40.000000000","message":"\u0027-api\u0027 looks odd. This is the API definition, so \u0027-api\u0027 is completely redundant. \u0027logging\u0027 is enough to me.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from neutron_lib.db import constants as db_const"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# The alias of the extension."},{"line_number":19,"context_line":"ALIAS \u003d \u0027logging-api\u0027"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Whether or not this extension is simply signaling behavior to the user"},{"line_number":22,"context_line":"# or it actively modifies the attribute map."}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_3cd79df0","line":19,"range":{"start_line":19,"start_character":9,"end_line":19,"end_character":20},"in_reply_to":"ff0f0b1f_e35f47e3","updated":"2017-05-18 08:13:04.000000000","message":"Done","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"946ed3632d3dbfe8939cb1bb5c8593028fe0b7b3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"NAME \u003d \u0027Logging API Extension\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# The description of the extension."},{"line_number":37,"context_line":"DESCRIPTION \u003d (\"Provides a logging API for resources such as\""},{"line_number":38,"context_line":"               \"security group and firewall.\")"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_b403e00f","line":37,"updated":"2017-05-17 14:18:16.000000000","message":"A space is necessary here.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":34,"context_line":"NAME \u003d \u0027Logging API Extension\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# The description of the extension."},{"line_number":37,"context_line":"DESCRIPTION \u003d (\"Provides a logging API for resources such as\""},{"line_number":38,"context_line":"               \"security group and firewall.\")"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# A timestamp of when the extension was introduced."}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_1c061988","line":37,"in_reply_to":"ff0f0b1f_b403e00f","updated":"2017-05-18 08:13:04.000000000","message":"Done","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"76e1295a2291796261e09d6308c7a7a847d47232","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"API_PREFIX \u003d \"/logging\""},{"line_number":50,"context_line":"LOG_EVENTS \u003d [\u0027ACCEPT\u0027, \u0027DROP\u0027, \u0027ALL\u0027]"},{"line_number":51,"context_line":"EXTENSION_ATTRIBUTES \u003d ("},{"line_number":52,"context_line":"    \u0027event\u0027,"},{"line_number":53,"context_line":"    \u0027target_id\u0027,"},{"line_number":54,"context_line":"    \u0027resource_type\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_e3bbc7e2","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":20},"updated":"2017-05-18 03:55:40.000000000","message":"Why is this needed? I would like to understand the purpose of this constant. If it is just for testing, it should be moved to the unit test.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"API_PREFIX \u003d \"/logging\""},{"line_number":50,"context_line":"LOG_EVENTS \u003d [\u0027ACCEPT\u0027, \u0027DROP\u0027, \u0027ALL\u0027]"},{"line_number":51,"context_line":"EXTENSION_ATTRIBUTES \u003d ("},{"line_number":52,"context_line":"    \u0027event\u0027,"},{"line_number":53,"context_line":"    \u0027target_id\u0027,"},{"line_number":54,"context_line":"    \u0027resource_type\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_1c14d99f","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":20},"in_reply_to":"ff0f0b1f_e3bbc7e2","updated":"2017-05-18 08:13:04.000000000","message":"It\u0027s just for testing. Thanks.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"76e1295a2291796261e09d6308c7a7a847d47232","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":67,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":68,"context_line":"                      \u0027validate\u0027: {"},{"line_number":69,"context_line":"                          \u0027type:string\u0027: db_const.LONG_DESCRIPTION_FIELD_SIZE},"},{"line_number":70,"context_line":"                      \u0027is_visible\u0027: True},"},{"line_number":71,"context_line":"        \u0027project_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":72,"context_line":"                       \u0027required_by_policy\u0027: True,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_431ef30c","line":69,"range":{"start_line":69,"start_character":50,"end_line":69,"end_character":77},"updated":"2017-05-18 03:55:40.000000000","message":"This is tenant_id. Why LONG_DESCRIPTION_FIELD_SIZE? PROJECT_ID_FIELD_SIZE?","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        \u0027tenant_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":67,"context_line":"                      \u0027required_by_policy\u0027: True,"},{"line_number":68,"context_line":"                      \u0027validate\u0027: {"},{"line_number":69,"context_line":"                          \u0027type:string\u0027: db_const.LONG_DESCRIPTION_FIELD_SIZE},"},{"line_number":70,"context_line":"                      \u0027is_visible\u0027: True},"},{"line_number":71,"context_line":"        \u0027project_id\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: False,"},{"line_number":72,"context_line":"                       \u0027required_by_policy\u0027: True,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_5c2131fb","line":69,"range":{"start_line":69,"start_character":50,"end_line":69,"end_character":77},"in_reply_to":"ff0f0b1f_431ef30c","updated":"2017-05-18 08:13:04.000000000","message":"Sorry, It\u0027s my mistake. Thanks.","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"76e1295a2291796261e09d6308c7a7a847d47232","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                       \u0027required_by_policy\u0027: True,"},{"line_number":73,"context_line":"                       \u0027validate\u0027: {"},{"line_number":74,"context_line":"                           \u0027type:string\u0027:"},{"line_number":75,"context_line":"                               db_const.LONG_DESCRIPTION_FIELD_SIZE},"},{"line_number":76,"context_line":"                       \u0027is_visible\u0027: True},"},{"line_number":77,"context_line":"        \u0027name\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":78,"context_line":"                 \u0027validate\u0027: {\u0027type:string\u0027: db_const.NAME_FIELD_SIZE},"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_231bff1b","line":75,"range":{"start_line":75,"start_character":40,"end_line":75,"end_character":67},"updated":"2017-05-18 03:55:40.000000000","message":"ditto","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"},{"author":{"_account_id":15471,"name":"Nguyen Phuong An","email":"annp.cs51@gmail.com","username":"An-FVL"},"change_message_id":"ccf6859cb7bc5be5a17515ba4efa927bcd2be871","unresolved":false,"context_lines":[{"line_number":72,"context_line":"                       \u0027required_by_policy\u0027: True,"},{"line_number":73,"context_line":"                       \u0027validate\u0027: {"},{"line_number":74,"context_line":"                           \u0027type:string\u0027:"},{"line_number":75,"context_line":"                               db_const.LONG_DESCRIPTION_FIELD_SIZE},"},{"line_number":76,"context_line":"                       \u0027is_visible\u0027: True},"},{"line_number":77,"context_line":"        \u0027name\u0027: {\u0027allow_post\u0027: True, \u0027allow_put\u0027: True,"},{"line_number":78,"context_line":"                 \u0027validate\u0027: {\u0027type:string\u0027: db_const.NAME_FIELD_SIZE},"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_9c6c6937","line":75,"range":{"start_line":75,"start_character":40,"end_line":75,"end_character":67},"in_reply_to":"ff0f0b1f_231bff1b","updated":"2017-05-18 08:13:04.000000000","message":"Done","commit_id":"8a7790565e4e7af992462aefdee14822906b59f2"}]}
