Go to file
Vishal Raut aa46b3cbb5 Merge pull request 'SCRUM-2729: Added support for OWASP SAST Tools' (#8) from feature/SCRUM-2729 into develop
Reviewed-on: #8
2025-11-14 12:27:02 +01:00
.mvn/wrapper SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
.sonarlint SCRUM-2729: Added support for OWASP SAST Tools 2025-11-12 17:12:02 +05:30
runConfigurations feat(SCRUM-2126): add uat run configuration 2025-09-27 17:21:50 +02:00
wp2-be-audit-bs-client bump to version 1.0.1 2025-10-16 10:17:33 +02:00
wp2-be-audit-bs-server SCRUM-2729: Added support for OWASP SAST Tools 2025-11-12 17:12:02 +05:30
.gitattributes SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
.gitignore SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
CHANGELOG.md SCRUM-2729: Added support for OWASP SAST Tools 2025-11-12 17:12:02 +05:30
Dockerfile feat(SCRUM-2724): Replacing openjdk:21-jdk-slim docker image with eclipse-temurin:21-jre-jammy 2025-11-04 17:05:10 +01:00
README.md SCRUM-2283: Added discussion, institutional-page, news, user-profile services 2025-10-16 16:31:50 +05:30
lombok.config SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
mvnw SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
mvnw.cmd SCRUM-1099: Added event message subscribers to create audit logs for catalog, event and workspace bs services 2025-08-29 13:18:45 +05:30
pom.xml SCRUM-2729: Updated audit dm client version 2025-11-14 16:56:14 +05:30

README.md

Audit Business Service

Audit Business Service is a Spring Boot application built with Maven, providing ingest operations for all audit related events by consuming the same from all the relevant event streams.

Features

  • Audit Log
    • Create by processing events
    • Supported Streams
      • Catalog BS
      • Event BS

Getting Started

Requirements

For building and running the application you need:

  • GIT 2.48.1 +
  • JDK 21 +

Clone the repository

git clone  https://code-repo.d4science.org/Resilience/wp2-be-audit-bs.git
cd wp2-be-audit-bs

Build the project

./mvnw clean install

Run the application

java -jar wp2-be-audit-bs-server/target/<jar-file>

Access the API

  • Base URL: http://localhost:8080/api/v1/bs
  • Swagger UI URL: http://localhost:8080/api/v1/bs/swagger-ui/index.html

Development

Please review this wiki page and follow the guidelines mentioned - Code Management Workflow and Standards

Related RabbitMQ Streams

The following commands can be used to create super streams for catalog message

docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-catalog-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-catalog-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-discussion-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-discussion-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-event-notification --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-event-notification-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-institutional-page-notification --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-institutional-page-notification-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-news-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-news-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-user-profile-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-user-profile-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-workspace-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-workspace-event-dlq --vhost itserr_vhost --partitions 3