forked from apache/ode
-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.rb.example
82 lines (73 loc) · 2.3 KB
/
settings.rb.example
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
MYSQL = "mysql:mysql-connector-java:jar:5.0.4",
SYBASE = "sybase:jconnect:jar:4.3",
DB2 = "db2:jcc:jar:9.5"
SQLSERVER2008 = "microsoft:sqljdbc:jar:2008"
REQUIRES = [MYSQL, SYBASE, DB2, SQLSERVER2008]
def settings
jpa_derby = {
:db=>"derby",
:dao=>"org.apache.ode.axis2.instancecleanup.JpaDaoConnectionFactoryImpl"
}
hib_derby = {
:db=>"derby",
:dao=>"org.apache.ode.axis2.instancecleanup.HibDaoConnectionFactoryImpl"
}
local_hib_mysql = {
:integr_branch=>"5.2.x",
:db=>"mysql",
:driver=>"com.mysql.jdbc.Driver",
:url=>"jdbc:mysql://localhost:3306/bpms?autoReconnect=true",
:userid=>"root",
:password=>"mysql",
:autocommit=>"on",
:dao=>"org.apache.ode.axis2.instancecleanup.HibDaoConnectionFactoryImpl"
}
local_jpa_mysql = {
:integr_branch=>"5.2.x",
:db=>"mysql",
:driver=>"com.mysql.jdbc.Driver",
:url=>"jdbc:mysql://localhost:3306/jpa?autoReconnect=true",
:userid=>"root",
:password=>"mysql",
:autocommit=>"on",
:dao=>"org.apache.ode.axis2.instancecleanup.JpaDaoConnectionFactoryImpl"
}
hib_db2_95 = {
:integr_branch=>"5.2.x",
:db=>"db2",
:driver=>"com.ibm.db2.jcc.DB2Driver",
:url=>"jdbc:db2://<host>:50000/<instance>",
:userid=>"<userid>",
:password=>"<password>",
:autocommit=>"on",
:dao=>"org.apache.ode.axis2.instancecleanup.HibDaoConnectionFactoryImpl"
}
hib_sybase_12 = {
:integr_branch=>"5.2.x",
:db=>"sybase",
:driver=>"com.sybase.jdbc3.jdbc.SybDriver",
:url=>"jdbc:sybase:Tds:<host>:6000/<instance>?SELECT_OPENS_CURSOR=true",
:userid=>"<userid>",
:password=>"<password>",
:autocommit=>"on",
:dao=>"org.apache.ode.axis2.instancecleanup.HibDaoConnectionFactoryImpl"
}
hib_sqlserver = {
:integr_branch=>"5.2.x",
:db=>"sqlserver",
:driver=>"com.microsoft.sqlserver.jdbc.SQLServerDriver",
:url=>"jdbc:sqlserver://<host>:1433;database=<instance>",
:userid=>"sa",
:password=>"sa",
:autocommit=>"on",
:dao=>"org.apache.ode.axis2.instancecleanup.HibDaoConnectionFactoryImpl"
}
{
"jpa-derby"=>jpa_derby,
"hib-derby"=>hib_derby
# "jpa-mysql"=>local_jpa_mysql,
# "hib-mysql"=>local_hib_mysql
# "hib-db2"=>pxetest_hib_db2_95,
# "hib-sybase"=>pxetest_hib_sybase_12
}
end