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(webhook): WebHook Listener Microservice & Receiver Setup #16

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

TurkerKoc
Copy link
Contributor

@TurkerKoc TurkerKoc commented Nov 11, 2024

Description

  • Webhook-listener microservice initialization and first implementation.
  • We've inspired from Hepheastus' webhook-inject' implementation.
  • Right now our webhook listener is only working for events happening on issues.
  • We will expand this implemention and implement all required events.

Testing Instructions

In separete terminals

Run PostgreSQL

cd server/application-server
docker-compose up

Run webhook listener (look at the README)

cp .env.example .env
# update value in .env => WEBHOOK_SECRET=<secret>
docker-compose --env-file ./.env up --build

Run application-server (look at the README)

cd server/application-server
java —version //should return java 22
cp .env.example .env
# update value in .env => REPOSITORY_NAME=<githubName/repoName>
./gradlew bootRun

Screenshots

image

Checklist

General

Server

  • Code is performant and follows best practices
  • I documented the Java code using JavaDoc style.

Client

  • I documented the TypeScript code using JSDoc style.
  • I added multiple screenshots/screencasts of my UI changes.
  • I translated all newly inserted strings into English and German.

@TurkerKoc TurkerKoc linked an issue Nov 11, 2024 that may be closed by this pull request
@TurkerKoc TurkerKoc changed the title chore(server):WebHook Listener Service chore(webhook):WebHook Listener Service Nov 11, 2024
@TurkerKoc TurkerKoc changed the title chore(webhook):WebHook Listener Service chore(webhook): WebHook Listener Service Nov 11, 2024
@github-actions github-actions bot added size:XXL and removed size:XL labels Nov 11, 2024
@egekocabas egekocabas changed the title chore(webhook): WebHook Listener Service feat(webhook): WebHook Listener Microservice & Receiver Setup Nov 12, 2024
@TurkerKoc TurkerKoc marked this pull request as ready for review November 12, 2024 00:17
@TurkerKoc TurkerKoc requested a review from a team as a code owner November 12, 2024 00:17
@TurkerKoc TurkerKoc merged commit 51f93d7 into main Nov 12, 2024
6 checks passed
@TurkerKoc TurkerKoc deleted the 15-setup-webhook-listener branch November 12, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup Webhook Listener
2 participants