-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsample.properties
44 lines (39 loc) · 1.97 KB
/
sample.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
### Do not modify this file. If you want to change anything, copy this file to one
### named local.properties, which git is configured to ignore:
###
### grep -v '###' sample.properties | sed 's/SECRET_PASSWORD/'`openssl rand -base64 18 | tr -d +/`'/g' > local.properties
###
### For security, the above copy command will also generate secure passwords.
# Embedded database to use by default
database.url=jdbc:hsqldb:file:target/hsqldb;shutdown=true
database.user=SA
database.password=
# Used by tests with naming convention *HsqldbTest.java
# mvn -Phsqldb verify
hsqldb.database.url=jdbc:hsqldb:file:target/hsqldb;shutdown=true
hsqldb.database.user=SA
hsqldb.database.password=
# Used by tests with naming convention *PostgreSqlTest.java
# docker run -d --name goodies-pg96-db -v goodies-pg96-data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=SECRET_PASSWORD -p 5432:5432/tcp postgres:9.6
# mvn -Ppostgresql verify
# docker rm -f goodies-pg96-db
postgres.database.url=jdbc:postgresql://localhost/postgres
postgres.database.user=postgres
postgres.database.password=SECRET_PASSWORD
# Used by tests with naming convention *SqlServerTest.java
# Example using Microsoft's Docker image of SQL Server running on Ubuntu.
# You must adjust the default memory settings.
# https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-docker
# docker run --name goodies-ms-db -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=SECRET_PASSWORD' -e TZ=PST -p 1433:1433 -d microsoft/mssql-server-linux
# mvn -Psqlserver verify
# docker rm -f goodies-ms-db
sqlserver.database.url=jdbc:sqlserver://localhost:1433
sqlserver.database.user=SA
sqlserver.database.password=SECRET_PASSWORD
# Used by tests with naming convention *OracleTest.java
# docker run -d -it --name goodies-ora122-db -v goodies-ora122-data:/ORCL container-registry.oracle.com/database/enterprise:12.2.0.1
# mvn -Poracle verify
# mvn -Poracle12 verify
oracle.database.url=jdbc:oracle:thin:@localhost:1521:ORCL
oracle.database.user=scott
oracle.database.password=tiger