Commit Graph

4 Commits

Author SHA1 Message Date
Rick Bartra 447f620765 Complete RBAC test coverage for Shipyard APIs
This commit adds the appropriate clients and tests for the following
Shipyard API actions:
  - `workflow_orchestrator:action_deploy_site`
  - `workflow_orchestrator:action_update_site`
  - `workflow_orchestrator:action_update_software`
  - `workflow_orchestrator:action_redeploy_server`
  - `workflow_orchestrator:get_site_statuses`

Change-Id: Ida48ec860dc7cd0842c65c662a50ec3d67c41b77
2018-08-30 15:56:43 -04:00
Rick Bartra 9ede7e5237 Cleanup clients, add documenation, and fix 2 tests
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
2018-08-24 17:33:47 -04:00
Rick Bartra 9f473f288a Add Additional RBAC Test Coverage for Shipyard
This commit does the following:
- Add test coverage for:
  - Actions API
  - Airflow Monitoring API
  - Log Retrieval API
- Add tox.ini
- Add hacking checks
- Fix pep8 issues

Future work needed to fix some of the Actions API RBAC tests

Change-Id: I6e17ffa3ecc3c8a181790bdb79ad6b29fe127114
2018-08-21 16:25:32 -04:00
Rick Bartra 6b87d7d633 Framework for Airship Tempest Plugin
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.
2018-08-17 13:40:11 -04:00