When a new version of Rundeck comes out we need to be able to quickly refresh the VCR cassettes and validate this library against those requests. The current tests required some manual massaging to get data in the right state (change ACL policies, create a project, create a job, etc). Instead, let's have the tests create their own data when refreshing cassettes.
As part of this I will also reorganize the cassettes into sub-directories corresponding to the type (projects, jobs, etc).
Tasks:
[x] Fix Projects
[x] Fix Key
[x] Fix Token
Tasks for Part 2:
[ ] Fix Execution
[ ] Fix Job
[ ] Combine cassettes - Cassettes support more than one HTTP request each. Use one (or a few) per feature (Job, Project, etc). This should help especially with Tokens.
[ ] Pull some of Anvils vagrant setup in to this repo. This is because we don't want any Anvils data pre-populated and we need to configure the ACLs to be wide open. We also need more users in realm.properties
When a new version of Rundeck comes out we need to be able to quickly refresh the VCR cassettes and validate this library against those requests. The current tests required some manual massaging to get data in the right state (change ACL policies, create a project, create a job, etc). Instead, let's have the tests create their own data when refreshing cassettes.
As part of this I will also reorganize the cassettes into sub-directories corresponding to the type (projects, jobs, etc).
Tasks:
Tasks for Part 2: