wso2 / wso2/open-cloud-datacenter
[Task]: Implement CAP-002: Tenant Space Behavioral Assertions
Open
@Yohansenanayake is already working on this.
Since Aug 26, 2026.
Type/Task
- Dominant language
- HCL
- Stars
- 19
- Forks
- 15
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 4
Description
Area
Other
Description
Design and implement a behavioral assertion layer that verifies the CAP-002 tenant space functions as expected after Terraform provisioning.
The assertions must validate observable state through the Rancher, Kubernetes, and Harvester APIs rather than relying only on Terraform outputs. Failures must produce clear results while allowing the workflow exit handler to clean up the tenant.
- Define the CAP-002 assertion matrix and expected outcomes.
- Implement the assertions using the shared Go test runner with Ginkgo and Gomega.
- Run assertions after Terraform apply and before cleanup.
- Validate project, namespace, quota, network, and role-binding behavior.
- Use bounded polling for resources that reconcile asynchronously.
- Produce structured JSON and JUnit results with useful failure details.
- Collect only safe, redacted diagnostic information.
Related Issues
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.