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