Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to have multiple parameters per rule #1495

Closed
ashpc opened this issue Jan 9, 2024 · 1 comment · Fixed by #1504
Closed

Ability to have multiple parameters per rule #1495

ashpc opened this issue Jan 9, 2024 · 1 comment · Fixed by #1504

Comments

@ashpc
Copy link

ashpc commented Jan 9, 2024

Issue description / feature objectives

Currently the component definition has the ability to have only one parameter per rule. There are use cases where we want to have multiple parameters per rule.

@degenaro
Copy link
Collaborator

Support for multiple parameters in component-definition proposed:

  1. New support will be backward compatible with single parameter.
  2. For the single parameter case, the parameter column names won't change.

$Parameter_Id
$Parameter_Description
$Parameter_Value_Alternatives
$Parameter_Value_Default

  1. Additional parameters column sets will be honored in the following way:

$Parameter_Id_NNN
$Parameter_Description_NNN
$Parameter_Value_Alternatives_NNN
$Parameter_Value_Default_NNN

where NNN is used to link the values as a set. Examples sets:

$Parameter_Id_2
$Parameter_Description_2
$Parameter_Value_Alternatives_2
$Parameter_Value_Default_2

$Parameter_Id_3
$Parameter_Description_3
$Parameter_Value_Alternatives_3
$Parameter_Value_Default_3

$Parameter_Id_XYZ
$Parameter_Description_XYZ
$Parameter_Value_Alternatives_XYZ
$Parameter_Value_Default_XYZ

  1. Markdown support will be similarly changed
  2. Commensurate SSP support to be investigated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants