This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
standalone.diff
168 lines (167 loc) · 9.31 KB
/
standalone.diff
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
diff --git a/.openshift/config/standalone.xml b/.openshift/config/standalone.xml
index cce8c5e..6298364 100755
--- a/.openshift/config/standalone.xml
+++ b/.openshift/config/standalone.xml
@@ -32,6 +32,7 @@
<extension module="org.jboss.as.web" />
<extension module="org.jboss.as.webservices" />
<extension module="org.jboss.as.weld" />
+ <extension module="org.jboss.teiid"/>
</extensions>
<system-properties>
@@ -150,6 +151,14 @@
<xa-datasource-class>org.postgresql.xa.PGXADataSource
</xa-datasource-class>
</driver>
+ <driver name="teiid-local" module="org.jboss.teiid">
+ <driver-class>org.teiid.jdbc.TeiidDriver</driver-class>
+ <xa-datasource-class>org.teiid.jdbc.TeiidDataSource</xa-datasource-class>
+ </driver>
+ <driver name="teiid" module="org.jboss.teiid.client">
+ <driver-class>org.teiid.jdbc.TeiidDriver</driver-class>
+ <xa-datasource-class>org.teiid.jdbc.TeiidDataSource</xa-datasource-class>
+ </driver>
</drivers>
</datasources>
</subsystem>
@@ -270,6 +279,22 @@
<eviction strategy="NONE" />
</replicated-cache>
</cache-container>
+ <cache-container name="teiid" default-cache="resultset">
+ <local-cache name="resultset">
+ <transaction mode="NON_XA"/>
+ <expiration lifespan="7200000" />
+ <eviction max-entries="1024" strategy="LIRS"/>
+ </local-cache>
+ <local-cache name="resultset-repl">
+ <transaction mode="NON_XA"/>
+ <expiration lifespan="7200000" />
+ <eviction max-entries="1024" strategy="LIRS"/>
+ </local-cache>
+ <local-cache name="preparedplan">
+ <expiration lifespan="28800" />
+ <eviction max-entries="512" strategy="LIRS"/>
+ </local-cache>
+ </cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jacorb:1.2">
<orb>
@@ -435,7 +460,31 @@
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" />
</subsystem>
- <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0" />
+ <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
+ <resource-adapters>
+ <resource-adapter id="file">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.file"/>
+ </resource-adapter>
+ <resource-adapter id="google">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.google"/>
+ </resource-adapter>
+ <resource-adapter id="infinispan">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan"/>
+ </resource-adapter>
+ <resource-adapter id="ldap">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.ldap"/>
+ </resource-adapter>
+ <resource-adapter id="salesforce">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.salesforce"/>
+ </resource-adapter>
+ <resource-adapter id="webservice">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.webservice"/>
+ </resource-adapter>
+ <resource-adapter id="mongodb">
+ <module slot="main" id="org.jboss.teiid.resource-adapter.mongodb"/>
+ </resource-adapter>
+ </resource-adapters>
+ </subsystem>
<subsystem xmlns="urn:jboss:domain:sar:1.0" />
<subsystem xmlns="urn:jboss:domain:security:1.2">
<security-domains>
@@ -459,9 +508,74 @@
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
+ <security-domain name="teiid-security" cache-type="default">
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
+ <module-option name="usersProperties" value="${env.OPENSHIFT_DATA_DIR}TeiidConfig/teiid-security-users.properties"/>
+ <module-option name="rolesProperties" value="${env.OPENSHIFT_DATA_DIR}TeiidConfig/teiid-security-roles.properties"/>
+ </login-module>
+ </authentication>
+ </security-domain>
</security-domains>
</subsystem>
- <subsystem xmlns="urn:jboss:domain:threads:1.1" />
+ <subsystem xmlns="urn:jboss:domain:teiid:1.0">
+ <async-thread-pool>teiid-async</async-thread-pool>
+ <resultset-cache infinispan-container="teiid" name="resultset"/>
+ <preparedplan-cache infinispan-container="teiid" name="preparedplan"/>
+
+ <transport name="embedded"/>
+ <transport name="odata">
+ <authentication security-domain="teiid-security"/>
+ </transport>
+ <transport name="jdbc" protocol="teiid" socket-binding="teiid-jdbc">
+ <authentication security-domain="teiid-security"/>
+ </transport>
+ <transport name="odbc" protocol="pg" socket-binding="teiid-odbc">
+ <authentication security-domain="teiid-security"/>
+ </transport>
+ <policy-decider-module>org.jboss.teiid</policy-decider-module>
+ <translator name="jdbc-simple" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="jdbc-ansi" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="access" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="db2" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="derby" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="h2" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="hsql" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="informix" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="metamatrix" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="mysql" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="mysql5" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="oracle" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="postgresql" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="sqlserver" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="sybase" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="teiid" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="teradata" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="modeshape" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="ingres" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="ingres93" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="intersystems-cache" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="netezza" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="file" module="org.jboss.teiid.translator.file"/>
+ <translator name="ldap" module="org.jboss.teiid.translator.ldap"/>
+ <translator name="loopback" module="org.jboss.teiid.translator.loopback"/>
+ <translator name="olap" module="org.jboss.teiid.translator.olap"/>
+ <translator name="ws" module="org.jboss.teiid.translator.ws"/>
+ <translator name="salesforce" module="org.jboss.teiid.translator.salesforce"/>
+ <translator name="hive" module="org.jboss.teiid.translator.hive"/>
+ <translator name="jpa2" module="org.jboss.teiid.translator.jpa"/>
+ <translator name="infinispan-cache" module="org.jboss.teiid.translator.object"/>
+ <translator name="map-cache" module="org.jboss.teiid.translator.object"/>
+ <translator name="odata" module="org.jboss.teiid.translator.odata"/>
+ <translator name="mongodb" module="org.jboss.teiid.translator.mongodb"/>
+
+ </subsystem>
+ <subsystem xmlns="urn:jboss:domain:threads:1.1">
+ <bounded-queue-thread-pool name="teiid-async">
+ <max-threads count="4"/>
+ <queue-length count="100"/>
+ </bounded-queue-thread-pool>
+ </subsystem>
<subsystem xmlns="urn:jboss:domain:transactions:1.2">
<core-environment>
<process-id>
@@ -530,6 +644,8 @@
<socket-binding name="remoting" port="${env.OPENSHIFT_JBOSSEAP_REMOTING_PORT}" />
<socket-binding name="txn-recovery-environment" port="4712" />
<socket-binding name="txn-status-manager" port="4713" />
+ <socket-binding name="teiid-jdbc" port="31000"/>
+ <socket-binding name="teiid-odbc" port="35432"/>
<outbound-socket-binding name="mail-smtp">
<remote-destination host="localhost" port="25" />
</outbound-socket-binding>