Skip to content

Commit dcaabe7

Browse files
okulikovokulikov
okulikov
authored andcommitted
MODE-2613: Modeshape persistence test module
1 parent 4796113 commit dcaabe7

File tree

23 files changed

+6479
-241
lines changed

23 files changed

+6479
-241
lines changed

Diff for: connectors/modeshape-connector-jdbc-metadata/src/test/resources/config/repo-config-jdbc-meta-federation.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"jdbc-meta" : {
99
"classname" : "org.modeshape.connector.meta.jdbc.JdbcMetadataConnector",
1010
"dataSourceJndiName" : "java:/testDS",
11-
"maximumConnectionsInPool" : "${dataSource.maximumConnectionsInPool}",
12-
"minimumConnectionsInPool" : "${dataSource.minimumConnectionsInPool}",
13-
"maximumConnectionIdleTimeInSeconds" : "${dataSource.maximumConnectionIdleTimeInSeconds}",
14-
"maximumSizeOfStatementCache" : "${dataSource.maximumSizeOfStatementCache}",
15-
"numberOfConnectionsToAcquireAsNeeded" : "${dataSource.numberOfConnectionsToAcquireAsNeeded}",
16-
"retryLimit" : "${dataSource.retryLimit}"
11+
"maximumConnectionsInPool" : "${database.maximumConnectionsInPool}",
12+
"minimumConnectionsInPool" : "${database.minimumConnectionsInPool}",
13+
"maximumConnectionIdleTimeInSeconds" : "${database.maximumConnectionIdleTimeInSeconds}",
14+
"maximumSizeOfStatementCache" : "${database.maximumSizeOfStatementCache}",
15+
"numberOfConnectionsToAcquireAsNeeded" : "${database.numberOfConnectionsToAcquireAsNeeded}",
16+
"retryLimit" : "${database.retryLimit}"
1717
}
1818
}
1919
}
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Property file which will be filtered based on the properties from the db profiles (main pom)
22
database = ${database}
33

4-
driverClassName=${dataSource.driverClassName}
5-
url=${dataSource.url}
6-
username=${dataSource.username}
7-
password=${dataSource.password}
4+
driverClassName=${database.driver}
5+
url=${database.url}
6+
username=${database.username}
7+
password=${database.password}
88

9-
maximumConnectionsInPool = ${dataSource.maximumConnectionsInPool}
10-
minimumConnectionsInPool = ${dataSource.minimumConnectionsInPool}
11-
maximumSizeOfStatementCache = ${dataSource.maximumSizeOfStatementCache}
12-
maximumConnectionIdleTimeInSeconds = ${dataSource.maximumConnectionIdleTimeInSeconds}
13-
numberOfConnectionsToAcquireAsNeeded = ${dataSource.numberOfConnectionsToAcquireAsNeeded}
14-
retryLimit = ${dataSource.retryLimit}
9+
maximumConnectionsInPool = ${database.maximumConnectionsInPool}
10+
minimumConnectionsInPool = ${database.minimumConnectionsInPool}
11+
maximumSizeOfStatementCache = ${database.maximumSizeOfStatementCache}
12+
maximumConnectionIdleTimeInSeconds = ${database.maximumConnectionIdleTimeInSeconds}
13+
numberOfConnectionsToAcquireAsNeeded = ${database.numberOfConnectionsToAcquireAsNeeded}
14+
retryLimit = ${database.retryLimit}

Diff for: modeshape-jcr/src/test/resources/config/db/repo-config-jdbc.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"storage" : {
44
"persistence" : {
55
"type" : "db",
6-
"connectionUrl": "${dataSource.url}",
7-
"driver": "${dataSource.driverClassName}",
8-
"username": "${dataSource.username}",
9-
"password": "${dataSource.password}",
6+
"connectionUrl": "${database.url}",
7+
"driver": "${database.driver}",
8+
"username": "${database.username}",
9+
"password": "${database.password}",
1010
"createOnStart": true,
1111
"dropOnExit": false
1212
},
1313
"binaryStorage" : {
1414
"type" : "database",
15-
"driverClass" : "${dataSource.driverClassName}",
16-
"url" : "${dataSource.url}",
17-
"username" : "${dataSource.username}",
18-
"password" : "${dataSource.password}"
15+
"driverClass" : "${database.driver}",
16+
"url" : "${database.url}",
17+
"username" : "${database.username}",
18+
"password" : "${database.password}"
1919
}
2020
},
2121
"workspaces" : {

0 commit comments

Comments
 (0)