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

feat: support non-command for web create Push API #1289

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

hvn2k1
Copy link

@hvn2k1 hvn2k1 commented Oct 21, 2024

Related to issue: #904

  • Support non-command input for web create Push API
  • Return Push object after create Push

@hvn2k1 hvn2k1 marked this pull request as ready for review October 21, 2024 02:45
pkg/push/api/api.go Outdated Show resolved Hide resolved
proto/push/service.proto Outdated Show resolved Hide resolved
@hvn2k1 hvn2k1 requested a review from cre8ivejp October 21, 2024 03:38
@hvn2k1 hvn2k1 self-assigned this Oct 21, 2024
pkg/push/api/api.go Show resolved Hide resolved
pkg/push/api/api.go Show resolved Hide resolved
pkg/push/api/api_test.go Outdated Show resolved Hide resolved
pkg/push/api/api.go Show resolved Hide resolved
pkg/push/api/api.go Outdated Show resolved Hide resolved
pkg/push/api/api.go Outdated Show resolved Hide resolved
…account from response

- Rename the no-command related functions
- Add name to error log for better debugging
- Remove Service account from response for security
@hvn2k1 hvn2k1 requested a review from cre8ivejp October 21, 2024 09:02
@cre8ivejp
Copy link
Member

@hvn2k1, can you add an e2e test when not using command?
You can use the current test as a reference
https://github.com/bucketeer-io/bucketeer/blob/main/test/e2e/push/push_test.go#L67-L108

@hvn2k1
Copy link
Author

hvn2k1 commented Oct 23, 2024

Yes let me implement e2e test without command!

@hvn2k1
Copy link
Author

hvn2k1 commented Oct 23, 2024

@hvn2k1, can you add an e2e test when not using command? You can use the current test as a reference https://github.com/bucketeer-io/bucketeer/blob/main/test/e2e/push/push_test.go#L67-L108

@cre8ivejp I have added e2e test for create push no command

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