From d4336f90760e200c0d1fe5f86ae89e447fa0abbd Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 5 May 2023 14:18:39 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E9=85=8D=E7=BD=AE=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=86=85=E7=BD=AE=E4=B8=AD=E9=97=B4=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/bootstrap.properties | 6 +++++- .../src/test/resources/application.properties | 5 ++++- .../system-setting/src/test/resources/bootstrap.properties | 6 +++++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/backend/services/project-management/src/test/resources/application.properties b/backend/services/project-management/src/test/resources/application.properties index 14120a7a41..0f65ecb2f4 100644 --- a/backend/services/project-management/src/test/resources/application.properties +++ b/backend/services/project-management/src/test/resources/application.properties @@ -28,7 +28,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1 # # spring.kafka -spring.kafka.bootstrap-servers=${kafka.bootstrap-servers} +spring.kafka.bootstrap-servers=${embedded.kafka.brokerList} spring.kafka.consumer.group-id=metersphere_group_id spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid} spring.kafka.listener.missing-topics-fatal=false @@ -74,3 +74,6 @@ spring.session.redis.repository-type=indexed spring.freemarker.check-template-location=false spring.groovy.template.check-template-location=false # +minio.endpoint=http://${embedded.minio.host}:${embedded.minio.port} +minio.access-key=${embedded.minio.accessKey} +minio.secret-key=${embedded.minio.secretKey} \ No newline at end of file diff --git a/backend/services/project-management/src/test/resources/bootstrap.properties b/backend/services/project-management/src/test/resources/bootstrap.properties index 38cc3b010b..4517589df2 100644 --- a/backend/services/project-management/src/test/resources/bootstrap.properties +++ b/backend/services/project-management/src/test/resources/bootstrap.properties @@ -6,4 +6,8 @@ embedded.mysql.enabled=true embedded.mysql.encoding=utf8mb4 embedded.mysql.collation=utf8mb4_general_ci # redis -embedded.redis.enabled=true \ No newline at end of file +embedded.redis.enabled=true +# kafka +embedded.kafka.enabled=false +# minio +embedded.minio.enabled=false \ No newline at end of file diff --git a/backend/services/system-setting/src/test/resources/application.properties b/backend/services/system-setting/src/test/resources/application.properties index 14120a7a41..0f65ecb2f4 100644 --- a/backend/services/system-setting/src/test/resources/application.properties +++ b/backend/services/system-setting/src/test/resources/application.properties @@ -28,7 +28,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1 # # spring.kafka -spring.kafka.bootstrap-servers=${kafka.bootstrap-servers} +spring.kafka.bootstrap-servers=${embedded.kafka.brokerList} spring.kafka.consumer.group-id=metersphere_group_id spring.kafka.consumer.debug.group-id=metersphere_group_id_${random.uuid} spring.kafka.listener.missing-topics-fatal=false @@ -74,3 +74,6 @@ spring.session.redis.repository-type=indexed spring.freemarker.check-template-location=false spring.groovy.template.check-template-location=false # +minio.endpoint=http://${embedded.minio.host}:${embedded.minio.port} +minio.access-key=${embedded.minio.accessKey} +minio.secret-key=${embedded.minio.secretKey} \ No newline at end of file diff --git a/backend/services/system-setting/src/test/resources/bootstrap.properties b/backend/services/system-setting/src/test/resources/bootstrap.properties index 38cc3b010b..4517589df2 100644 --- a/backend/services/system-setting/src/test/resources/bootstrap.properties +++ b/backend/services/system-setting/src/test/resources/bootstrap.properties @@ -6,4 +6,8 @@ embedded.mysql.enabled=true embedded.mysql.encoding=utf8mb4 embedded.mysql.collation=utf8mb4_general_ci # redis -embedded.redis.enabled=true \ No newline at end of file +embedded.redis.enabled=true +# kafka +embedded.kafka.enabled=false +# minio +embedded.minio.enabled=false \ No newline at end of file