-
Notifications
You must be signed in to change notification settings - Fork 5
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
Hurl scripts refactor #1522
base: main
Are you sure you want to change the base?
Hurl scripts refactor #1522
Conversation
…v variable for RS_HOME
…me of the envars. Also working of having absolute paths so the scripts could run from anywhere
…ov/trusted-intermediary into story/1488/rs-setup-scripts-updates
- Use new setup-rs.sh script - Add alternate ways to build and run RS - Fixed RS docs URL - Clean up and simplify
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
@@ -41,53 +39,54 @@ parse_arguments() { | |||
hurl_file_path="$CDCTI_HOME/scripts/hurl/rs/$1.hurl" | |||
shift # Remove endpoint name from args | |||
|
|||
while getopts ':f:r:t:e:c:s:k:i:v' opt; do | |||
while getopts ':f:r:e:k:i:s:t:v' opt; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a default case in the option parsing switch statement to handle unexpected options more gracefully. This can improve the script's robustness and provide clearer error messages to the user. [important]
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate passedIssues Measures |
I am still tweaking my setup for the RS side of these scripts, but the TI-oriented scripts are working for me as of now. |
Add a PR title
Describe what changed in this PR at a high level.
Issue
#1566
Checklist
Note: You may remove items that are not applicable