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

VeryNiceOrg/anomaly-detector-java

Open more actions menu

Repository files navigation

Anomaly Detector

Overview

A Java Spring Boot application for detecting anomalies from GitHub Webhook events.

Run The Application

Using Docker

  1. Build the Docker image:
docker build -t anomaly-detector .
  1. Run the Docker container:
docker run -p 8080:8080 anomaly-detector

Connecting GitHub Webhooks

  1. Run ngrok to expose your local container to the internet:
ngrok http 127.0.0.1:8080
  1. Copy the public ngrok URL and add it in GitHub → Settings → Webhooks → Add webhook. Make sure to append /webhook to the URL, for example https://your-ngrok-id.ngrok.io/webhook

  2. Set the Content type to application/json.

  3. Select individual events or choose "Send me everything" based on your requirements.

  4. Click "Add webhook" to save.

Your application should now receive GitHub events and detect anomalies.

Optional:

Using the Provided Docker Image

Instead of building the image yourself, you can use the included anomaly-detector.tar file.
Load it into Docker with:

docker load -i anomaly-detector.tar

Then run the container as usual:

docker run -p 8080:8080 anomaly-detector:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

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