Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Starting October 11, 2024 (Zephyr Enterprise 8.2), the Zephyr Enterprise documentation moved from its current location on Atlassian to a dedicated, standalone Zephyr Enterprise documentation page. Please see: https://support.smartbear.com/zephyr-enterprise/docs/en/zephyr-enterprise/zephyr-installation-and-upgrade-guides/zephyr-on-premise-production-installation/zephyr-enterprise-services/ze-auditprocessor-deployment.html |
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
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:
[RabbitMQ Setup follow the instructions on the following page: https://smartbear.atlassian.net/wiki/spaces/PD/pages/3852992664/RabbitMQ+-+Deployment+Ubuntu
By launching the application in the browser:Launch Zephyr with your respective host/domain. Ex: https://test.yourzephyr.com
Launch RabbitMq with the host and configured port. Ex: http://localhost:15672]
Launch RabbitMq Management in the browser with the host and port (Ex: http://localhost:15672).
...
Code Block |
---|
# Data source configurations applied for oracle --- spring.config.activate.on-profile=oracle spring.datasource.url=jdbc:oracle:thin:@<hostname>:<port>:orcl spring.datasource.username=<datbase_username> spring.datasource.password=<database_password> spring.datasource.driver-class-name=oracle.jdbc.OracleDriver.OracleDriver spring.jpa.properties.hibernate.default_schema=itcc spring.jpa.hibernate.ddl-auto=none spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.OracleDialect --- spring.jpa.properties.hibernate.default_schema=itccprofiles.active=oracle # For oauth2 spring.jpa.hibernate.ddlnaming.implicit-auto=nonestrategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl spring.jpa.propertieshibernate.hibernatenaming.dialectphysical-strategy=org.hibernate.dialect.Oracle12cDialect --- spring.profiles.active=oracleboot.model.naming.PhysicalNamingStrategyStandardImpl |
Your sample zeAuditProcessor.properties
should look like below:
...
Code Block |
---|
server.port=8084 #RabbitMq zephyr.queue.name=ze_queue zephyr.queue.exchange=ze_exchange zephyr.queue.routing.key=ze_routing_key spring.rabbitmq.host=localhost spring.rabbitmq.port=5672 spring.rabbitmq.username=test spring.rabbitmq.password=test spring.devtools.restart.enabled=false #Data source configurations applied for oracle --- spring.config.activate.on-profile=oracle spring.datasource.username=admin spring.datasource.password=password spring.datasource.url=jdbc:oracle:thin:@//ze-oracle19c.c4n7zxvdu2ao.ap-southeast-1.rds.amazonaws.com:1521:orcl spring.datasource.driver-class-name=oracle.jdbc.OracleDriver spring.jpa.properties.hibernate.default_schema=itccschema=itcc spring.jpa.hibernate.ddl-auto=none spring.jpa.properties.hibernate.dialect=com.thed.orm.Oracle10gCustomDialect --- spring.profiles.active=oracle # For oauth2 spring.jpa.hibernate.naming.ddlimplicit-auto=nonestrategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl spring.jpa.propertieshibernate.hibernatenaming.dialectphysical-strategy=comorg.thedhibernate.orm.Oracle10gCustomDialect --- spring.profiles.active=oracle boot.model.naming.PhysicalNamingStrategyStandardImpl |
Start the AuditProcessor with the following command:
...
Download the Docker compose and copy it under
zephyrservice
View file name docker-compose.yaml
Code Block | ||
---|---|---|
| ||
#dockercompose version: '3.5' services: #AuditProcessor ze-audit-processor: image: zephyrdevbotsmartbear/zedevserviceszeauditprocessor:ze-audit-processor container_name: ze-audit-processor ports: - "8084:8084" environment: - server_port=8084 volumes: - ./propertiesFile/zeAuditProcessor.properties:/usr/src/app/zeAuditProcessor.properties # extra_hosts: # - "host.docker.internal:host-gateway" networks: - audit_processor networks: audit_processor: name: webhook_service external: true |
...
Code Block |
---|
# Data source configurations applied for oracle --- spring.config.activate.on-profile=oracle spring.datasource.url=jdbc:oracle:thin:@<hostname>:<port>:orcl spring.datasource.username=<datbase_username> spring.datasource.password=<database_password> spring.datasource.driver-class-name=oracle.jdbc.OracleDriver spring.jpa.properties.hibernate.default_schema=itcc spring.jpa.hibernate.ddl-auto=none spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.Oracle12cDialectOracleDialect --- spring.profiles.active=oracle=oracle # For oauth2 spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
Your sample zeAuditProcessor.properties
should look like below:
...
Code Block |
---|
server.port=8084
#RabbitMq
zephyr.queue.name=ze_queue
zephyr.queue.exchange=ze_exchange
zephyr.queue.routing.key=ze_routing_key
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=test
spring.rabbitmq.password=test
spring.devtools.restart.enabled=false
#Data source configurations applied for oracle
---
spring.config.activate.on-profile=oracle
spring.datasource.username=admin
spring.datasource.password=password
spring.datasource.url=jdbc:oracle:thin:@//ze-oracle19c.c4n7zxvdu2ao.ap-southeast-1.rds.amazonaws.com:1521:orcl
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.jpa.properties.hibernate.default_schema=itcc
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect=com.thed.orm.Oracle10gCustomDialect
---
spring.profiles.active=oracle
# For oauth2
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
Info |
---|
|
...