-
Notifications
You must be signed in to change notification settings - Fork 229
/
ra.xml
116 lines (96 loc) · 6.11 KB
/
ra.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<vendor-name>Red Hat Middleware LLC</vendor-name>
<eis-type>Teiid Sales Force Connector</eis-type>
<resourceadapter-version>1.0</resourceadapter-version>
<license>
<description>
Copyright Red Hat, Inc. and/or its affiliates
and other contributors as indicated by the @author tags and
the COPYRIGHT.txt file distributed with this work.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</description>
<license-required>true</license-required>
</license>
<resourceadapter>
<resourceadapter-class>org.teiid.resource.adapter.salesforce.SalesforceResourceAdapter</resourceadapter-class>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory</managedconnectionfactory-class>
<config-property>
<description>{$display:"User Name",$description:"Name value for Salesforce authentication",$required:"true"}</description>
<config-property-name>username</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Password",$description:"Password value for Salesforce authentication",$required:"true",$masked:"true"}</description>
<config-property-name>password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Salesforce URL",$description:"URL for connecting to Salesforce",$advanced:"true"}</description>
<config-property-name>URL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>https://www.salesforce.com/services/Soap/u/22.0</config-property-value>
</config-property>
<config-property>
<description>{$display:"Proxy User Name",$description:"Name value for proxy authentication",$advanced:"true"}</description>
<config-property-name>proxyUsername</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Proxy Password",$description:"Password value for proxy authentication",$masked:"true"}</description>
<config-property-name>password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Proxy URL",$description:"URL for connecting to the proxy",$advanced:"true"}</description>
<config-property-name>proxyURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Config Properties",$description:"Additional Properties for the Salesforce ConnectorConfig",$advanced:"true"}</description>
<config-property-name>configProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<description>{$display:"Request Timeout",$description:"Timeout for request"}</description>
<config-property-name>RequestTimeout</config-property-name>
<config-property-type>java.lang.Long</config-property-type>
</config-property>
<config-property>
<description>{$display:"Connect Timeout",$description:"Timeout for connection"}</description>
<config-property-name>ConnectTimeout</config-property-name>
<config-property-type>java.lang.Long</config-property-type>
</config-property>
<config-property>
<description>{$display:"CXF Configuration File",$description:"CXF client configuration File or URL"}</description>
<config-property-name>ConfigFile</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>org.teiid.resource.spi.WrappedConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>org.teiid.resource.spi.WrappedConnection</connection-impl-class>
</connection-definition>
<transaction-support>NoTransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
</connector>