Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion spring/src/test/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
spring.datasource.url=jdbc:hsqldb:mem:test
#email.sender: Markus Malkusch <markus@malkusch.de>

#; 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
8 changes: 8 additions & 0 deletions terraform/notejam-tf/resource-database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}