Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Prerequisite

  • Install Java 17.

  • Ensure your Zephyr and Rabbit MQ application is set up and running, For RabbitMq Setup follow the instructions on the following page.
    [By launching the application in the browser:

  • Launch RabbitMq Management in the browser with the host and port (Ex: http://localhost:15672).

AuditService Service Deployment(Jar)

  • Download the ze-audit-service.jar

  • Create a ze-audit-service.jar config file Named “zeAuditService.properties"

  • Add the below line in the file zeAuditService.properties.

server.port=8082
zephyr.queue.name=ze_audit_queue
zephyr.queue.exchange=ze_audit_exchange
zephyr.queue.routing.key=ze_audit_routing_key

# hostname should point to continer name if in case you are running webhook on docker
spring.rabbitmq.host=<rabbitmq_hostname>
spring.rabbitmq.port=<rabbitmq_port>
spring.rabbitmq.username=<rabbitmq_username>
spring.rabbitmq.password=<rabbitmq_password>

An example of zeAuditService.properties should look like the below:

server.port=8082

#Rabbitmq config
zephyr.queue.name=ze_audit_queue
zephyr.queue.exchange=ze_audit_exchange
zephyr.queue.routing.key=ze_audit_routing_key

spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest

Start the AuditService with the following command.

sudo java -jar -DzeAuditConfigPath="<config file path till root folder>" ze-audit-service.jar

Example command:

java -jar -DzeAuditConfigPath="/home/ubuntu/Foldername" ze-audit-service.jar

The audit started snapshot for reference: -

b5d54918-17b2-45e3-b071-71e684f539bd.png

Note: -

  • The Logs folder will be created where your jars are deployed. Separate log files will be created for each jar.

  • No labels