From 9388af192dd2c120c5f51a321be6a9a5bfe1201b Mon Sep 17 00:00:00 2001 From: ChengJie1053 <18033291053@163.com> Date: Sat, 25 Nov 2023 23:28:34 +0800 Subject: [PATCH] Modify configuration --- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- .../server/src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/linkis-public-enhancements/linkis-configuration/src/test/resources/application.properties b/linkis-public-enhancements/linkis-configuration/src/test/resources/application.properties index 1dd49b9917..1cbe3a21d5 100644 --- a/linkis-public-enhancements/linkis-configuration/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-configuration/src/test/resources/application.properties @@ -36,7 +36,10 @@ wds.linkis.gateway.conf.publicservice.list=query,jobhistory,application,configur spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false spring.datasource.username=sa spring.datasource.password= #pgtest diff --git a/linkis-public-enhancements/linkis-context-service/linkis-cs-server/src/test/resources/application.properties b/linkis-public-enhancements/linkis-context-service/linkis-cs-server/src/test/resources/application.properties index 737087ebf0..757cc7b0c6 100644 --- a/linkis-public-enhancements/linkis-context-service/linkis-cs-server/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-context-service/linkis-cs-server/src/test/resources/application.properties @@ -35,7 +35,10 @@ spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_ #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; spring.datasource.username=sa spring.datasource.password= -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #spring.datasource.schema=classpath:create_pg.sql spring.main.web-application-type=servlet diff --git a/linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/test/resources/application.properties b/linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/test/resources/application.properties index 54525ee00b..2adc4e001b 100644 --- a/linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/test/resources/application.properties @@ -22,7 +22,10 @@ spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_ #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; spring.datasource.username=sa spring.datasource.password= -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #spring.datasource.schema=classpath:create_pg.sql diff --git a/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/test/resources/application.properties b/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/test/resources/application.properties index a91269b96b..6071e0acce 100644 --- a/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-datasource/linkis-metadata/src/test/resources/application.properties @@ -34,7 +34,10 @@ spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true spring.datasource.username=sa spring.datasource.password= -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #pgtest #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; #spring.datasource.schema=classpath:create_pg.sql diff --git a/linkis-public-enhancements/linkis-ps-common-lock/src/test/resources/application.properties b/linkis-public-enhancements/linkis-ps-common-lock/src/test/resources/application.properties index f7fa3b6aae..53488b6678 100644 --- a/linkis-public-enhancements/linkis-ps-common-lock/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-ps-common-lock/src/test/resources/application.properties @@ -32,7 +32,10 @@ wds.linkis.gateway.conf.publicservice.list=query,jobhistory,application,configur spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false spring.datasource.username=sa spring.datasource.password= #pgtest diff --git a/linkis-public-enhancements/linkis-udf/linkis-udf-service/src/test/resources/application.properties b/linkis-public-enhancements/linkis-udf/linkis-udf-service/src/test/resources/application.properties index 6a95e9a1e8..4a547a1b58 100644 --- a/linkis-public-enhancements/linkis-udf/linkis-udf-service/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-udf/linkis-udf-service/src/test/resources/application.properties @@ -33,7 +33,10 @@ wds.linkis.login_encrypt.enable=false spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; -spring.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #spring.datasource.schema=classpath:create_pg.sql spring.datasource.username=sa spring.datasource.password=