wso2 / wso2/testgrid

Support different name variations of ScriptType/IACProvider values in testgrid.yaml

Open
#492 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority/High Severity/Major Type/Improvement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.