-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
migrate validate_endpoint to python #2868
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
base: trunk
Are you sure you want to change the base?
Conversation
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
User description
Signed-off-by: AvivGuiser [email protected]
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
migrate the validate_endpoint.sh to python
Motivation and Context
solves #2650 partially
Types of changes
Checklist
PR Type
Enhancement
Description
• Migrate
validate_endpoint.sh
from Bash to Python• Replace shell script with Python equivalent functionality
• Update video script to call Python version
• Maintain all existing endpoint validation features
Changes walkthrough 📝
validate_endpoint.sh
Remove Bash endpoint validation script
Video/validate_endpoint.sh
• Complete removal of Bash script (30 lines deleted)
• Contained
endpoint validation logic with curl commands
• Handled authentication
and GraphQL endpoint checks
video.sh
Update script call to Python version
Video/video.sh
• Update function call from
validate_endpoint.sh
tovalidate_endpoint.py
• Change shell script invocation to Python script
execution
validate_endpoint.py
Add Python endpoint validation implementation
Video/validate_endpoint.py
• New Python script with 136 lines implementing endpoint validation
•
Includes timestamp formatting, HTTP session management, and
authentication
• Handles both regular and GraphQL endpoint validation
• Provides comprehensive error handling and status code checking