Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

naveenku-jfrog
Copy link
Contributor

@naveenku-jfrog naveenku-jfrog commented Oct 13, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the master branch.
  • I used gofmt for formatting the code before submitting the pull request.

What: Added logic for handling input and structure.

@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 13, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 13, 2025
utils/utils.go Outdated Show resolved Hide resolved
lifecycle/lifecycle_test.go Outdated Show resolved Hide resolved
lifecycle/services/releaseBundleSearch.go Show resolved Hide resolved
}
return response, sendErr
}
log.Debug("Artifactory response status:", resp.Status)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this required? from the error returned it should be obvious.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually all the existing APIs are having this response output line.

lifecycle/services/rbSearch.go Outdated Show resolved Hide resolved
lifecycle/services/rbSearch.go Outdated Show resolved Hide resolved
lifecycle/services/rbSearch.go Outdated Show resolved Hide resolved
}

func TestReleaseBundlesSearchGroups(t *testing.T) {
mockServer, rbService := createMockServer(t, func(w http.ResponseWriter, r *http.Request) {
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: check if using this package helps instead of creating mock server
https://pkg.go.dev/net/http/httptest

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am using only existing style for testing. createMockServer function is used by all unit tests.

utils/utils.go Show resolved Hide resolved
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label Oct 14, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 14, 2025
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.