murano/murano/tests/unit/policy
Alexander Tivelkov 81eebd12ad Ability to retrieve current/owner user/project
Added an ability to retrieve information about the current user,
current project, environment owner (both user and project)
from keystone. Appropriate information (including
extra fields but excluding internal system data) is fetched from
Keystone using the same service credentials that are used to validate
tokens, create trusts etc.

- io.murano.User and io.murano.Project classes were added.
- Both classes have 2 static methods to get current and environment
   owner object of appropriate class
- Object model now contains project_id/user_id of the user who
   created the environment
- Deployment task contains project_id (renamed from tenant_id)
   and user_id of the user who initiated the deployment

Change-Id: Ic7e24c1d2b669ed315851047bcdb27e075cfc56b
2016-11-24 02:07:34 -08:00
..
modify Refactoring of the ObjectStore passing in DSL 2016-07-27 02:32:18 +00:00
__init__.py Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
expected_rules_model.txt Policy enforcement 'services' relationship 2015-04-07 13:28:13 +02:00
expected_rules_model_complex.txt Ignoring properties with None value in Murano->Congress mapping 2015-02-27 16:49:23 +01:00
expected_rules_model_renamed.txt Policy enforcement 'services' relationship 2015-04-07 13:28:13 +02:00
expected_rules_model_two_instances.txt Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
expected_rules_wordpress.txt Remove hardcoded dns from config file 2015-07-17 16:09:45 +03:00
model.yaml Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
model_complex.yaml Remove hardcoded dns from config file 2015-07-17 16:09:45 +03:00
model_renamed.yaml Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
model_two_instances.yaml Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
model_with_relations.yaml Initial implementation of policy enforcement point 2015-01-26 16:11:57 +01:00
test_congress_rules.py Use assertIn, assertNotIn and assertIsNotNone 2016-08-01 11:00:55 +02:00
test_model_policy_enforcer.py Ability to retrieve current/owner user/project 2016-11-24 02:07:34 -08:00
wordpress.yaml Remove hardcoded dns from config file 2015-07-17 16:09:45 +03:00