-
Notifications
You must be signed in to change notification settings - Fork 0
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
Github webhooks #26
Github webhooks #26
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #26 +/- ##
============================================
+ Coverage 53.00% 60.81% +7.81%
- Complexity 48 59 +11
============================================
Files 20 24 +4
Lines 200 245 +45
Branches 6 7 +1
============================================
+ Hits 106 149 +43
- Misses 91 92 +1
- Partials 3 4 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hizmailovich take a look, please
src/main/java/git/tracehub/pmo/platforms/github/webhook/CreateWebhook.java
Outdated
Show resolved
Hide resolved
src/test/java/git/tracehub/pmo/platforms/github/webhook/WebhookTest.java
Outdated
Show resolved
Hide resolved
src/test/java/git/tracehub/pmo/platforms/github/webhook/CreateWebhookTest.java
Outdated
Show resolved
Hide resolved
src/test/java/git/tracehub/pmo/platforms/github/webhook/WebhooksTest.java
Outdated
Show resolved
Hide resolved
# Conflicts: # src/main/java/git/tracehub/pmo/controller/ProjectController.java
# Conflicts: # src/main/java/git/tracehub/pmo/controller/ProjectController.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hizmailovich take a look, please
).exec(); | ||
new CreateWebhook( | ||
this.host, | ||
token, | ||
location, | ||
"url" | ||
"url", | ||
new ListOf<>("push") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use also labeled
and opened
for issues
src/main/java/git/tracehub/pmo/platforms/github/webhook/Webhook.java
Outdated
Show resolved
Hide resolved
src/main/java/git/tracehub/pmo/platforms/github/webhook/Webhook.java
Outdated
Show resolved
Hide resolved
src/main/java/git/tracehub/pmo/platforms/github/webhook/Webhook.java
Outdated
Show resolved
Hide resolved
@rultor merge |
@h1alexbel take a look, please
Closes #10
PR-Codex overview
Detailed summary
platforms
section toapplication-web.yaml
andapplication-pgit.yaml
files.github
platform toapplication.yaml
file.javax.json-api
andgson
inpom.xml
.git.tracehub.pmo.platforms.github.webhook
andgit.tracehub.pmo.security.IpdTokenTest
packages.ProjectController
to create a webhook for Github projects.Webhooks
andExistsWebhook
classes.Webhook
class to represent webhook content.