Skip to content

Conversation

@arya-girish-k
Copy link

Description

Add UI regex valiadation in ibm_catalog.json.

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

This PR enables input validation in the UI for several string variables by leveraging the value_constraints array defined in the catalog. These constraints will be used by the UI to validate user input at runtime. The changed variables include:
prefix, existing_mq_capacity_crn,existing_mq_deployment_crn.

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@arya-girish-k
Copy link
Author

/run pipeline

@arya-girish-k
Copy link
Author

/run pipeline

1 similar comment
@arya-girish-k
Copy link
Author

/run pipeline

@arya-girish-k
Copy link
Author

arya-girish-k commented Oct 28, 2025

Tested the variables against different patterns, including null values, incorrect inputs, and correct inputs. Corresponding screenshots are attached below.

  • existing_mq_capacity_crn
Pasted Graphic 116 Pasted Graphic 118 The value provided for 'existing_mq_capacity_crn' is not valid
  • queue_manager_name
The value provided for 'queue_manager_name' must contain only alphanumeric characters Pasted Graphic 117 Pasted Graphic 120
  • existing_mq_deployment_crn
Dismiss Pasted Graphic 124 The value provided for 'existing_mq_deployment_crn' is not valid
  • existing_secrets_manager_crn
Pasted Graphic 125 existing_secrets_manager_crn ® The value provided for 'existing_secrets_manager_crn' is not valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants