Enhancement Request
ACTUAL BEHAVIOR:
The fcli ssc av update command currently does not support the --auto-required-attrs option.
There is a scenario where an App Version is created successfully with the required attributes available at the time of creation. Later, if a new App Version attribute is introduced in SSC and marked as mandatory, updating the existing App Version using the command fails: fcli ssc av update
The failure occurs because the existing App Version does not have a value for the newly introduced mandatory attribute.
Currently, there is no --auto-required-attrs option available for fcli ssc av update to automatically handle these missing required attributes during the update operation.
This can cause unexpected failures in existing workflows or CI/CD pipelines when new mandatory attributes are introduced after the App Version has already been created.
EXPECTED BEHAVIOR:
The fcli ssc av update command should support the --auto-required-attrs option.
When this option is provided, fcli should automatically populate or handle any missing required App Version attributes during the update operation.
For example:
fcli ssc av update --auto-required-attrs
This behavior should be consistent with commands that already support --auto-required-attrs.
If newly introduced mandatory attributes are missing for an existing App Version, using --auto-required-attrs should allow the update operation to complete successfully without requiring users to manually identify and populate those attributes.
If automatic population is not possible, the command should provide a clear and actionable error message indicating which required attributes are missing.
HOW-TO-REPRODUCE:
- Create an App Version in SSC using fcli.
- Ensure the App Version is created successfully with the required attributes available at that time.
- Later, introduce a new App Version attribute in SSC and mark it as mandatory.
- Try to update the existing App Version using the following command:
fcli ssc av update
- Observe that the command fails because the newly introduced mandatory attribute is missing.
- Try to use the
--auto-required-attrs option with the update command:
fcli ssc av update --auto-required-attrs
- Observe that the command does not support the
--auto-required-attrs option.
- As a result, there is no direct way to automatically handle newly introduced mandatory attributes during App Version update using this command.
SUGGESTED ENHANCEMENT:
Implement support for the --auto-required-attrs option in the fcli ssc av update command.
The option should automatically handle missing required App Version attributes when updating an existing App Version, especially in cases where new mandatory attributes were introduced after the App Version was created.
Enhancement Request
ACTUAL BEHAVIOR:
The
fcli ssc av updatecommand currently does not support the--auto-required-attrsoption.There is a scenario where an App Version is created successfully with the required attributes available at the time of creation. Later, if a new App Version attribute is introduced in SSC and marked as mandatory, updating the existing App Version using the command fails:
fcli ssc av updateThe failure occurs because the existing App Version does not have a value for the newly introduced mandatory attribute.
Currently, there is no
--auto-required-attrsoption available forfcli ssc av updateto automatically handle these missing required attributes during the update operation.This can cause unexpected failures in existing workflows or CI/CD pipelines when new mandatory attributes are introduced after the App Version has already been created.
EXPECTED BEHAVIOR:
The
fcli ssc av updatecommand should support the--auto-required-attrsoption.When this option is provided, fcli should automatically populate or handle any missing required App Version attributes during the update operation.
For example:
fcli ssc av update --auto-required-attrsThis behavior should be consistent with commands that already support
--auto-required-attrs.If newly introduced mandatory attributes are missing for an existing App Version, using
--auto-required-attrsshould allow the update operation to complete successfully without requiring users to manually identify and populate those attributes.If automatic population is not possible, the command should provide a clear and actionable error message indicating which required attributes are missing.
HOW-TO-REPRODUCE:
fcli ssc av update
--auto-required-attrsoption with the update command:fcli ssc av update --auto-required-attrs--auto-required-attrsoption.SUGGESTED ENHANCEMENT:
Implement support for the
--auto-required-attrsoption in thefcli ssc av updatecommand.The option should automatically handle missing required App Version attributes when updating an existing App Version, especially in cases where new mandatory attributes were introduced after the App Version was created.