diff --git a/spring/src/test/resources/application-test.properties b/spring/src/test/resources/application-test.properties index ba26b60f9..091ced108 100644 --- a/spring/src/test/resources/application-test.properties +++ b/spring/src/test/resources/application-test.properties @@ -1 +1,23 @@ -spring.datasource.url=jdbc:hsqldb:mem:test +#email.sender: Markus Malkusch + +#; If you want to have mail transport, configure at least the property spring.mail.host, +#; otherwise mail transport is not available. +#; For further mail configuration see http://docs.spring.io/spring-boot/docs/current/api/index.html?org/springframework/boot/autoconfigure/mail/MailProperties.html +#; +spring.mail.host= smtp.example.net +email.sender=suresh.thomas@yahoo.com +spring.datasource.url=jdbc:hsqldb:file:db +spring.jpa.hibernate.ddl-auto=create-drop +async.queueCapacity= 1000 +#; ISO 8601 period until a recovery token expires. +recovery.lifetime= P1D +#; The length of the generated password. +recovery.length= 32 +#spring.jpa.show-sql=true +#spring.jpa.properties.hibernate.format_sql=true +#spring.datasource.initialization-mode=always +#logging.level.org.hibernate.SQL=DEBUG +#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE +#logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG +#logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE +#spring.jackson.default-property-inclusion=NON_NULL diff --git a/terraform/notejam-tf/resource-database.tf b/terraform/notejam-tf/resource-database.tf index 9e837fa9c..55b505c10 100644 --- a/terraform/notejam-tf/resource-database.tf +++ b/terraform/notejam-tf/resource-database.tf @@ -5,4 +5,12 @@ module "app-db" { db_resource_group_name = var.db_resource_group_name db_server_name = var.db_server_name depends_on = [module.app-datbase-server] +} + +module "test-db" { + source = "./azure_modules/database" + database_name = "testdbnotejam" + db_resource_group_name = var.db_resource_group_name + db_server_name = var.db_server_name + depends_on = [module.app-datbase-server] } \ No newline at end of file