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

Remove Acquire #266

Merged
merged 9 commits into from
Nov 21, 2024
Merged

Remove Acquire #266

merged 9 commits into from
Nov 21, 2024

Conversation

maurafortino
Copy link
Contributor

@maurafortino maurafortino commented Nov 18, 2024

What's Included:

  • Removing the bascule/acquire package and replacing it with ancla/acquire

TODO:
-discuss solution
-fix unit tests after solution discussion

@maurafortino maurafortino added the needs discussion Further discussion is needed to move forward label Nov 18, 2024
@maurafortino maurafortino self-assigned this Nov 18, 2024
@maurafortino maurafortino marked this pull request as draft November 18, 2024 16:54
chrysom/basicClient.go Outdated Show resolved Hide resolved
service.go Outdated Show resolved Hide resolved
acquire/acquire.go Outdated Show resolved Hide resolved
acquire/acquire.go Outdated Show resolved Hide resolved
Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

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

Great job! I left a couple of requests 🙂

acquire/acquire.go Outdated Show resolved Hide resolved
Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

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

Left some followup notes

@maurafortino
Copy link
Contributor Author

@denopink there is one test failing in listenerClient_test.go.
do you want to merge this PR and create a new PR for fixing the test in that file? Or good to fix in same PR?

@denopink
Copy link
Contributor

@maurafortino let's fix all failing tests that are related to this code change 🙂

@@ -210,7 +200,10 @@ func (c *BasicClient) sendRequest(ctx context.Context, owner, method, url string
if err != nil {
return response{}, fmt.Errorf(errWrappedFmt, errNewRequestFailure, err.Error())
}
err = acquire.AddAuth(r, c.auth)
if c.auth == nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this fixes the failing test in listenerClient_test

@maurafortino maurafortino marked this pull request as ready for review November 21, 2024 18:37
Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

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

lgtm! 🍻

@denopink denopink merged commit 3980858 into feat/webhook-update Nov 21, 2024
14 checks passed
@denopink denopink deleted the acquire branch November 21, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion Further discussion is needed to move forward
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants