)]}'
{"specs/newton/multi-tenancy-support.rst":[{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Vitrage Multi Tenancy Support"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"When a tenant connects to openstack we would like to show him only the data that is relevant to him."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_98cfb7b2","line":11,"updated":"2016-09-11 07:15:32.000000000","message":"\"connects to openstack\" --\u003e \"uses Vitrage APIs\"","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"},{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Vitrage needs to show in it\u0027s API an CLI only the tenants\u0027 data (it can\u0027t show all the data due to irrelevancy and privacy of each tenant)."},{"line_number":17,"context_line":"Thus for each datasource and entity we need to know what relevant data to show for that tenant."},{"line_number":18,"context_line":"We also would like to show all of the data if someone adds the all_tenants property."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_78711344","line":16,"updated":"2016-09-11 07:15:32.000000000","message":"it\u0027s --\u003e its\nonly the tenants\u0027 data --\u003e only the data relevant to that tenant","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"},{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Vitrage needs to show in it\u0027s API an CLI only the tenants\u0027 data (it can\u0027t show all the data due to irrelevancy and privacy of each tenant)."},{"line_number":17,"context_line":"Thus for each datasource and entity we need to know what relevant data to show for that tenant."},{"line_number":18,"context_line":"We also would like to show all of the data if someone adds the all_tenants property."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Proposed change"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_988ed725","line":18,"updated":"2016-09-11 07:15:32.000000000","message":"We also would like --\u003e We would also like","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"},{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Proposed change"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Here is a description for each of the APIs that we have how it should behave for each tenant:"},{"line_number":24,"context_line":"Get alarms:"},{"line_number":25,"context_line":" 1.\tFind all the alarms with the requested project_id (if the project is admin then show also alarms that has no project_id property)"},{"line_number":26,"context_line":" 2. Find all the resources with the requested project_id and return all the alarms that are attached to them."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_38c5cb3c","line":23,"updated":"2016-09-11 07:15:32.000000000","message":"Here is a description for each of the APIs that we have how it should behave for each tenant:\n--\u003e\nHere is a description, for each of the Vitrage APIs, how it should behave for each tenant:","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"},{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":27,"context_line":" 3. Merge the results from the previous steps and return it."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Get RCA:"},{"line_number":30,"context_line":" 1.\tFind all the alarms that this alarm has caused."},{"line_number":31,"context_line":" 2.\tFind the alarms that caused this alarm. Return only this tenants alarms which are up the tree and the first alarm that isn\u0027t belonging to this tenant."},{"line_number":32,"context_line":" 3. Merge the results from the previous steps and return it."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_78d673f2","line":30,"updated":"2016-09-11 07:15:32.000000000","message":"1. Find all the alarms that this alarm has caused, recursively. When reaching an alarm that is not of same project_id (or on resource of same project_id), stop the recursion, including this last alarm in the response.","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"},{"author":{"_account_id":19233,"name":"Elisha Rosensweig","email":"elisha@chorus.ai","username":"elisha.rosensweig"},"change_message_id":"9e7c2bbf28f67a4e503933086d28fa58bffbd6cb","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Get RCA:"},{"line_number":30,"context_line":" 1.\tFind all the alarms that this alarm has caused."},{"line_number":31,"context_line":" 2.\tFind the alarms that caused this alarm. Return only this tenants alarms which are up the tree and the first alarm that isn\u0027t belonging to this tenant."},{"line_number":32,"context_line":" 3. Merge the results from the previous steps and return it."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Get Topology:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_58f28f9b","line":31,"updated":"2016-09-11 07:15:32.000000000","message":"2. Find all the alarms that caused this alarm, recursively. When reaching an alarm that is not of same project_id (or on resource of same project_id), stop the recursion, including this last alarm in the response.","commit_id":"28ebf40650df869ccd82f40b3e069172c87fdd5b"}]}
