tacker/tacker/tests/unit
kexuesheng 40a15b5945 Enhancement of Tacker API resource access control
For fine-grained access control based on user and VNF information
for API resources, this patch does the following things:
1.Add three comparison attributes of area, vendor, and tenant
  for the enhanced Tacker policy.
2.Convert special roles to API attributes in context.
3.Modify the API process to support Tacker policy authorize.
4.Add the Tacker policy filter to the list API processes.

Implements: blueprint enhance-api-policy
Change-Id: I5b4c39387860133a3bcf4544f18a6353c80773f6
2023-03-14 14:15:48 +00:00
..
agent Remove test helpers for Python2 2020-10-19 12:11:40 +00:00
api Remove VIM monitoring depending on Mistral 2023-02-27 10:10:56 +09:00
cmd [goal] Deprecate the JSON formatted policy file 2021-01-22 04:18:31 +00:00
common Support multiple conductors onboarding 2023-03-14 14:15:23 +00:00
conductor Support multiple conductors onboarding 2023-03-14 14:15:23 +00:00
db Remove VIM monitoring depending on Mistral 2023-02-27 10:10:56 +09:00
extensions Use skipTest() instead of skip() method 2021-07-12 23:10:31 +00:00
glance_store Drop most of six importings 2020-10-19 12:10:05 +00:00
hacking Refactoring UT directories 2018-11-12 13:13:39 +00:00
keymgr Refactoring UT directories 2018-11-12 13:13:39 +00:00
mistral Refactoring UT directories 2018-11-12 13:13:39 +00:00
nfvo Remove Mistral 2023-03-14 14:13:54 +00:00
objects Support multiple conductors onboarding 2023-03-14 14:15:23 +00:00
plugins Refactoring UT directories 2018-11-12 13:13:39 +00:00
services Refactoring UT directories 2018-11-12 13:13:39 +00:00
sol_refactored Enhancement of Tacker API resource access control 2023-03-14 14:15:48 +00:00
tests Drop most of six importings 2020-10-19 12:10:05 +00:00
tosca Refactoring UT directories 2018-11-12 13:13:39 +00:00
vnflcm Enhancement of Tacker API resource access control 2023-03-14 14:15:48 +00:00
vnfm Remove VIM monitoring depending on Mistral 2023-02-27 10:10:56 +09:00
vnfpkgm Enhancement of Tacker API resource access control 2023-03-14 14:15:48 +00:00
__init__.py Add versioned objects for vnf packages 2019-09-18 12:24:39 +00:00
base.py Use unittest.mock instead of third party mock 2020-05-22 12:03:45 +09:00
database_stubs.py Use oslo log and oslo concurrency 2016-06-03 11:38:36 +08:00
extension_stubs.py Cleanup vim settings 2016-03-28 13:03:56 +02:00
fake_auth.py Support of Server/Basic certification in OAuth2.0 2020-10-05 07:18:14 +00:00
fake_request.py Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
fixtures.py Stop to use the __future__ module. 2020-06-02 21:00:17 +02:00
test_alarm_receiver.py Remove test helpers for Python2 2020-10-19 12:11:40 +00:00
test_auth.py Remove deprecated attributes from context 2022-06-03 10:48:44 +09:00
test_context.py Use unittest.mock instead of third party mock 2020-05-22 12:03:45 +09:00
test_policy.py Drop most of six importings 2020-10-19 12:10:05 +00:00
test_privsep.py Use getpass.getuser() in test_privsep 2022-05-09 16:56:39 +02:00
test_wsgi.py Use skipTest() instead of skip() method 2021-07-12 23:10:31 +00:00
testlib_api.py Add __ne__ built-in function 2016-11-16 15:40:42 +08:00