forked from teiid/openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
standalone.diff
107 lines (106 loc) · 5.86 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
diff --git a/.openshift/config/standalone.xml b/.openshift/config/standalone.xml
index 30d9d95..ba4af32 100644
--- 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>
<management>
@@ -129,6 +130,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>
@@ -249,6 +258,12 @@
<eviction strategy="NONE" />
</replicated-cache>
</cache-container>
+ <cache-container name="teiid" default-cache="resultset" module="org.jboss.as.jpa.hibernate:4">
+ <local-cache name="resultset">
+ <eviction strategy="LRU" max-entries="1024"/>
+ <expiration lifespan="7200000"/>
+ </local-cache>
+ </cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jacorb:1.2">
<orb>
@@ -450,9 +465,58 @@
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
+ <security-domain name="teiid-security" cache-type="default">
+ <authentication>
+ <login-module code="UsersRoles" flag="required">
+ <module-option name="usersProperties" value="teiid-security-users.properties"/>
+ <module-option name="rolesProperties" value="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"/>
+ <transport name="embedded"/>
+ <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="file" module="org.jboss.teiid.translator.file"/>
+ <translator name="h2" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="hive" module="org.jboss.teiid.translator.hive"/>
+ <translator name="hsql" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="informix" 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="jdbc-ansi" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="jdbc-simple" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="ldap" module="org.jboss.teiid.translator.ldap"/>
+ <translator name="loopback" module="org.jboss.teiid.translator.loopback"/>
+ <translator name="metamatrix" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="modeshape" 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="netezza" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="olap" module="org.jboss.teiid.translator.olap"/>
+ <translator name="oracle" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="postgresql" module="org.jboss.teiid.translator.jdbc"/>
+ <translator name="salesforce" module="org.jboss.teiid.translator.salesforce"/>
+ <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="ws" module="org.jboss.teiid.translator.ws"/>
+ </subsystem>
+ <subsystem xmlns="urn:jboss:domain:threads:1.1">
+ <bounded-queue-thread-pool name="teiid-async">
+ <queue-length count="100"/>
+ <max-threads count="4"/>
+ </bounded-queue-thread-pool>
+ </subsystem>
<subsystem xmlns="urn:jboss:domain:transactions:1.2">
<core-environment>
<process-id>
@@ -528,4 +592,4 @@
<remote-destination host="localhost" port="25" />
</outbound-socket-binding>
</socket-binding-group>
-</server>
\ No newline at end of file
+</server>