Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
nfs4j
Commits
35f9983e
Commit
35f9983e
authored
Mar 02, 2011
by
Tigran Mkrtchyan
☕
Browse files
nfs: spring: init chimera db on startup
use liquibase changeset provided by chimera-0.0.10
parent
6ae32c59
Changes
3
Hide whitespace changes
Inline
Side-by-side
chimera.properties
View file @
35f9983e
#
# JDBC properties for Chimera
#
chimera.db.changeset
=
resources/chimera-db-changeset
.xml
chimera.db.changeset
=
classpath:org/dcache/chimera/changelog/changelog-master
.xml
chimera.db.driver
=
org.hsqldb.jdbcDriver
chimera.db.url
=
jdbc:hsqldb:mem:chimera
chimera.db.user
=
sa
...
...
oncrpcsvc.xml
View file @
35f9983e
...
...
@@ -47,7 +47,14 @@
<!--
FileSystem engine. Currently only Chimera is supported
-->
<bean
id=
"fileSystem"
class=
"org.dcache.chimera.JdbcFs"
>
<bean
id=
"liquibase"
class=
"liquibase.integration.spring.SpringLiquibase"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"changeLog"
value=
"${chimera.db.changeset}"
/>
<property
name=
"contexts"
value=
"production"
/>
</bean>
<bean
id=
"fileSystem"
class=
"org.dcache.chimera.JdbcFs"
depends-on=
"liquibase"
>
<description>
Chimera Filesystem
</description>
<constructor-arg
ref=
"dataSource"
/>
<constructor-arg
value=
"${chimera.db.dialect}"
/>
...
...
@@ -178,4 +185,5 @@
</map>
</property>
</bean>
</beans>
pom.xml
View file @
35f9983e
...
...
@@ -225,9 +225,9 @@
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
postgre
sql
</groupId>
<artifactId>
postgre
sql
</artifactId>
<version>
8.4-701.jdbc3
</version>
<groupId>
h
sql
db
</groupId>
<artifactId>
h
sql
db
</artifactId>
<version>
2.0.0
</version>
</dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
...
...
@@ -249,7 +249,11 @@
<artifactId>
guava
</artifactId>
<version>
r07
</version>
</dependency>
<dependency>
<groupId>
org.liquibase
</groupId>
<artifactId>
liquibase-core
</artifactId>
<version>
2.0.1
</version>
</dependency>
<!--
LOCAL JARS
-->
...
...
@@ -261,7 +265,7 @@
<dependency>
<groupId>
org.dcache.chimera
</groupId>
<artifactId>
chimera-core
</artifactId>
<version>
0.0.
9
</version>
<version>
0.0.
10-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
org.dcache.common
</groupId>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment