cuba-platform / cuba-gradle-plugin

Gradle plugin for building CUBA platform and applications
https://www.cuba-platform.com
Apache License 2.0
15 stars 18 forks source link

CreateDb/UpdateDb should support placeholders in a application properties file #137

Closed andreysubbotin closed 4 years ago

andreysubbotin commented 4 years ago

Environment

Description of the bug or enhancement

Database configuration in application properties:

cuba.dataSource.jdbcUrl=${JDBC_DATABASE_URL}
cuba.dataSource.username=${DATABASE_USERNAME}
cuba.dataSource.password=${DATABASE_PASSWORD}
cuba.dataSource.dbName=${DATABASE_DB_NAME}
cuba.dataSource.host=${DATABASE_HOST}
cuba.dataSource.port=${DATABASE_PORT}

Placeholder properties should be replaced with system/enviroment variables