Skip to content

Commit 56d3afc

Browse files
committed
Update paths of legacy docker files
1 parent e305a97 commit 56d3afc

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build/
55
out/
66
.gradle/
77
docker/users
8-
docker/source-fitbit.properties
8+
docker/legacy/source-fitbit.properties
99
docker/source-oura.properties
1010
bin/
11-
.DS_Store
11+
.DS_Store

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ services:
149149
image: radarbase/radar-connect-fitbit-source
150150
restart: on-failure
151151
volumes:
152-
- ./docker/source-fitbit.properties:/etc/kafka-connect/source-fitbit.properties
152+
- ./docker/legacy/source-fitbit.properties:/etc/kafka-connect/source-fitbit.properties
153153
- ./docker/users:/var/lib/kafka-connect-fitbit-source/users
154154
- fitbit-logs:/var/lib/kafka-connect-fitbit-source/logs
155155
depends_on:
File renamed without changes.

kafka-connect-fitbit-source/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ COPY --from=builder /code/kafka-connect-rest-source/build/libs/*.jar ${CONNECT_P
5151
COPY --from=builder /code/kafka-connect-fitbit-source/build/libs/*.jar ${CONNECT_PLUGIN_PATH}/kafka-connect-fitbit-source/
5252

5353
# Overwrite the log4j configuration to include Sentry monitoring.
54-
COPY ./docker/log4j.properties.template /opt/kafka/custom-config/log4j.properties
54+
# TODO uncomment after new log4j2 properties file is added.
55+
# COPY ./docker/log4j2.properties /opt/kafka/custom-config/log4j.properties
5556
# Copy Sentry monitoring jars.
5657
COPY --from=builder /code/kafka-connect-fitbit-source/build/third-party/sentry-* /opt/kafka/libs/
5758

kafka-connect-fitbit-source/Dockerfile-legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ COPY --chown=appuser:appuser ./docker/legacy/ensure /etc/confluent/docker/ensur
5858
COPY --chown=appuser:appuser ./docker/legacy/launch /etc/confluent/docker/launch
5959

6060
# Overwrite the log4j configuration to include Sentry monitoring.
61-
COPY ./docker/log4j.properties.template /etc/confluent/docker/log4j.properties.template
61+
COPY ./docker/legacy/log4j.properties.template /etc/confluent/docker/log4j.properties.template
6262
# Copy Sentry monitoring jars.
6363
COPY --from=builder /code/kafka-connect-fitbit-source/build/third-party/sentry-* /etc/kafka-connect/jars

kafka-connect-oura-source/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,11 @@ COPY --from=builder /code/kafka-connect-oura-source/build/libs/*.jar ${CONNECT_P
5151
COPY --from=builder /code/oura-library/build/libs/*.jar ${CONNECT_PLUGIN_PATH}/kafka-connect-oura-source/
5252

5353
# Load topics validator
54-
COPY --chown=appuser:appuser ./docker/ensure /etc/confluent/docker/ensure
54+
COPY --chown=appuser:appuser ./docker/legacy/ensure /etc/confluent/docker/ensure
5555

5656
# Load modified launcher
57-
COPY --chown=appuser:appuser ./docker/launch /etc/confluent/docker/launch
57+
COPY --chown=appuser:appuser ./docker/legacy/launch /etc/confluent/docker/launch
5858

59-
# Overwrite the log4j configuration to include Sentry monitoring.
60-
COPY ./docker/log4j.properties.template /etc/confluent/docker/log4j.properties.template
61-
# Copy Sentry monitoring jars.
59+
# Copy Sentry monitoring jars. Sentry monitoring needs to be included in helm chart log4j ConfigMap.
6260
COPY --from=builder /code/kafka-connect-oura-source/build/third-party/sentry-* /etc/kafka-connect/jars
6361

0 commit comments

Comments
 (0)