To add, delete, or update alternatives associated with a configuration or feature flag in the RelFast portal, follow the step-by-step instructions below. Please ensure that you have the necessary "Update Configuration" permissions, which are environment-specific, to perform this operation.
Open your web browser and go to the portal: https://relfast.convolute.ai
Log in to the portal using your credentials to access your account.
After logging in, find and click on the "Configurations/Flags" tab in the left navigation bar. This will take you to the section where configurations and feature flags are managed.
Select the appropriate Project, Environment, and Application from the dropdown menus. If defaults are set, they will be pre-populated for convenience.
Existing configurations and feature flags will be displayed on this page.
To modify a configuration or feature flag, click on the name of the configuration or feature flag that you want to edit. This will navigate you to the specific configuration or feature flag page.
Once on the edit page, navigate to the "Alternatives" tab. This tab is environment-specific and tied to the Environments dropdown selection.
Existing values (alternatives) can be changed by editing their values directly. Any changes made will instantly get reflected under the default alternatives.
After making the necessary changes, click on the "Save" button to save the updated alternatives.
To add additional alternatives, click on the "Add Alternatives" button. The newly added alternative will be available for consumption in Default Alternatives and Rules.
To remove an alternative, click on the "remove" button against the alternative you want to delete. Note that you need to ensure that at least two alternatives are present and selected as defaults.
If the delete operation fails due to the alternative being used as a default when the feature is off, change the default alternative and retry the deletion.
If the delete still fails because the alternative is being used in a Rule, navigate to the "Rules" tab, and investigate the rules that have used the alternative you want to delete. Change the alternative entries for the rule or delete the rule based on business requirements.
After making any changes to alternatives or rules, click on the "Save" button to persist the changes.
Feature flags are modified similarly to configurations.
It is important to have a minimum of two alternatives for default alternatives.
The "Save" button performs client and server-side validations. Any violation in the form will be highlighted in the portal, prompting user action to correct the input.
The "Is Secured" switch can be used to store the alternatives at rest in an encrypted vault for added security.
By following these instructions, you can easily manage the alternatives associated with configurations and feature flags in the RelFast portal, ensuring that your application's settings and feature options remain flexible and updated according to different environments.