Skip to content
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

ASA-8093 (#142) #143

Merged
merged 2 commits into from
Feb 28, 2024
Merged

ASA-8093 (#142) #143

merged 2 commits into from
Feb 28, 2024

Conversation

vishalhcl-5960
Copy link

@vishalhcl-5960 vishalhcl-5960 commented Feb 28, 2024

Handled the URL encoding issue with staging & A360 environment.
This PR also contains the changes for ASA-8145:Meaningful message to be conveyed when Jenkins loses connection to ASoC while scan is in progress.

Handled the URL encoding issue with staging & A360 environment.
Copy link

@mattmurp mattmurp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the 3 urls, is there any reason to create the separate "query" variable? Since the query string is just a hardcoded string, we can replace the spaces with %20 and eliminate the need to call replaceAll(). So in all 3 cases it's simply:
request_url += <the hardcoded query string>

Addressed the PR comments
@vishalhcl-5960
Copy link
Author

For the 3 urls, is there any reason to create the separate "query" variable? Since the query string is just a hardcoded string, we can replace the spaces with %20 and eliminate the need to call replaceAll(). So in all 3 cases it's simply: request_url +=

Sure Matt, Made the changes according to your suggestion.
Also, I am able to execute a scan from Jenkins plugin after making these suggested changes.

@vishalhcl-5960 vishalhcl-5960 merged commit c370181 into master Feb 28, 2024
2 checks passed
@vishalhcl-5960 vishalhcl-5960 deleted the ASA-8093 branch February 28, 2024 18:58
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