ZE-AuditProcessor Deployment

Prerequisite

AuditProcessor Deployment (Jar)

  • Create a directory under folder opt “zephyrservice”

mkdir zephyrservice
  • Download the ze-audit-processor.jar and copy it under zephyrservice

  • Create a ze-audit-processor config file Named “zeAuditProcessor.properties" under folder zephyrservice

vi zeAuditProcessor.properties
  • Add the below line in the file zeAuditProcessor.properties.

server.port=8084 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> spring.devtools.restart.enabled=false

Append the below database-specific properties based on the Zephyr database you are using.

MsSQL:

 

MySQL:

 

Oracle:

Your sample zeAuditProcessor.properties should look like below:

MySQL

MSSQL

Oracle

Start the AuditProcessor with the following command:

Example command:

AuditProcessor started snapshot for reference: -

4ee9d32b-f3b1-4e3a-8ab6-2f6f2edbfe6d.png
  • The Logs folder will be created where your jars are deployed. Separate log files will be created for each jar.

  • --- at the starting and ending of db configuration is necessary. Follow the same mentioned.

AuditProcessor Deployment (Docker)

  • Install Docker in the System

  • Create a directory under folder opt “zephyrservice”

  • Download the Docker compose and copy it under zephyrservice

  • Create a ze-audit-processor config file Named “zeAuditProcessor.properties" under folder zephyrservice

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

Append the below database-specific properties based on the Zephyr database you are using.

MySQL:

MsSQL:

Oracle:

Your sample zeAuditProcessor.properties should look like below:

MySQL

MSSQL

Oracle

  • Make sure port 8084 is available.

  • zeAuditProcessor should be able to connect with RabbitMQ.

  • zeAuditProcessor should be able to connect to the Database of Zephyr.

Start the ze-jira-webhook with docker with the following command:

  • Navigate to zephyrservice and run the below command:

Verification in the browser:

Verify webhook application status by using http://<hostname>:8084/actuator/health.