Skip to main content
summaryrefslogtreecommitdiffstats
blob: f512ea58eb845003df6f300e4c7902d82e4dea89 (plain) (blame)
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
45
46
47
48
<DbConnection>

	<DatabaseInfo id="h2.db.info">
		<DatabaseHome key="#DBHOME#" value="~/h2/" />
		<DatabaseName key="#DBNAME#" value="osee.h2.db" />
		<DatabaseType key="#TYPE#" value="h2" />
		<Prefix key="#PREFIX#" value="jdbc:h2:tcp" />
		<UserName key="#USERNAME#" value="osee" />
		<Password key="#PASSWORD#" value="osee" />
		<Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
		<Port key="#PORT#" value="@AvailableDbServices.port" />
	</DatabaseInfo>

	<ConnectionDescription id="h2.db.connection">
		<Driver>org.h2.Driver</Driver>
		<Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#;IGNORECASE=TRUE;SCHEMA_SEARCH_PATH=OSEE,PUBLIC;MVCC=TRUE;LOG=2</Url>
	</ConnectionDescription>

	<DatabaseInfo id="postgresqlInfo">
		<DatabaseHome key="#DBHOME#" />
		<DatabaseName key="#DBNAME#" value="OSEE" />
		<DatabaseType key="#TYPE#" value="postgresql" />
		<Prefix key="#PREFIX#" value="jdbc:postgresql" />
		<UserName key="#USERNAME#" value="osee" />
		<Password key="#PASSWORD#" value="osee" />
		<Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
		<Port key="#PORT#" value="@AvailableDbServices.port" />
	</DatabaseInfo>

	<ConnectionDescription id="postgresql">
		<Driver>org.postgresql.Driver</Driver>
		<Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#</Url>
	</ConnectionDescription>

	<AvailableDbServices>

		<Server id="h2" dbInfo="h2.db.info" hostAddress="127.0.0.1"
			port="8088" connectsWith="h2.db.connection" />

		<Server id="osee.microdoc" dbInfo="postgresqlInfo" hostAddress="78.46.71.230"
			port="5432" connectsWith="postgresql" applicationServer="http://osee.microdoc.com:8089/" />

		<Server id="postgresqlLocalhost" dbInfo="postgresqlInfo"
			hostAddress="localhost" port="5432" connectsWith="postgresql"
			applicationServer="http://localhost:8089/" />

	</AvailableDbServices>
</DbConnection>

Back to the top