)]}'
{"openstack_dashboard/static/app/core/openstack-service-api/policy.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3bfe665baf3148f771fd0a27be3f06cdf8c96ecc","unresolved":false,"context_lines":[{"line_number":89,"context_line":"      // The .error is already overriden in this function to just display toast, so this should"},{"line_number":90,"context_line":"      // work the same as if only success was returned."},{"line_number":91,"context_line":"      var deferred \u003d $q.defer();"},{"line_number":92,"context_line":"      var cacheId \u003d angular.toJson(policyRules);"},{"line_number":93,"context_line":"      var cachedData \u003d service.cache.get(cacheId);"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"      if (cachedData) {"}],"source_content_type":"text/javascript","patch_set":7,"id":"3afc51ec_061ba273","line":92,"updated":"2016-03-11 22:03:59.000000000","message":"For first pass, I\u0027m ok with having the cacheId be the rules. This should reduce traffic a bit. I think it would be much better if the cache is smarter and more atomic (per rule basis). Right now, the cache is not smart enough to know that [a,b] is the same as [b,a] since the cacheId are different.","commit_id":"6c2eaff49924cef767f0dd6fddff700bccc37838"}]}
