mirror of https://github.com/hykilpikonna/AquaDX
[U] Update testing properties
parent
df9ab3250c
commit
101527d3e1
|
@ -1,22 +0,0 @@
|
|||
# For testing
|
||||
## AimeDb server setting
|
||||
aimedb.server.enable=true
|
||||
aimedb.server.port=22345
|
||||
allnet.server.host=localhost
|
||||
allnet.server.port=80
|
||||
aimedb.server.address=127.0.0.1
|
||||
billing.server.enable=true
|
||||
billing.server.port=8443
|
||||
## Http Server Port
|
||||
server.port=80
|
||||
spring.flyway.clean-disabled=false
|
||||
spring.flyway.locations=classpath:db/migration/mariadb
|
||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
spring.datasource.username=aqua_test
|
||||
spring.datasource.password=aqua_test
|
||||
spring.datasource.url=jdbc:mariadb://localhost:3306/aqua_test?useSSL=false
|
||||
|
||||
# if you got any exception like while application booting:
|
||||
# "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [id] in table [chusan_avatar]; found [int (Types#INTEGER)], but expecting [bigint (Types#BIGINT)]"
|
||||
# just comment this property and try again.
|
||||
# spring.jpa.hibernate.ddl-auto=validate
|
|
@ -1,15 +0,0 @@
|
|||
# For testing
|
||||
## AimeDb server setting
|
||||
aimedb.server.enable=true
|
||||
aimedb.server.port=22345
|
||||
allnet.server.host=localhost
|
||||
allnet.server.port=80
|
||||
aimedb.server.address=127.0.0.1
|
||||
billing.server.enable=true
|
||||
billing.server.port=8443
|
||||
## Http Server Port
|
||||
server.port=80
|
||||
spring.flyway.clean-disabled=false
|
||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
spring.datasource.url=jdbc:sqlite:data/test.sqlite
|
||||
spring.flyway.locations=classpath:db/migration/sqlite
|
|
@ -1 +1,23 @@
|
|||
spring.profiles.active=testSqlite
|
||||
aqua-net.frontier.enabled=true
|
||||
aqua-net.frontier.ftk=test
|
||||
|
||||
# For testing
|
||||
## AimeDb server setting
|
||||
aimedb.server.enable=true
|
||||
aimedb.server.port=22345
|
||||
allnet.server.host=localhost
|
||||
allnet.server.port=80
|
||||
aimedb.server.address=127.0.0.1
|
||||
billing.server.enable=true
|
||||
billing.server.port=8443
|
||||
|
||||
## Http Server Port
|
||||
server.port=80
|
||||
spring.flyway.clean-disabled=false
|
||||
spring.flyway.locations=classpath:db/migration/mariadb
|
||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
spring.datasource.username=aqua_test
|
||||
spring.datasource.password=aqua_test
|
||||
spring.datasource.url=jdbc:mariadb://localhost:3306/aqua_test?useSSL=false
|
||||
|
||||
# spring.jpa.hibernate.ddl-auto=validate
|
||||
|
|
Loading…
Reference in New Issue