Go to file
Vishal Raut 9df5b52816 Added Contributing Guide 2026-03-26 21:55:29 +05:30
.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
licenses Updated license files 2026-03-23 21:45:43 +05:30
owasp-reports SCRUM-4001: Updated SonarQube and OWASP reports 2026-03-13 16:42:08 +05:30
runConfigurations feat(SCRUM-2126): add uat run configuration 2025-09-27 17:21:50 +02:00
sonar-reports SCRUM-4001: Updated SonarQube and OWASP reports 2026-03-13 16:42:08 +05:30
wp2-be-audit-bs-client SCRUM-4001: Fixed SonarQube issues 2026-03-09 22:12:15 +05:30
wp2-be-audit-bs-server fix(SCRUM-3641): Fixed to correctly refresh token 2026-03-19 19:00:37 +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-3479: Added event consumer to create audit logs for metadata service 2026-02-06 18:42:09 +05:30
CODE_OF_CONDUCT_HORTUS.md Added SECURITY and CODE_OF_CONDUCT files 2026-03-17 15:04:25 +05:30
CONTRIBUTING_HORTUS.md Added Contributing Guide 2026-03-26 21:55:29 +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 Enabled single active consumer 2026-02-24 13:50:38 +05:30
SECURITY_HORTUS.md Added SECURITY and CODE_OF_CONDUCT files 2026-03-17 15:04:25 +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 chore: bump snapshot to 1.13.0-SNAPSHOT 2026-03-21 06:26:28 +00:00

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
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-favourite-user-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-favourite-user-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-zenodo-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-zenodo-event-dlq --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-metadata-event --vhost itserr_vhost --partitions 3
docker exec rabbitmq rabbitmq-streams add_super_stream itserr-stream-metadata-event-dlq --vhost itserr_vhost --partitions 3