Support different name variations of ScriptType/IACProvider values in testgrid.yaml
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 60
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Description:
The IACProvider and bunch of other enums has a lots of variations on how we write it. For example,
Cloudformation == CLOUDFORMATION == CloudFormation == Cloud Formation
Same is true for Terraform, Shell etc.
Therefore, we need to support name aliases for these types.
Affected Product Version:
OS, DB, other environment details and versions:
N/A
Steps to reproduce:
https://github.com/wso2/testgrid/blob/7bcf2c0919922027421de27e5e945c37c8fc338b/common/src/main/java/org/wso2/testgrid/common/Script.java#L46
Related Issues:
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.
Research direction
Start with common/src/main/java/org/wso2/testgrid/common/Script.java at the referenced line and inspect how ScriptType and IACProvider values from testgrid.yaml are parsed. Trace the related enum definitions and existing configuration handling, then verify that the documented Cloudformation, Terraform, and Shell naming variations are accepted without breaking existing values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, yaml
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100