Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Emergency-Response-Demo/incident-service
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: summit
Choose a base ref
...
head repository: Emergency-Response-Demo/incident-service
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
7 changes: 7 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM registry.redhat.io/openjdk/openjdk-8-rhel8:1.0

ENV JAVA_APP_DIR=/deployments

EXPOSE 8080 8443

COPY target/incident-service-1.1.0-SNAPSHOT.jar /deployments/
9 changes: 7 additions & 2 deletions etc/application.properties
Original file line number Diff line number Diff line change
@@ -6,10 +6,15 @@ kafka.bootstrap-address=localhost:9092
kafka.group-id=incident-service
kafka.concurrency=1

sender.destination.incident-reported-event=topic-incident-event
sender.destination.incident-reported-event={{ kafka_incident_reported_event_topic }}
sender.destination.incident-updated-event={{ kafka_incident_updated_event_topic }}
listener.destination.update-incident-command=topic-incident-command

narayana.dbcp.maxTotal=20

logging.config=file:/app/logging/logback.xml
logging.level.com.redhat.cajun.navy.incident=DEBUG
logging.level.org.apache.kafka.clients=WARN
logging.level.org.hibernate.orm.deprecation=ERROR

narayana.dbcp.maxTotal=20
management.metrics.web.server.auto-time-requests=true
Loading