distil/etc
Lingxian Kong 00638fa410 Fix policy check for distil
To keep consistent with other projects and enable 'admin_or_owner' rule
in policy.json, this patch adds neccessary fields for policy check
target and use correct method to get context dictionary.

To be clear, the rule in policy.json 'project_id:%(project_id)s' comes
from Nova originally, the policy module will get project_id from
request URL to Nova service andn compare with project_id in the user
credential. For other projects which don't contain project_id in URL,
just get it from user credential to make the rule work properly.

Change-Id: I5979f2c5204e373cc4a84b1f6997845aabc891cb
2017-06-21 13:53:25 +12:00
..
os-config-generator Support generating config automatically 2016-06-27 21:26:55 +12:00
collector.yaml Refactor Distil API to support new endpoints 2016-05-05 15:20:17 +12:00
conf.yaml Collecting host info for instance 2017-02-16 02:21:04 +00:00
meter_mappings.yml.sample Fix getting host name from instances 2017-05-24 13:01:25 +12:00
policy.json.sample Fix policy check for distil 2017-06-21 13:53:25 +12:00
transformer.yaml.sample Fix getting host name from instances 2017-05-24 13:01:25 +12:00