)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":15,"context_line":"\"/etc/fm/policy.yaml\". Any change in file \"/etc/fm/policy.yaml\" is"},{"line_number":16,"context_line":"automatically detected by policy engine and the rules are updated."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Differently of other APIs, that have as default rule to enforce that all"},{"line_number":19,"context_line":"users using the API are present in either project \"admin\" or \"services\","},{"line_number":20,"context_line":"all read-only actions (GET requests) of FM API are allowed for any user,"},{"line_number":21,"context_line":"so it only requires \"reader\" role (that is the lowest role). Other"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"4602668c_34c73895","line":18,"range":{"start_line":18,"start_character":12,"end_line":18,"end_character":15},"updated":"2022-08-25 15:26:00.000000000","message":"nit: from","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":15,"context_line":"\"/etc/fm/policy.yaml\". Any change in file \"/etc/fm/policy.yaml\" is"},{"line_number":16,"context_line":"automatically detected by policy engine and the rules are updated."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Differently of other APIs, that have as default rule to enforce that all"},{"line_number":19,"context_line":"users using the API are present in either project \"admin\" or \"services\","},{"line_number":20,"context_line":"all read-only actions (GET requests) of FM API are allowed for any user,"},{"line_number":21,"context_line":"so it only requires \"reader\" role (that is the lowest role). Other"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"5600ed13_ed57b2e3","line":18,"range":{"start_line":18,"start_character":27,"end_line":18,"end_character":32},"updated":"2022-08-25 15:26:00.000000000","message":"nit: which","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\"/etc/fm/policy.yaml\". Any change in file \"/etc/fm/policy.yaml\" is"},{"line_number":16,"context_line":"automatically detected by policy engine and the rules are updated."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Differently of other APIs, that have as default rule to enforce that all"},{"line_number":19,"context_line":"users using the API are present in either project \"admin\" or \"services\","},{"line_number":20,"context_line":"all read-only actions (GET requests) of FM API are allowed for any user,"},{"line_number":21,"context_line":"so it only requires \"reader\" role (that is the lowest role). Other"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"ad03175f_dc72387a","line":18,"range":{"start_line":18,"start_character":12,"end_line":18,"end_character":15},"in_reply_to":"4602668c_34c73895","updated":"2022-08-25 17:24:21.000000000","message":"Done","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\"/etc/fm/policy.yaml\". Any change in file \"/etc/fm/policy.yaml\" is"},{"line_number":16,"context_line":"automatically detected by policy engine and the rules are updated."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Differently of other APIs, that have as default rule to enforce that all"},{"line_number":19,"context_line":"users using the API are present in either project \"admin\" or \"services\","},{"line_number":20,"context_line":"all read-only actions (GET requests) of FM API are allowed for any user,"},{"line_number":21,"context_line":"so it only requires \"reader\" role (that is the lowest role). Other"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"91f2300c_f4c38307","line":18,"range":{"start_line":18,"start_character":27,"end_line":18,"end_character":32},"in_reply_to":"5600ed13_ed57b2e3","updated":"2022-08-25 17:24:21.000000000","message":"Done","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":47,"context_line":"alarms in the deployed environment."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Test Plan:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"PASS: Successfully deploy an AIO-SX using an Debian image with this"},{"line_number":52,"context_line":"commit present. Successfully create, through openstack CLI, the users:"},{"line_number":53,"context_line":"\u0027testreader\u0027 with role \u0027reader\u0027 in project \u0027admin\u0027,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"c04780e5_378ddd60","line":50,"updated":"2022-08-25 15:26:00.000000000","message":"was Horizon access to the Fault Management alarms verified? Recommend addition to TestPlan","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":47,"context_line":"alarms in the deployed environment."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Test Plan:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"PASS: Successfully deploy an AIO-SX using an Debian image with this"},{"line_number":52,"context_line":"commit present. Successfully create, through openstack CLI, the users:"},{"line_number":53,"context_line":"\u0027testreader\u0027 with role \u0027reader\u0027 in project \u0027admin\u0027,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":17,"id":"dfb72986_809b9228","line":50,"in_reply_to":"c04780e5_378ddd60","updated":"2022-08-25 17:24:21.000000000","message":"Done","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"c18af71a7ccb99c513dfc8f7db7e18bec804f767","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":17,"id":"ed5b79bb_8ea596f7","updated":"2022-08-25 01:43:49.000000000","message":"Ready for review.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"2aedcef7_2a5c0b0a","updated":"2022-08-25 17:24:21.000000000","message":"Ready for review. Only commit message and python comments were changed.","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":28558,"name":"Ghada Khalil","email":"ghada.khalil@windriver.com","username":"gkhalil"},"change_message_id":"735c376226752b533095716b8a6ec127bb429caa","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"10371670_c960ee32","updated":"2022-08-29 13:24:13.000000000","message":"@Bob Church, please +2/W+1 based on review by Andy and Jerry. Thanks.","commit_id":"99eba3afb8309ec1d906c35653940cee4d631565"}],"devstack/lib/fault":[{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":18,"id":"728e499b_4c17278f","updated":"2022-08-25 21:01:35.000000000","message":"Are we using this devstack file?","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"3297c45d_2bec8a9a","in_reply_to":"728e499b_4c17278f","updated":"2022-08-26 02:42:07.000000000","message":"I thought that would be better to keep it updated anyway, but I\u0027m not sure if it is used.","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"fm-rest-api/debian/deb_folder/rules":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":18,"context_line":"\toslo-config-generator --config-file fm/config-generator.conf --output-file fm.conf.sample"},{"line_number":19,"context_line":"\tinstall -d -m 755 $(FMCONFDIR)"},{"line_number":20,"context_line":"\tinstall -p -D -m 600 fm.conf.sample $(FMCONFDIR)/fm.conf"},{"line_number":21,"context_line":"\tinstall -p -D -m 644 fm/policy.yaml $(FMCONFDIR)/policy.yaml"},{"line_number":22,"context_line":"\tdh_auto_install"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":17,"id":"56f29b86_22ed9b2e","line":21,"range":{"start_line":21,"start_character":19,"end_line":21,"end_character":21},"updated":"2022-08-25 15:26:00.000000000","message":"does this file require extended read privileges for non-root?","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\toslo-config-generator --config-file fm/config-generator.conf --output-file fm.conf.sample"},{"line_number":19,"context_line":"\tinstall -d -m 755 $(FMCONFDIR)"},{"line_number":20,"context_line":"\tinstall -p -D -m 600 fm.conf.sample $(FMCONFDIR)/fm.conf"},{"line_number":21,"context_line":"\tinstall -p -D -m 644 fm/policy.yaml $(FMCONFDIR)/policy.yaml"},{"line_number":22,"context_line":"\tdh_auto_install"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":17,"id":"ae5b9713_295c2d8c","line":21,"range":{"start_line":21,"start_character":19,"end_line":21,"end_character":21},"in_reply_to":"56f29b86_22ed9b2e","updated":"2022-08-25 17:24:21.000000000","message":"I\u0027ve set this permission because I thought there was no problem for other users to read this file and because other files in the same folder (\"api-paste.ini\", \"events.yaml\") allow non-root users to read them. Only the file \"fm.conf\" changes its owner and group to \"fm\" and restricts permission to 600. I thought it was not needed.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"a948b0e5ec687d0a10634015c86a152dad4e03b4","unresolved":true,"context_lines":[{"line_number":18,"context_line":"\toslo-config-generator --config-file fm/config-generator.conf --output-file fm.conf.sample"},{"line_number":19,"context_line":"\tinstall -d -m 755 $(FMCONFDIR)"},{"line_number":20,"context_line":"\tinstall -p -D -m 600 fm.conf.sample $(FMCONFDIR)/fm.conf"},{"line_number":21,"context_line":"\tinstall -p -D -m 644 fm/policy.yaml $(FMCONFDIR)/policy.yaml"},{"line_number":22,"context_line":"\tdh_auto_install"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":17,"id":"d977f273_ed0242dc","line":21,"range":{"start_line":21,"start_character":19,"end_line":21,"end_character":21},"in_reply_to":"ae5b9713_295c2d8c","updated":"2022-08-25 20:03:17.000000000","message":"As this is a security policy, I\u0027d recommend the lowest privilege level default.  Please verify if this functions with lower security level.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\toslo-config-generator --config-file fm/config-generator.conf --output-file fm.conf.sample"},{"line_number":19,"context_line":"\tinstall -d -m 755 $(FMCONFDIR)"},{"line_number":20,"context_line":"\tinstall -p -D -m 600 fm.conf.sample $(FMCONFDIR)/fm.conf"},{"line_number":21,"context_line":"\tinstall -p -D -m 644 fm/policy.yaml $(FMCONFDIR)/policy.yaml"},{"line_number":22,"context_line":"\tdh_auto_install"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":17,"id":"adc74795_d7c52762","line":21,"range":{"start_line":21,"start_character":19,"end_line":21,"end_character":21},"in_reply_to":"d977f273_ed0242dc","updated":"2022-08-26 02:42:07.000000000","message":"Done. I\u0027m setting workflow -1 while doing the tests.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"}],"fm-rest-api/fm/fm/api/app.py":[{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":10,"context_line":"#    See the License for the specific language governing permissions and"},{"line_number":11,"context_line":"#    limitations under the License."},{"line_number":12,"context_line":"#"},{"line_number":13,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":14,"context_line":"#"},{"line_number":15,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":16,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"6915a306_bf6b1abf","line":13,"range":{"start_line":13,"start_character":16,"end_line":13,"end_character":26},"updated":"2022-08-25 21:01:35.000000000","message":"I think this should be 2018-2022","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"#    See the License for the specific language governing permissions and"},{"line_number":11,"context_line":"#    limitations under the License."},{"line_number":12,"context_line":"#"},{"line_number":13,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":14,"context_line":"#"},{"line_number":15,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":16,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"6ee810c8_157f6dd8","line":13,"range":{"start_line":13,"start_character":16,"end_line":13,"end_character":26},"in_reply_to":"6915a306_bf6b1abf","updated":"2022-08-26 02:42:07.000000000","message":"Done","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"fm-rest-api/fm/fm/api/config.py":[{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":45,"context_line":"        hooks.DBHook(),"},{"line_number":46,"context_line":"        hooks.AuditLogging(),"},{"line_number":47,"context_line":"    ],"},{"line_number":48,"context_line":"    \u0027enable_acl\u0027: True"},{"line_number":49,"context_line":"}"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"2651b8d3_dee628c4","line":48,"updated":"2022-08-25 21:01:35.000000000","message":"With this change, the default public routes remains the same as before?","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        hooks.DBHook(),"},{"line_number":46,"context_line":"        hooks.AuditLogging(),"},{"line_number":47,"context_line":"    ],"},{"line_number":48,"context_line":"    \u0027enable_acl\u0027: True"},{"line_number":49,"context_line":"}"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"53d7291c_33e3ded9","line":48,"in_reply_to":"2651b8d3_dee628c4","updated":"2022-08-26 02:42:07.000000000","message":"The only purpose of \u0027enable_acl\u0027 is to work as a flag to include or not include AccessPolicyHook in line https://review.opendev.org/c/starlingx/fault/+/853311/18/fm-rest-api/fm/fm/api/app.py#52 . For normal operation, it is True and the hook is included; for unit tests, it is useful to set as False when no auth infrastructure is present.\n\nThe \u0027acl_public_routes\u0027 was removed from this dictionary because it was useless: adding URLs there produces no effect, as the public routes are configured in \"/etc/fm/api-paste.ini\" through field \"acl_public_routes\".","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"fm-rest-api/fm/fm/api/hooks.py":[{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"class AccessPolicyHook(hooks.PecanHook):"},{"line_number":205,"context_line":"    \"\"\"Verify that the user has the needed credentials to execute the action.\"\"\""},{"line_number":206,"context_line":"    def before(self, state):"},{"line_number":207,"context_line":"        is_public_api \u003d state.request.environ.get(\u0027is_public_api\u0027, False)"},{"line_number":208,"context_line":"        if not is_public_api:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9332ebe3_26ff3a93","line":205,"range":{"start_line":205,"start_character":43,"end_line":205,"end_character":54},"updated":"2022-08-25 21:01:35.000000000","message":"privilege maybe more accurate?","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"class AccessPolicyHook(hooks.PecanHook):"},{"line_number":205,"context_line":"    \"\"\"Verify that the user has the needed credentials to execute the action.\"\"\""},{"line_number":206,"context_line":"    def before(self, state):"},{"line_number":207,"context_line":"        is_public_api \u003d state.request.environ.get(\u0027is_public_api\u0027, False)"},{"line_number":208,"context_line":"        if not is_public_api:"}],"source_content_type":"text/x-python","patch_set":18,"id":"035ac4ba_341369a0","line":205,"range":{"start_line":205,"start_character":43,"end_line":205,"end_character":54},"in_reply_to":"9332ebe3_26ff3a93","updated":"2022-08-26 02:42:07.000000000","message":"Done","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"fm-rest-api/fm/fm/api/policies/event_suppression.py":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":"#"},{"line_number":15,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_policy import policy"},{"line_number":18,"context_line":"from fm.api.policies import base"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"fd62d9d2_92fead2b","line":16,"updated":"2022-08-25 15:26:00.000000000","message":"Elsewhere, in this repo, the following format is used.  \n\nRecommend alignment:\n\n#\n# Copyright (c) 2022 Wind River Systems, Inc.\n#\n# SPDX-License-Identifier: Apache-2.0\n#","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":"#"},{"line_number":15,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_policy import policy"},{"line_number":18,"context_line":"from fm.api.policies import base"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"7feb6f23_3a1b7735","line":16,"in_reply_to":"fd62d9d2_92fead2b","updated":"2022-08-25 17:24:21.000000000","message":"Done.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"}],"fm-rest-api/fm/fm/common/context.py":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":17,"id":"a13790d8_c185f256","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":21},"updated":"2022-08-25 15:26:00.000000000","message":"add \u0027, 2022\u0027","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":17,"id":"55155d33_e5aa2f78","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":21},"in_reply_to":"a13790d8_c185f256","updated":"2022-08-25 17:24:21.000000000","message":"Done.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"621fc28b_b78e520d","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":26},"updated":"2022-08-25 21:01:35.000000000","message":"I think it should be 2018-2022","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"d1c59d36_8288e333","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":26},"in_reply_to":"621fc28b_b78e520d","updated":"2022-08-26 02:42:07.000000000","message":"Done","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"fm-rest-api/fm/fm/common/policy.py":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"9c3133e1ac03161c8ca3333a3335d1bc9bb39770","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2022 Wind River Systems, Inc."},{"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":17,"id":"e52195ed_01e8383e","line":1,"updated":"2022-08-25 15:26:00.000000000","message":"preexisting copyright should not be overwritten; as this file still contains content from prior.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"b440b8c8eb8b3ef3fcab65649466c117c41d310e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2022 Wind River Systems, Inc."},{"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":17,"id":"0fa68b58_34c53430","line":1,"in_reply_to":"e52195ed_01e8383e","updated":"2022-08-25 17:24:21.000000000","message":"Done.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":19,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"500cb2bb_544c2af1","line":16,"range":{"start_line":16,"start_character":16,"end_line":16,"end_character":26},"updated":"2022-08-25 21:01:35.000000000","message":"2018-2022","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":19,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"c7a6c250_10f668e7","line":16,"range":{"start_line":16,"start_character":16,"end_line":16,"end_character":26},"in_reply_to":"500cb2bb_544c2af1","updated":"2022-08-26 02:42:07.000000000","message":"Done","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}],"python-fmclient/fmclient/fmclient/v1/event_suppression_shell.py":[{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"e4981c002a2338b6e6f9bd37dbc3667f4f9607a4","unresolved":false,"context_lines":[{"line_number":99,"context_line":"            uuid \u003d event_id.uuid"},{"line_number":100,"context_line":"            patch.append(dict(path\u003d\u0027/\u0027 + \u0027suppression_status\u0027, value\u003dpatch_value, op\u003d\u0027replace\u0027))"},{"line_number":101,"context_line":"            cc.event_suppression.update(uuid, patch)"},{"line_number":102,"context_line":"            print(\"Alarm ID: {} {}.\".format(event_id.alarm_id, patch_value))"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"@utils.arg(\u0027--include-unsuppressed\u0027, action\u003d\u0027store_true\u0027,"}],"source_content_type":"text/x-python","patch_set":17,"id":"c4c63abd_958c0179","line":102,"updated":"2022-08-25 14:52:09.000000000","message":"Note: these lines were moved because first the message was printed and then the operation was done. What occurred was that it was said that the operation was done then it was denied after. By doing the operation first and then printed after, if the operation is denied, an exception is thrown and the print is not executed.","commit_id":"c659c8ca1c95717d8b9b2a649c111d58740ef9ae"},{"author":{"_account_id":28676,"name":"Andy Ning","email":"andy.ning@windriver.com","username":"andy.wrs"},"change_message_id":"7d72e374ef0057b1c7770133327f716f3b10913a","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"2390895e_3267105f","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":26},"updated":"2022-08-25 21:01:35.000000000","message":"2018-2022","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"},{"author":{"_account_id":33487,"name":"João Victor Portal","display_name":"J. Portal","email":"Joao.VictorPortal@windriver.com","username":"jvportal"},"change_message_id":"934695e542ea25b163707841abcfa82498f185d1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#"},{"line_number":2,"context_line":"# Copyright (c) 2018, 2022 Wind River Systems, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# SPDX-License-Identifier: Apache-2.0"},{"line_number":5,"context_line":"#"}],"source_content_type":"text/x-python","patch_set":18,"id":"6e69df2f_b16ecef3","line":2,"range":{"start_line":2,"start_character":16,"end_line":2,"end_character":26},"in_reply_to":"2390895e_3267105f","updated":"2022-08-26 02:42:07.000000000","message":"Done","commit_id":"11dc7c798a7295dbfbc23d15b5ca53f98d1b697d"}]}
