This commit does the following:
- Cleanup the service clients to not hard code resource values
used in API endpoints
- Add documentation to the README
- Fix the following tests that were not previously working:
- `test_get_action_validation`
- `test_invoke_action_control`
Change-Id: I8636f3b704871ad98c346b4a19c7f7f41c705e13
This commmit completes RBAC coverage for Shipyard Document Staging API,
for the APIs noted here [0]. For now, the goal is to meet the first use-case
of this plugin, which is to test RBAC for Shipyard. With this in mind, for RBAC
testing, we only care if a role has permission to an API in question. Therefore,
some of the more complex APIs are 'short circuit' tests - meaning only RBAC
permissions are checked and other expections are ignored.
[0] http://airship-shipyard.readthedocs.io/en/latest/API.html#document-staging-api
This commit includes the following:
- Base Classes for:
* Shipyard tests
* Shipyard RBAC tests
- Unfinished Shipyard REST Clients for:
* Document Staging API
* Action API
* Airflow Monitoring API
* Log Retrieval API
- RBAC Tests for Shipyard:
* get workflows
* get actions
* get configdocs
Future commits can follow this commit to further test Airship
components.