Skip to content

Commit

Permalink
Removed dependency on the openxds.properties for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anil committed Jun 23, 2011
1 parent 6408e12 commit 503403f
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:openxds.properties</value>
<value>classpath:openxdsTest.properties</value>
</list>
</property>
</bean>
Expand Down
96 changes: 96 additions & 0 deletions openxds/repository/src/test/resources/openxdsTest.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@

#=====================================================
# Database configurations - jdbc drivers
# pooled and xa compliant
#=====================================================
#database configuration for Postgres
openxds.db.driver=org.postgresql.Driver
openxds.db.url=jdbc:postgresql://localhost:5432/openxds
openxds.db.username=openxds
openxds.db.password=openxds
openxds.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

#database configuration for mysql
#openxds.db.driver=com.mysql.jdbc.Driver
#openxds.db.url=jdbc:mysql://localhost:3306/openxds
#openxds.db.username=openxds
#openxds.db.password=openxds
#openxds.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect

#database configuration for Postgres
logs.db.driver=org.postgresql.Driver
logs.db.url=jdbc:postgresql://localhost:5432/logs
logs.db.username=logs
logs.db.password=logs
logs.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

#database configuration for mysql
#logs.db.driver=com.mysql.jdbc.Driver
#logs.db.url=jdbc:mysql://localhost:3306/logs
#logs.db.username=logs
#logs.db.password=logs
#logs.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect

#Syslog switch to dissable or enable
enableSysLog=false

#======================================================
# Configurations common to both Repository and Registry
#======================================================
# IHE actor configuration directory
#for IDE development
#ihe.actors.dir = ../core/src/main/resources/actors
#for war
ihe.actors.dir =/conf/actors

# Schema directory for schema validation
#for IDE development
#xds.schema.dir=../iheos/src/main/resources/schema
#for war
xds.schema.dir=/conf/schema

#=====================================================
# Repository specific configurations
#=====================================================
#The unique id of this repository
repository.uniqueId=1.3.6.1.4.1.21367.13.1150

#The base directory of file system repository. This
#property is not used if the repository is not the file
#system based.
#file.system.repository.base.dir=C:/OpenXDS/repository

#=====================================================
# Registry specific configurations
#=====================================================
#The document source ids (or id prefixes) recoginized by
#this registry. An un-recoginized document source will be
#refused when its documents are submitted to this registry
#The value delimiter can be , or : or ;
document.source.ids=1.3.6.1.4.1.21367.13; 1.3.6.1.4.1.21367.2010.1.2; 1.3.6.1.4.1.21367.2009.1.2

#If true, it will check whether the patient id exists in
#the registry before submitting meta data to the registry.
validate.patient.id=true

#If true, the metadata submitted to the registry will be
#validated.
validate.metadata=true

#The maximal number of documents that can be returned to a
#stored query
query.max.return=100

#=====================================================
# Gateway specific configurations
#=====================================================
#The home community id
home.community.id=urn:oid:1.3.6.1.4.1.21367.13.3050

#Default number of Initiating Gateway threads
ig.threads.number=5

#Time out waiting for responding gateway responses in
#milliseconds
ig.timeout=10000

0 comments on commit 503403f

Please sign in to comment.